public void GetWeatherData() { WeatherData data = WeatherStation.GetMeasurments(); Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("Requested manually: temperature: {0}, humidity: {1}, pressure {2}, rain {3}", data.Temperature, data.Humidity, data.Pressure, data.RainQuantity); Console.ResetColor(); }
public void GetWeatherData() { WeatherData data = WeatherStation.GetMeasurments(); Console.WriteLine("Requested manually: temperature: {0}, humidity: {1}, pressure {2}", data.Temperature, data.Humidity, data.Pressure); }