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.
constfactory
- BacnetRange.byPosition(int index, int count)
-
countitems from positionindex(1 based).constfactory - BacnetRange.bySequenceNumber(int sequenceNumber, int count)
-
countrecords from sequence numbersequenceNumber(log buffers).constfactory - BacnetRange.byTime(DateTime time, int count)
-
countrecords from the first one logged at or aftertime(log buffers; beforetimewhencountis negative).constfactory
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