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.

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.

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.

This Method adds entries to the BACnet property Restart_Notification_Recipients.

Signature

AddRestartRecipients (

[in]BACnetRecipient [] RestartNotificationRecipients

[out]0:UInt32 FirstFailedElementNumber

);

Argument

Description

RestartNotificationRecipients

Array 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.

FirstFailedElementNumber

The 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

BadNodeIdUnknown

This status is returned for the BACnet error codes UNKNOWN_OBJECT and UNKNOWN_PROPERTY

BadTypeMismatch

This status is returned for the BACnet error codes INVALID_DATATYPE and DATATYPE_NOT_SUPPORTED

BadOutOfRange

This status is returned for the BACnet error code VALUE_OUT_OF_RANGE

BadNotWritable

This status is returned for the BACnet error code WRITE_ACCESS_DENIED

BadOutOfMemory

This status is returned for the BACnet error code NO_SPACE_TO_ADD_LIST_ELEMENT

This Method removes entries from the BACnet property Restart_Notification_Recipients.

Signature

RemoveRestartRecipients (

[in]BACnetRecipient [] RestartNotificationRecipients

[out]0:UInt32 FirstFailedElementNumber

);

Argument

Description

RestartNotificationRecipients

Array of restart notifctation recipients. The recipients are removed from the BACnet property Restart_Notification_Recipients. The BACnetRecipient DataType is defined in 10.6.9.

FirstFailedElementNumber

The 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

BadNodeIdUnknown

This status is returned for the BACnet error codes UNKNOWN_OBJECT and UNKNOWN_PROPERTY

BadTypeMismatch

This status is returned for the BACnet error codes INVALID_DATATYPE

BadOutOfRange

This status is returned for the BACnet error code VALUE_OUT_OF_RANGE

BadNotWritable

This status is returned for the BACnet error code WRITE_ACCESS_DENIED

BadNotFound

This status is returned for the BACnet error code LIST_ELEMENT_NOT_FOUND