pub struct EventNotificationRequest {Show 13 fields
pub process_identifier: u32,
pub initiating_device_identifier: ObjectIdentifier,
pub event_object_identifier: ObjectIdentifier,
pub timestamp: BACnetTimeStamp,
pub notification_class: u32,
pub priority: u8,
pub event_type: EventType,
pub message_text: Option<String>,
pub notify_type: NotifyType,
pub ack_required: bool,
pub from_state: EventState,
pub to_state: EventState,
pub event_values: Option<NotificationParameters>,
}Expand description
ConfirmedEventNotification / UnconfirmedEventNotification request parameters.
The same members, from the process identifier through the event values, make up the notification an Event Log record holds.
Fields§
§process_identifier: u32Process identifier of the notification recipient.
initiating_device_identifier: ObjectIdentifierDevice that generated the event.
event_object_identifier: ObjectIdentifierObject that triggered the event.
timestamp: BACnetTimeStampTimestamp of the event transition.
notification_class: u32Notification class for routing.
priority: u8Priority (0-255).
event_type: EventTypeEvent algorithm that produced the notification.
message_text: Option<String>Optional message text ([7]).
notify_type: NotifyTypeWhether this is an alarm, an event, or an acknowledgment notification.
ack_required: boolWhether the recipient must acknowledge.
from_state: EventStateEvent state before this transition. Not encoded for ACK_NOTIFICATION; decode sets NORMAL when the field is absent.
to_state: EventStateEvent state after this transition.
event_values: Option<NotificationParameters>Optional event values (tag [12]).