Esempio n. 1
0
        private void ComboBoxGroundAirSelectedIndexChanged(object sender, EventArgs e)
        {
            if (comboBoxGroundAir.SelectedItem is GroundAir)
            {
                _groundAir = (GroundAir)comboBoxGroundAir.SelectedItem;
            }
            else
            {
                _groundAir = GroundAir.Ground;
            }

            CheckParametres();
        }
Esempio n. 2
0
        /*
         * Реализация StringConvertibleObject
         */

        #region public EnginesGeneralCondition(string Data) : base(Data)

        /// <summary>
        /// Создает объект и заполняет данными
        /// </summary>
        /// <param name="source"></param>
        public EnginesGeneralCondition(EngineCondition source)
        {
            _pressALT     = source.PressALT.ToString();
            _timeGMT      = source.TimeGMT;
            _grossWeight  = source.GrossWeight;
            _ias          = source.IAS;
            _mach         = source.Mach;
            _tat          = source.TAT;
            _oat          = source.OAT;
            _flightRegine = source.FlightRegime;
            _groundAir    = source.GroundAir;
            _weather      = source.Weather;
        }