public void CheckStateOfCharge(float soc) { CheckBatteryLevel(soc, Constants.minStateOfCharge, Constants.maxStateOfCharge); BatteryStates batteryChargeState = BatteryCondition.CheckBatteryCondition(soc, Constants.minStateOfCharge, Constants.maxStateOfCharge); BatteryMessages.DisplayBatteryStatus("State of charge", batteryChargeState); }
public void CheckChargeRate(float chargeRate) { CheckBatteryLevel(chargeRate, Constants.minChargeRate, Constants.maxChargeRate); BatteryStates batteryChargeRate = BatteryCondition.CheckBatteryCondition(chargeRate, Constants.minChargeRate, Constants.maxChargeRate); BatteryMessages.DisplayBatteryStatus("Charge Rate", batteryChargeRate); }
public void CheckTemperature(float temperature) { CheckBatteryLevel(temperature, Constants.minTemperature, Constants.maxTemperature); BatteryStates batteryTemperature = BatteryCondition.CheckBatteryCondition(temperature, Constants.minTemperature, Constants.maxTemperature); BatteryMessages.DisplayBatteryStatus("Temperature", batteryTemperature); }