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

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

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

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