C# Mine
ContentsIndexHome
HAHumidityBase Members Public Methods
Public Methods
 
Name 
Description 
 
*p_temperature = t_C; //return temperature [°C] *p_humidity = rh_true; //return humidity[%RH] } /-------------------------------------------------------------------- float calc_dewpoint(float h, float t) /-------------------------------------------------------------------- / calculates dew point / input: humidity [%RH], temperature [°C] / output: dew point [°C] { float logEx, dew_point; logEx = 0.66077 + 7.5 * t / (237.3 + t) + (log10(h) - 2); dew_point = (logEx - 0.66077) * 237.3 / (0.66077 + 7.5 - logEx); return dew_point; 
 
This is CalcTemperature, a member of class HumidityBase. 
 
This is Create, a member of class HAHumidityBase. 
 
This is CreateApplicationBase, a member of class _ApplicationBase. 
 
Returns default configurations for the sensor  
 
This is GetType, a member of class _ApplicationBase. 
Copyright (c) 2022. All rights reserved.