DeviceDetailsDTO constructor

const DeviceDetailsDTO({
  1. DeviceDTO? device,
  2. PowerSourceDTO? powerSource,
  3. SwitchStateDTO? switchState,
  4. CoolingTypeDTO? coolingType,
  5. ConnectionTypeDTO? connectionType,
  6. String? serverIpAddress,
  7. ServiceAgreementDTO? serviceAgreement,
  8. ExerciseInfoDTO? exercise,
  9. DateTime? lastRanTimestamp,
  10. double? totalRuntimeHours,
  11. double? totalOperationHours,
  12. double? runtimeSinceLastMaintenanceHours,
  13. int? remoteResetCounterSeconds,
  14. String? addedBy,
  15. List<String>? associatedUsers,
  16. DateTime? controllerClockTimestamp,
  17. FuelTypeDTO? fuelType,
  18. double? batteryVoltageV,
  19. double? engineCoolantTempF,
  20. double? engineFrequencyHz,
  21. double? engineSpeedRpm,
  22. double? lubeOilTempF,
  23. double? controllerTempF,
  24. double? engineCompartmentTempF,
  25. double? engineOilPressurePsi,
  26. bool? engineOilPressureOk,
  27. double? generatorLoadW,
  28. double? generatorLoadPercent,
  29. double? generatorVoltageAvgV,
  30. double? setOutputVoltageV,
  31. double? utilityVoltageV,
  32. GensetStateDTO? engineState,
  33. String? engineStateDisplayNameEn,
  34. PeripheralDTO? loadShed,
  35. PeripheralDTO? pim,
  36. DateTime? cellularExpiryDate,
  37. DateTime? cellularInstallationDate,
  38. double? cellularDataPercentage,
  39. CellularDataStatusDTO? cellularDataStatus,
})

Implementation

const DeviceDetailsDTO({
  this.device,
  this.powerSource,
  this.switchState,
  this.coolingType,
  this.connectionType,
  this.serverIpAddress,
  this.serviceAgreement,
  this.exercise,
  this.lastRanTimestamp,
  this.totalRuntimeHours,
  this.totalOperationHours,
  this.runtimeSinceLastMaintenanceHours,
  this.remoteResetCounterSeconds,
  this.addedBy,
  this.associatedUsers,
  this.controllerClockTimestamp,
  this.fuelType,
  this.batteryVoltageV,
  this.engineCoolantTempF,
  this.engineFrequencyHz,
  this.engineSpeedRpm,
  this.lubeOilTempF,
  this.controllerTempF,
  this.engineCompartmentTempF,
  this.engineOilPressurePsi,
  this.engineOilPressureOk,
  this.generatorLoadW,
  this.generatorLoadPercent,
  this.generatorVoltageAvgV,
  this.setOutputVoltageV,
  this.utilityVoltageV,
  this.engineState,
  this.engineStateDisplayNameEn,
  this.loadShed,
  this.pim,
  this.cellularExpiryDate,
  this.cellularInstallationDate,
  this.cellularDataPercentage,
  this.cellularDataStatus,
});