pub enum NotificationParameters {
Show 20 variants
ChangeOfBitstring {
referenced_bitstring: (u8, Vec<u8>),
status_flags: StatusFlags,
},
ChangeOfState {
new_state: BACnetPropertyStates,
status_flags: StatusFlags,
},
ChangeOfValue {
new_value: ChangeOfValueChoice,
status_flags: StatusFlags,
},
CommandFailure {
command_value: Vec<u8>,
status_flags: StatusFlags,
feedback_value: Vec<u8>,
},
FloatingLimit {
reference_value: f32,
status_flags: StatusFlags,
setpoint_value: f32,
error_limit: f32,
},
OutOfRange {
exceeding_value: f32,
status_flags: StatusFlags,
deadband: f32,
exceeded_limit: f32,
},
ComplexEventType {
property_values: Vec<BACnetPropertyValue>,
},
ChangeOfLifeSafety {
new_state: LifeSafetyState,
new_mode: LifeSafetyMode,
status_flags: StatusFlags,
operation_expected: LifeSafetyOperation,
},
Extended {
vendor_id: u16,
extended_event_type: u32,
parameters: Vec<u8>,
},
BufferReady {
buffer_property: BACnetDeviceObjectPropertyReference,
previous_notification: u32,
current_notification: u32,
},
UnsignedRange {
exceeding_value: u64,
status_flags: StatusFlags,
exceeded_limit: u64,
},
AccessEvent {
access_event: AccessEvent,
status_flags: StatusFlags,
access_event_tag: u32,
access_event_time: (Date, Time),
access_credential: BACnetDeviceObjectReference,
authentication_factor: Option<Vec<u8>>,
},
DoubleOutOfRange {
exceeding_value: f64,
status_flags: StatusFlags,
deadband: f64,
exceeded_limit: f64,
},
SignedOutOfRange {
exceeding_value: i32,
status_flags: StatusFlags,
deadband: u64,
exceeded_limit: i32,
},
UnsignedOutOfRange {
exceeding_value: u64,
status_flags: StatusFlags,
deadband: u64,
exceeded_limit: u64,
},
ChangeOfCharacterstring {
changed_value: String,
status_flags: StatusFlags,
alarm_value: String,
},
ChangeOfStatusFlags {
present_value: Option<Vec<u8>>,
referenced_flags: StatusFlags,
},
ChangeOfReliability {
reliability: Reliability,
status_flags: StatusFlags,
property_values: Vec<u8>,
},
ChangeOfDiscreteValue {
new_value: Vec<u8>,
status_flags: StatusFlags,
},
ChangeOfTimer {
new_state: TimerState,
status_flags: StatusFlags,
update_time: (Date, Time),
last_state_change: Option<TimerTransition>,
initial_timeout: Option<u32>,
expiration_time: Option<(Date, Time)>,
},
}Expand description
Notification parameter variants for eventValues.
Variants§
ChangeOfBitstring
[0] Change of bitstring.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
ChangeOfState
[1] Change of state.
Fields
new_state: BACnetPropertyStatesNew BACnetPropertyStates value that triggered the notification.
status_flags: StatusFlagsStatus flags of the monitored object.
ChangeOfValue
[2] Change of value.
Fields
new_value: ChangeOfValueChoiceNew value (changed bits or a REAL) that triggered the notification.
status_flags: StatusFlagsStatus flags of the monitored object.
CommandFailure
[3] Command failure. Value byte vectors contain encoded BACnet TLVs.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
FloatingLimit
[4] Floating limit.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
OutOfRange
[5] Out of range.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
ComplexEventType
[6] Complex event type.
Fields
property_values: Vec<BACnetPropertyValue>Reported property values; each holds encoded BACnet bytes and an optional priority.
ChangeOfLifeSafety
[8] Change of life safety.
Fields
new_state: LifeSafetyStateLife safety state the object entered.
new_mode: LifeSafetyModeLife safety mode in effect.
status_flags: StatusFlagsStatus flags of the monitored object.
operation_expected: LifeSafetyOperationOperation the object expects from an operator.
Extended
[9] Extended (vendor-defined). parameters contains encoded BACnet TLVs.
Fields
BufferReady
[10] Buffer ready.
Fields
buffer_property: BACnetDeviceObjectPropertyReferenceReference to the log buffer property that has records ready.
UnsignedRange
[11] Unsigned range.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
AccessEvent
[13] Access event. Authentication-factor bytes contain its three inner context fields.
Fields
access_event: AccessEventAccess event describing what happened.
status_flags: StatusFlagsStatus flags of the monitored object.
access_event_time: (Date, Time)Time of the access event; a BACnetTimeStamp on the wire, of which only the date-time choice is accepted.
access_credential: BACnetDeviceObjectReferenceCredential object (with optional device) that was presented.
DoubleOutOfRange
[14] Double out of range.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
SignedOutOfRange
[15] Signed out of range.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
UnsignedOutOfRange
[16] Unsigned out of range.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
ChangeOfCharacterstring
[17] Change of characterstring.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
ChangeOfStatusFlags
[18] Change of status flags. present_value preserves absent and present-empty context [0].
Fields
present_value: Option<Vec<u8>>Present value as encoded BACnet bytes; None when the field is absent.
referenced_flags: StatusFlagsStatus flags of the referenced object.
ChangeOfReliability
[19] Change of reliability. property_values contains encoded BACnet TLVs.
Fields
reliability: ReliabilityReliability value that triggered the notification.
status_flags: StatusFlagsStatus flags of the monitored object.
ChangeOfDiscreteValue
[21] Change of discrete value. new_value contains encoded BACnet TLVs.
Fields
status_flags: StatusFlagsStatus flags of the monitored object.
ChangeOfTimer
[22] Change of timer.
Fields
new_state: TimerStateState the timer entered.
status_flags: StatusFlagsStatus flags of the monitored object.
last_state_change: Option<TimerTransition>Transition of the last state change; None when absent.