EventNotificationEvent class

An alarm or event notification: an object changed its event state, or a transition was acknowledged (isAckNotification).

Devices send notifications to the recipients of the Notification Class of the object (see BacnetClient.addListElements and BacnetProperties.recipientList). Alarms with ackRequired wait for BacnetClient.acknowledgeEvent.

Inheritance

Constructors

EventNotificationEvent({required int processId, required int deviceId, required BacnetObject object, required BacnetTimeStamp timeStamp, required int notificationClass, required int priority, required BacnetEventType eventType, required BacnetNotifyType notifyType, required BacnetEventState toState, String? messageText, bool ackRequired = false, BacnetEventState? fromState, BacnetEventValues? eventValues, bool confirmed = false, List<int> mac = const [], int net = 0})
Creates an event notification.
const

Properties

ackRequired → bool
True when the transition must be acknowledged.
final
confirmed → bool
True for a ConfirmedEventNotification (already acknowledged at the protocol level, which does not acknowledge the alarm).
final
deviceId → int
Device that sent the notification.
final
eventType → BacnetEventType
Event algorithm that detected the transition.
final
eventValues → BacnetEventValues?
The values the event algorithm reports (null for acknowledgement notifications).
final
fromState → BacnetEventState?
The previous event state (null for acknowledgement notifications).
final
hashCode → int
The hash code for this object.
no setterinherited
isAckNotification → bool
True for the notification that a transition was acknowledged.
no setter
mac → List<int>
Source MAC address.
final
messageText → String?
Optional text describing the event.
final
net → int
Source network number.
final
notificationClass → int
Notification Class of the object.
final
notifyType → BacnetNotifyType
Alarm, event or acknowledgement notification.
final
object → BacnetObject
The object whose event state changed.
final
priority → int
Priority of the transition (0 highest .. 255 lowest).
final
processId → int
Process identifier of the recipient (from its BACnetDestination).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeStamp → BacnetTimeStamp
When the transition happened.
final
toState → BacnetEventState
The new event state (the acknowledged state for acknowledgement notifications).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited