ModbusReadGroupRequest class
A read request of an elements group.
- Inheritance
-
- Object
- ModbusRequest
- ModbusElementRequest
- ModbusReadGroupRequest
Constructors
- ModbusReadGroupRequest(ModbusElementsGroup elementGroup, Uint8List protocolDataUnit, FunctionCode functionCode, {int? unitId, Duration? responseTimeout, ModbusEndianness endianness = ModbusEndianness.ABCD})
Properties
- elementGroup → ModbusElementsGroup
-
final
- endianness ↔ ModbusEndianness
-
getter/setter pairinherited
- functionCode → FunctionCode
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocolDataUnit → Uint8List
-
final
-
responseCode
→ Future<
ModbusResponseCode> -
no setterinherited
- responsePduLength → int
-
no setteroverride
- responseTimeout → Duration?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitId → int?
-
finalinherited
Methods
-
internalSetElementData(
Uint8List data) → void -
Sets the response result ot from the PDU data
override
-
internalSetFromPduResponse(
Uint8List pdu) → ModbusResponseCode -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
inherited
-
setFromPduResponse(
Uint8List pdu) → void -
inherited
-
setResponseCode(
ModbusResponseCode code) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited