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

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

            return(dewPoint);
        }