public StormglassParametersProvider(IResponseReader respReader, IWebServerHelper webHelper) { Weather = new WeatherCharacterization(); this.webHelper = webHelper; this.respReader = respReader; paramsFiller = new StormglassioParametersFiller(); }
public void ChangeWeather(WeatherCharacterization newWeather) { this.Site = newWeather.Site; this.Temperature = newWeather.Temperature; this.WindDirection = newWeather.WindDirection; this.WindSpeed = newWeather.WindSpeed; this.Humidity = newWeather.Humidity; this.Precipitation = newWeather.Precipitation; this.CloudCover = newWeather.CloudCover; }