GeneratorStatus constructor

GeneratorStatus({
  1. required MavGeneratorStatusFlag status,
  2. required float batteryCurrent,
  3. required float loadCurrent,
  4. required float powerGenerated,
  5. required float busVoltage,
  6. required float batCurrentSetpoint,
  7. required uint32_t runtime,
  8. required int32_t timeUntilMaintenance,
  9. required uint16_t generatorSpeed,
  10. required int16_t rectifierTemperature,
  11. required int16_t generatorTemperature,
})

Implementation

GeneratorStatus({
  required this.status,
  required this.batteryCurrent,
  required this.loadCurrent,
  required this.powerGenerated,
  required this.busVoltage,
  required this.batCurrentSetpoint,
  required this.runtime,
  required this.timeUntilMaintenance,
  required this.generatorSpeed,
  required this.rectifierTemperature,
  required this.generatorTemperature,
});