8.5.2 ObjectType Description

8.5.2.1 Variable Last_Restart_Reason

This OPC UA Property, of DataType BACnetRestartReason, represents the BACnet property Last_Restart_Reason. The BACnetRestartReason DataType is defined in 10.4.29.

The Last_Restart_Reason value indicates the reason for the last device restart. Some possible values for this variable are UNKNOWN, COLDSTART, WARMSTART, DETECTED_POWER_LOST, DETECTED_POWER_OFF, HARDWARE_WATCHDOG, SOFTWARE_WATCHDOG, and SUSPENDED.

8.5.2.2 Variable Time_Of_Device_Restart

This OPC UA Property, of DataType BACnetTimeStamp, represents the BACnet property Time_Of_Device_Restart. The BACnetTimeStamp DataType is defined in 10.6.11.

The Time_Of_Device_Restart value represents the time at which the device was last restarted.

8.5.2.3 Variable Restart_Notification_Recipients

This OPC UA Property, of DataType BACnetRecipient [], represents the BACnet property Restart_Notification_Recipients. The BACnetRecipient DataType is defined in 10.6.9.

The Restart_Notification_Recipients variable value is a collection of recipients that shall be notified when the device is restarted. The default value is the network broadcast address. If the collection size is zero, no restart notifications shall be sent.

8.5.2.4 Method AddRestartRecipients

This Method adds entries to the BACnet property Restart_Notification_Recipients.

Signature

	AddRestartRecipients (
		[in]	BACnetRecipient []		RestartNotificationRecipients
		[out]	0:UInt32				FirstFailedElementNumber
		);
	
Argument Description
RestartNotificationRecipientsArray of time restart notification recipients. The recipients are added to the BACnet property Restart_Notification_Recipients. The BACnetRecipient DataType is defined in 10.6.9.
FirstFailedElementNumberThe numerical position, starting at 1, of the failed element in the RestartNotificationRecipients. If the call succeeds or fails for other reasons, the returned value shall be 0.

Method Result Codes

ResultCode Description
BadNodeIdUnknownThis status is returned for the BACnet error codes UNKNOWN_OBJECT and UNKNOWN_PROPERTY
BadTypeMismatchThis status is returned for the BACnet error codes INVALID_DATATYPE and DATATYPE_NOT_SUPPORTED
BadOutOfRangeThis status is returned for the BACnet error code VALUE_OUT_OF_RANGE
BadNotWritableThis status is returned for the BACnet error code WRITE_ACCESS_DENIED
BadOutOfMemoryThis status is returned for the BACnet error code NO_SPACE_TO_ADD_LIST_ELEMENT
8.5.2.5 Method RemoveRestartRecipients

This Method removes entries from the BACnet property Restart_Notification_Recipients.

Signature

	RemoveRestartRecipients (
		[in]	BACnetRecipient []		RestartNotificationRecipients
		[out]	0:UInt32				FirstFailedElementNumber
		);
	
Argument Description
RestartNotificationRecipientsArray of restart notifctation recipients. The recipients are removed from the BACnet property Restart_Notification_Recipients. The BACnetRecipient DataType is defined in 10.6.9.
FirstFailedElementNumberThe numerical position, starting at 1, of the failed element in the RestartNotificationRecipients. If the call succeeds or fails for other reasons, the returned value shall be 0.

Method Result Codes

ResultCode Description
BadNodeIdUnknownThis status is returned for the BACnet error codes UNKNOWN_OBJECT and UNKNOWN_PROPERTY
BadTypeMismatchThis status is returned for the BACnet error codes INVALID_DATATYPE
BadOutOfRangeThis status is returned for the BACnet error code VALUE_OUT_OF_RANGE
BadNotWritableThis status is returned for the BACnet error code WRITE_ACCESS_DENIED
BadNotFoundThis status is returned for the BACnet error code LIST_ELEMENT_NOT_FOUND