ModbusElementRequest class abstract

A request for a modbus element.

Inheritance
Implementers

Constructors

ModbusElementRequest({int? unitId, Duration? responseTimeout, ModbusEndianness endianness = ModbusEndianness.ABCD})

Properties

endianness ModbusEndianness
getter/setter pairinherited
functionCode FunctionCode
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
protocolDataUnit Uint8List
no setterinherited
responseCode Future<ModbusResponseCode>
no setterinherited
responsePduLength int
no setterinherited
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
internalSetFromPduResponse(Uint8List pdu) ModbusResponseCode
override
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