Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        public void CheckTemperature(float temperature)
        {
            CheckBatteryLevel(temperature, Constants.minTemperature, Constants.maxTemperature);
            BatteryStates batteryTemperature = BatteryCondition.CheckBatteryCondition(temperature, Constants.minTemperature, Constants.maxTemperature);

            BatteryMessages.DisplayBatteryStatus("Temperature", batteryTemperature);
        }