Ch2Weather first version

This commit is contained in:
2025-11-02 14:43:21 +01:00
parent e5a041da0d
commit 3c2948a5d1
5 changed files with 160 additions and 0 deletions

10
Ch2Weather/Program.cs Normal file
View File

@@ -0,0 +1,10 @@
// See https://aka.ms/new-console-template for more information
using Ch2Weather;
var weatherData = new WeatherData(new WeatherRecord(0, 0,0));
_ = new CurrentConditionsDisplay(weatherData);
_ = new HeatIndexDisplay(weatherData);
weatherData.WeatherRecord = new WeatherRecord(25, 50, 30);
weatherData.WeatherRecord = new WeatherRecord(35, 55, 29.8);
weatherData.WeatherRecord = new WeatherRecord(45, 60, 29.6);