| 1881 | } |
| 1882 | |
| 1883 | bool EpwDataPoint::setRelativeHumidity(double value) { |
| 1884 | if (0 > value) { |
| 1885 | m_relativeHumidity = "999"; |
| 1886 | return false; |
| 1887 | } else if (110 < value) { |
| 1888 | LOG_FREE(Warn, "openstudio.EpwFile", "RelativeHumidity value '" << value << "' not within the expected limits"); |
| 1889 | } |
| 1890 | m_relativeHumidity = std::to_string(value); |
| 1891 | return true; |
| 1892 | } |
| 1893 | |
| 1894 | bool EpwDataPoint::setRelativeHumidity(const std::string& relativeHumidity) { |
| 1895 | bool ok; |
no test coverage detected