BatteryInfo constructor

BatteryInfo({
  1. required float dischargeMinimumVoltage,
  2. required float chargingMinimumVoltage,
  3. required float restingMinimumVoltage,
  4. required float chargingMaximumVoltage,
  5. required float chargingMaximumCurrent,
  6. required float nominalVoltage,
  7. required float dischargeMaximumCurrent,
  8. required float dischargeMaximumBurstCurrent,
  9. required float designCapacity,
  10. required float fullChargeCapacity,
  11. required uint16_t cycleCount,
  12. required uint16_t weight,
  13. required uint8_t id,
  14. required MavBatteryFunction batteryFunction,
  15. required MavBatteryType type,
  16. required uint8_t stateOfHealth,
  17. required uint8_t cellsInSeries,
  18. required List<char> manufactureDate,
  19. required List<char> serialNumber,
  20. required List<char> name,
})

Implementation

BatteryInfo({
  required this.dischargeMinimumVoltage,
  required this.chargingMinimumVoltage,
  required this.restingMinimumVoltage,
  required this.chargingMaximumVoltage,
  required this.chargingMaximumCurrent,
  required this.nominalVoltage,
  required this.dischargeMaximumCurrent,
  required this.dischargeMaximumBurstCurrent,
  required this.designCapacity,
  required this.fullChargeCapacity,
  required this.cycleCount,
  required this.weight,
  required this.id,
  required this.batteryFunction,
  required this.type,
  required this.stateOfHealth,
  required this.cellsInSeries,
  required this.manufactureDate,
  required this.serialNumber,
  required this.name,
});