ModbusBitMask class
A Modbus bit mask type used by ModbusBitMaskRegister. If the specified register bit number (0 based index) is 1 then isActive is set to true and the bit mask value returns the activeValue else the inactiveValue.
Constructors
- ModbusBitMask(int bit, dynamic activeValue, [dynamic inactiveValue])
Properties
- activeValue → dynamic
-
final
- bit → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveValue → dynamic
-
final
- isActive ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
no setter
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