ModbusUint16Register constructor
ModbusUint16Register({
- required String name,
- required int address,
- required ModbusElementType type,
- String description = "",
- dynamic onUpdate(
- ModbusElement self
- String uom = "",
- double multiplier = 1,
- double offset = 0,
- int viewDecimalPlaces = 2,
- ModbusEndianness endianness = ModbusEndianness.ABCD,
Implementation
ModbusUint16Register(
{required super.name,
required super.address,
required super.type,
super.description,
super.onUpdate,
super.uom,
super.multiplier,
super.offset,
super.viewDecimalPlaces,
super.endianness})
: super(byteCount: 2);