Ejemplo n.º 1
0
        public void WeatherSetWind()
        {
            try
            {
                string newMetar = CurrentMetar.MetarString;
                string oldMetar = CurrentMetar.SetMetarString;
                System.Console.WriteLine("Put New Weather Data: " + newMetar);
                simConnection.WeatherSetObservation(10, newMetar);

                /*  We need to set the same data at all the local metar stations !!!!!!!!!!!!!!!!!!!!!
                 *  Check global again
                 */
            }
            catch (Exception ex)
            {
                System.Console.WriteLine("Problem Setting Weather!\n\n{0}\n\n{1}",
                                         ex.Message, ex.StackTrace);
            }
        }