ModbusUint16Register constructor

ModbusUint16Register({
  1. required String name,
  2. required int address,
  3. required ModbusElementType type,
  4. String description = "",
  5. dynamic onUpdate(
    1. ModbusElement self
    )?,
  6. String uom = "",
  7. double multiplier = 1,
  8. double offset = 0,
  9. int viewDecimalPlaces = 2,
  10. 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);