public double CalculateWindChill() { double windChill = temperatureSensor.CurrentTemperature().Value - 2 * windSpeedSensor.CurrentSpeed().Value; return(windChill); }
public double CalculateDewPoint() { double dewPoint = temperatureSensor.CurrentTemperature().Value - (1 - humiditySensor.CurrentHumidity().Value / 100) / 0.05; return(dewPoint); }