请根据观察者模式,用Java语言设计并实现气象站程序。
其中,部分代码已经写好,包括:•观察者接口•主题接口•显示板接口•测试程序请在此框架下,继续完成CurrentConditionsDisplay、ForecastDisplay、StatisticsDisplay等显示板类,以及气象数据类(WeatherData),使程序最终运转结果如下图所示(XXXX为本人学号):Currentsconditions:80.0Fdegressand65.0%humidity(by1508060330)Avg/Max/Min:temperature=80.0/80.0/80.0/(by1508060330)Forecast(by1508060330):improvingweatheronthewayCurrentsconditions:82.0Fdegressand70.0%humidity(by1508060330)Avg/Max/Min:temperature=81.0/82.0/80.0/(by1508060330)Forecast(by1508060330):watchoutforcooler,rainyweatherCurrentsconditions:78.0Fdegressand90.0%humidity(by1508060330)Avg/Max/Min:temperature=80.0/82.0/78.0/(by1508060330)Forecast(by1508060330):moreofthesame
1