public void InflateTires(string i_LicensePlate) { ClientData client = FindClient(i_LicensePlate); client.InflateTires(client.vehicle.wheels[0].maxAirPressure - client.vehicle.wheels[0].airPressure); }
public void ChangeStatusOfVehicle(string i_LicensePlate, ClientData.eVehicleStatusInGarage i_Status) { ClientData client = FindClient(i_LicensePlate); client.ChangeStatusOfVehicle(i_Status); }
public void InsertVehicleToGarage(ClientData i_Client) { r_ClientList.Add(i_Client.vehicle.licensePlate, i_Client); }
public string InformationToShow(string i_LicensePlate) { ClientData client = FindClient(i_LicensePlate); return(client.ToString()); }
public void RechargeSpecificVehicle(string i_LicensePlate, float i_HoursToCharge) { ClientData client = FindClient(i_LicensePlate); ((ElectricEngine)client.vehicle.engine).HoursOfElectricityAddition(i_HoursToCharge); }
public void RefuelSpecificVehicle(string i_LicensePlate, FuelEngine.eFuelType i_FuelType, float i_QuantityToFuel) { ClientData client = FindClient(i_LicensePlate); client.RefuelVehicle(i_FuelType, i_QuantityToFuel); }