ModbusElementType class

The Modbus element types.

Constructors

ModbusElementType(FunctionCode readFunction, [FunctionCode? writeSingleFunction, FunctionCode? writeMultipleFunction])
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isBit bool
True if the element type represents a bit type
no setter
isRegister bool
True if the element type represents a registry type
no setter
readFunction FunctionCode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeMultipleFunction FunctionCode?
final
writeSingleFunction FunctionCode?
final

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

Constants

coil → const ModbusElementType
Single bit Read-Write
discreteInput → const ModbusElementType
Single bit Read-Only
holdingRegister → const ModbusElementType
16-bit word Read-Write
inputRegister → const ModbusElementType
16-bit word Read-Only