예제 #1
0
        public static void CheckTemperature(float temperature)
        {
            BatteryStates batteryTemperature = CheckBatteryCondition(temperature, Constants.minTemperature, Constants.maxTemperature);

            TestBatteryStatus.DisplayBatteryCondition("Temperature", batteryTemperature);
        }
예제 #2
0
        public static void CheckChargeRate(float chargeRate)
        {
            BatteryStates batteryChargeRate = CheckBatteryCondition(chargeRate, Constants.minChargeRate, Constants.maxChargeRate);

            TestBatteryStatus.DisplayBatteryCondition("Charge Rate", batteryChargeRate);
        }
예제 #3
0
        public static void CheckChargeState(float soc)
        {
            BatteryStates batteryChargeState = CheckBatteryCondition(soc, Constants.minStateOfCharge, Constants.maxStateOfCharge);

            TestBatteryStatus.DisplayBatteryCondition("State of charge", batteryChargeState);
        }