Esempio n. 1
0
        public static void Test()
        {
            WeatherData           wData   = new WeatherData();
            CurrentWeatherDisplay display = new CurrentWeatherDisplay(wData);

            wData.SetWeatherData(10, 20, 50);
            wData.SetWeatherData(11, 25, 60);
            wData.SetWeatherData(30, 40, 70);
        }
Esempio n. 2
0
        public static void Test()
        {
            WeatherData wData = new WeatherData();
            CurrentWeatherDisplay display = new CurrentWeatherDisplay(wData);

            wData.SetWeatherData(10, 20, 50);
            wData.SetWeatherData(11, 25, 60);
            wData.SetWeatherData(30, 40, 70);
        }