SensBatmon constructor

SensBatmon({
  1. required uint64_t batmonTimestamp,
  2. required float temperature,
  3. required uint32_t safetystatus,
  4. required uint32_t operationstatus,
  5. required uint16_t voltage,
  6. required int16_t current,
  7. required uint16_t batterystatus,
  8. required uint16_t serialnumber,
  9. required uint16_t cellvoltage1,
  10. required uint16_t cellvoltage2,
  11. required uint16_t cellvoltage3,
  12. required uint16_t cellvoltage4,
  13. required uint16_t cellvoltage5,
  14. required uint16_t cellvoltage6,
  15. required uint8_t soc,
})

Implementation

SensBatmon({
  required this.batmonTimestamp,
  required this.temperature,
  required this.safetystatus,
  required this.operationstatus,
  required this.voltage,
  required this.current,
  required this.batterystatus,
  required this.serialnumber,
  required this.cellvoltage1,
  required this.cellvoltage2,
  required this.cellvoltage3,
  required this.cellvoltage4,
  required this.cellvoltage5,
  required this.cellvoltage6,
  required this.soc,
});