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