public void WeatherChanged(object sender, WeatherInfoArgs args)
 {
     Console.WriteLine($"Current condition report:\n   - Temperature: {args.Temperature}\n   - Humidity: {args.Humidity}\n   - Pressure: {args.Pressure}");
 }
 public StatisticReport()
 {
     Weather = new WeatherInfoArgs(0, 0, 0);
 }
 public CurrentConditionReport()
 {
     Weather = new WeatherInfoArgs(0, 0, 0);
 }
示例#4
0
 public ForeCastReport()
 {
     Weather = new WeatherInfoArgs(0, 0, 0);
 }