Ejemplo n.º 1
0
        public double CalculateWindChill()
        {
            double windChill = temperatureSensor.CurrentTemperature().Value - 2 * windSpeedSensor.CurrentSpeed().Value;

            return(windChill);
        }
Ejemplo n.º 2
0
        public double CalculateDewPoint()
        {
            double dewPoint = temperatureSensor.CurrentTemperature().Value - (1 - humiditySensor.CurrentHumidity().Value / 100) / 0.05;

            return(dewPoint);
        }