001package headfirst.observer.WeatherStationObservable;
002
003public class WeatherStationHeatIndex {
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                HeatIndexDisplay heatIndexDisplay = new HeatIndexDisplay(weatherData);
011
012                weatherData.setMeasurements(80, 65, 30.4f);
013                weatherData.setMeasurements(82, 70, 29.2f);
014                weatherData.setMeasurements(78, 90, 29.2f);
015        }
016}