BacnetRange class sealed

The items of a list property to read with ReadRange (the Range choice of ASHRAE 135 clause 15.8.1.1.4).

A negative count reads backwards from the reference item.

// the newest 50 records of a log buffer with 1000 records
await client.readRange(1234, BacnetObjectType.trendLog, 1,
    BacnetPropertyId.logBuffer,
    range: const BacnetRange.byPosition(1000, -50));
Implementers
Annotations
  • @immutable

Constructors

BacnetRange.all()
The whole list.
const
factory
BacnetRange.byPosition(int index, int count)
count items from position index (1 based).
const
factory
BacnetRange.bySequenceNumber(int sequenceNumber, int count)
count records from sequence number sequenceNumber (log buffers).
const
factory
BacnetRange.byTime(DateTime time, int count)
count records from the first one logged at or after time (log buffers; before time when count is negative).
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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