001package headfirst.observer.WeatherStation;
002
003public class WeatherStation {
004
005        public static void main(String[] args) {
006                WeatherData weatherData = new WeatherData();
007
008                CurrentConditionsDisplay currentDisplay =
009                                new CurrentConditionsDisplay(weatherData);
010                StatisticsDisplay statisticsDisplay = new StatisticsDisplay(weatherData);
011                ForecastDisplay forecastDisplay = new ForecastDisplay(weatherData);
012
013                weatherData.setMeasurements(80, 65, 30.4f);
014                weatherData.setMeasurements(82, 70, 29.2f);
015                weatherData.setMeasurements(78, 90, 29.2f);
016        }
017}