Esempio n. 1
0
        private void addWheelParametes(string i_LicenseNumber)
        {
            string manufactureName   = null;
            float  leftedAirPressure = 0;

            try
            {
                getWheelParametes(ref manufactureName, ref leftedAirPressure);
                m_GarageManager.AddWheelDetails(manufactureName, leftedAirPressure, i_LicenseNumber);
            }
            catch (ValueOutOfRangeException voor)
            {
                Console.WriteLine(string.Format("{0}, Please Try Again.", voor.Message, Environment.NewLine));
                addWheelParametes(i_LicenseNumber);
            }
        }