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

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

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