Esempio n. 1
0
        public void InflateTires(string i_LicensePlate)
        {
            ClientData client = FindClient(i_LicensePlate);

            client.InflateTires(client.vehicle.wheels[0].maxAirPressure - client.vehicle.wheels[0].airPressure);
        }
Esempio n. 2
0
        public void ChangeStatusOfVehicle(string i_LicensePlate, ClientData.eVehicleStatusInGarage i_Status)
        {
            ClientData client = FindClient(i_LicensePlate);

            client.ChangeStatusOfVehicle(i_Status);
        }
Esempio n. 3
0
 public void InsertVehicleToGarage(ClientData i_Client)
 {
     r_ClientList.Add(i_Client.vehicle.licensePlate, i_Client);
 }
Esempio n. 4
0
        public string InformationToShow(string i_LicensePlate)
        {
            ClientData client = FindClient(i_LicensePlate);

            return(client.ToString());
        }
Esempio n. 5
0
        public void RechargeSpecificVehicle(string i_LicensePlate, float i_HoursToCharge)
        {
            ClientData client = FindClient(i_LicensePlate);

            ((ElectricEngine)client.vehicle.engine).HoursOfElectricityAddition(i_HoursToCharge);
        }
Esempio n. 6
0
        public void RefuelSpecificVehicle(string i_LicensePlate, FuelEngine.eFuelType i_FuelType, float i_QuantityToFuel)
        {
            ClientData client = FindClient(i_LicensePlate);

            client.RefuelVehicle(i_FuelType, i_QuantityToFuel);
        }