BacnetDestination class final
A recipient of the notifications of a Notification Class (BACnetDestination), an entry of its Recipient_List.
// receive the alarms of notification class 1 of device 1234
await client.addListElements(
1234,
const BacnetObject(type: BacnetObjectType.notificationClass, instance: 1),
BacnetProperties.recipientList,
[BacnetDestination(recipient: BacnetRecipient.ip('192.168.1.10', 47808))],
);
- Annotations
-
- @immutable
Constructors
- BacnetDestination({required BacnetRecipient recipient, BacnetDaysOfWeek? validDays, BacnetTime fromTime = const BacnetTime(hour: 0, minute: 0, second: 0, hundredths: 0), BacnetTime toTime = const BacnetTime(hour: 23, minute: 59, second: 59, hundredths: 99), int processId = 0, bool issueConfirmedNotifications = false, BacnetEventTransitionBits transitions = const BacnetEventTransitionBits(toOffNormal: true, toFault: true, toNormal: true)})
- Creates a destination that receives all transitions at any time.
Properties
- fromTime → BacnetTime
-
Start of the daily window notifications are sent in.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- issueConfirmedNotifications → bool
-
True to send ConfirmedEventNotifications, false for unconfirmed ones.
final
- processId → int
-
Process identifier the notifications carry.
final
- recipient → BacnetRecipient
-
The recipient.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toTime → BacnetTime
-
End of the daily window notifications are sent in.
final
- transitions → BacnetEventTransitionBits
-
The transitions the recipient is notified about.
final
- validDays → BacnetDaysOfWeek
-
The days notifications are sent.
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
-
toValue(
) → BacnetValue - The value to write (one element of a Recipient_List).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
listFromValue(
BacnetValue value) → List< BacnetDestination> - Interprets a Recipient_List. Throws a BacnetDecodeException if it is malformed.
-
listToValue(
List< BacnetDestination> destinations) → BacnetValue - Builds the value of a Recipient_List.