Ejemplo n.º 1
0
 private void ProcessExtraHumidity(NameValueCollection data, WeatherStation station)
 {
     for (var i = 1; i <= 10; i++)
     {
         if (data["humidity" + i] != null)
         {
             station.DoExtraHum(Convert.ToDouble(data["humidity" + i], CultureInfo.InvariantCulture), i);
         }
     }
 }