Beispiel #1
0
        private static void BatteryLoadParser()
        {
            Messages.printShortMessage("Please insert a License ID of a vehicle that runs by Electric:");
            string o_LicenseID = r_UIGarageTypesParser.parseString(ReciveInput());

            if (!checkifLicenseIDExists(o_LicenseID))
            {
                sayAndThrowExceptIfLicenseIDNotExists();
            }
            Messages.printShortMessage("Please insert amount of battery hours add:");
            float o_iAmountToAdd = r_UIGarageTypesParser.parseFloat(ReciveInput());

            Garage.BatteryLoad(o_LicenseID, o_iAmountToAdd);
        }