FakeBacnetObject class final

An object of a FakeBacnetDevice.

Properties

commandable → bool
Whether the present value is commanded through a priority array.
final
device → FakeBacnetDevice
The device hosting the object.
final
eventState → BacnetEventState
Current event state.
no setter
fileContent ↔ Uint8List
Content of a File object (FakeBacnetDevice.addFile).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
identifier → BacnetObject
The object identifier.
no setter
instance → int
Object instance.
final
properties → Map<BacnetPropertyId, BacnetValue>
Property values.
final
records → List<TrendLogEntry>
Trend Log records returned by FakeBacnetClient.getTrendLog.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → BacnetObjectType
Object type.
final

Methods

enableEventReporting({required int notificationClass, BacnetNotifyType notifyType = BacnetNotifyType.alarm, BacnetEventTransitionBits eventEnable = _allTransitions}) → void
Enables event reporting: transitions reported with reportEvent go to the recipients of Notification Class notificationClass (add it with FakeBacnetDevice.addNotificationClass).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportEvent(BacnetEventState toState, {BacnetEventValues? eventValues, BacnetEventType? eventType, String? messageText, DateTime? time}) → EventNotificationEvent
Reports that the object entered toState, like an event algorithm of the device: updates Event_State, Event_Time_Stamps and Acked_Transitions, and sends an EventNotificationEvent to every recipient of the Notification Class that wants the transition. Returns the notification (with process identifier 0).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](BacnetPropertyId property) → BacnetValue?
Value of property, or null.
operator []=(BacnetPropertyId property, BacnetValue value) → void
Sets property like a change in the field (not a client write) and notifies COV subscribers.