public void Update(IMySubject weatherData)
        {
            _temperature = weatherData.GetTemperature(); ;
            _humidity = weatherData.GetHumidity();

            Display();
        }
        public void Update(IMySubject weatherData)
        {
            _temperature = weatherData.GetTemperature();;
            _humidity    = weatherData.GetHumidity();

            Display();
        }
Exemplo n.º 3
0
 public void Update(IMySubject weatherData)
 {
     _heatindex = computeHeatIndex(weatherData.GetTemperature(), weatherData.GetHumidity());
 }
Exemplo n.º 4
0
 public void Update(IMySubject weatherData)
 {
     _heatindex = computeHeatIndex(weatherData.GetTemperature(), weatherData.GetHumidity());
 }