コード例 #1
0
        // fill air in an existing vehicle's wheels
        internal void FillAirInVehiclesWheels(GarageLogic.Garage i_Garage)
        {
            // gets license number and checks if exist in garage, if not may exit to main menu
            m_CurrentLicnese = GetLicense(i_Garage);
            if (m_CurrentLicnese.Equals("-1"))
            {
                return;
            }

            // fills air in the vehicle
            i_Garage.FillAirPressure(m_CurrentLicnese);

            // show success message and takes back to main menu
            SuccessFinishOperation();
        }