GeneratorDetails constructor

const GeneratorDetails({
  1. DateTime? cellularExpiryDate,
  2. DateTime? cellularInstallationDate,
  3. CellularDataStatus? cellularDataStatus,
  4. required Device device,
  5. required PowerSource powerSource,
  6. required SwitchState? switchState,
  7. CoolingType? coolingType,
  8. ConnectionType? connectionType,
  9. bool? hasServiceAgreement,
  10. DateTime? serviceAgreementBeginDate,
  11. ServiceAgreementTerm? serviceAgreementTerm,
  12. int? serviceAgreementTermMonths,
  13. int? serviceAgreementTermDays,
  14. String? serverIpAddress,
  15. DateTime? lastExerciseStartDate,
  16. DateTime? lastExerciseEndDate,
  17. DateTime? nextExerciseDate,
  18. ExerciseFrequency? exerciseFrequency,
  19. ExerciseMode? exerciseMode,
  20. Duration? exerciseDuration,
  21. ExerciseMode? runningExerciseMode,
  22. bool? supportsNextExerciseDateTimeParam,
  23. DateTime? lastRanDate,
  24. Duration? totalRuntime,
  25. Duration? totalOperationTime,
  26. DateTime? nextMaintenanceDate,
  27. String? addedBy,
  28. List<String> associatedUsers = const [],
  29. String? modelNumber,
  30. String? product,
  31. String? latestFirmware,
  32. String? currentFirmware,
  33. DateTime? controllerClockTime,
  34. String? controllerType,
  35. FuelType? fuelType,
  36. double? batteryVoltageV,
  37. double? engineCoolantTempF,
  38. double? engineFrequencyHz,
  39. double? engineSpeedRevPerMin,
  40. double? lubeOilTempF,
  41. double? controllerTempF,
  42. double? engineCompartmentTempF,
  43. double? engineOilPressurePsi,
  44. bool? engineOilPressureOk,
  45. double? generatorLoadW,
  46. double? generatorLoadPercent,
  47. double? generatorVoltageAvgV,
  48. double? setOutputVoltageV,
  49. double? utilityVoltageV,
  50. String? engineState,
  51. LoadShed? loadShed,
  52. PIM? pim,
})

Implementation

const GeneratorDetails({
  this.cellularExpiryDate,
  this.cellularInstallationDate,
  this.cellularDataStatus,
  required this.device,
  required this.powerSource,
  required this.switchState,
  this.coolingType,
  this.connectionType,
  this.hasServiceAgreement,
  this.serviceAgreementBeginDate,
  this.serviceAgreementTerm,
  this.serviceAgreementTermMonths,
  this.serviceAgreementTermDays,
  this.serverIpAddress,
  this.lastExerciseStartDate,
  this.lastExerciseEndDate,
  this.nextExerciseDate,
  this.exerciseFrequency,
  this.exerciseMode,
  this.exerciseDuration,
  this.runningExerciseMode,
  this.supportsNextExerciseDateTimeParam,
  this.lastRanDate,
  this.totalRuntime,
  this.totalOperationTime,
  this.nextMaintenanceDate,
  this.addedBy,
  this.associatedUsers = const [],
  this.modelNumber,
  this.product,
  this.latestFirmware,
  this.currentFirmware,
  this.controllerClockTime,
  this.controllerType,
  this.fuelType,
  this.batteryVoltageV,
  this.engineCoolantTempF,
  this.engineFrequencyHz,
  this.engineSpeedRevPerMin,
  this.lubeOilTempF,
  this.controllerTempF,
  this.engineCompartmentTempF,
  this.engineOilPressurePsi,
  this.engineOilPressureOk,
  this.generatorLoadW,
  this.generatorLoadPercent,
  this.generatorVoltageAvgV,
  this.setOutputVoltageV,
  this.utilityVoltageV,
  this.engineState,
  this.loadShed,
  this.pim,
});