public TempoBecmgGroupData(string match, TimeData time, WindData wind,
            VisibilityData visibility, WeatherData weather,
            NswData nsw, CloudinessData cloudiness, CavokData cavok,
            TemperatureData temperature, PressureData pressure)
        {
            if (string.IsNullOrEmpty(match))
                return;

            IsGroup = true;
            MetarSpeciBecmgTempo = (BecmgTempo)Enum.Parse(typeof(BecmgTempo), match, true);
            Time = time;
            Wind = wind;
            Visibility = visibility;
            Weather = weather;
            Nsw = nsw;
            Cloudiness = cloudiness;
            Cavok = cavok;
            Temperature = temperature;
            Pressure = pressure;
        }
示例#2
0
        public TempoBecmgGroupData(string match, TimeData time, WindData wind,
                                   VisibilityData visibility, WeatherData weather,
                                   NswData nsw, CloudinessData cloudiness, CavokData cavok,
                                   TemperatureData temperature, PressureData pressure)
        {
            if (string.IsNullOrEmpty(match))
            {
                return;
            }

            IsGroup = true;
            MetarSpeciBecmgTempo = (BecmgTempo)Enum.Parse(typeof(BecmgTempo), match, true);
            Time        = time;
            Wind        = wind;
            Visibility  = visibility;
            Weather     = weather;
            Nsw         = nsw;
            Cloudiness  = cloudiness;
            Cavok       = cavok;
            Temperature = temperature;
            Pressure    = pressure;
        }