| 77 | } |
| 78 | |
| 79 | bool ShadingControl_Impl::isControlTypeValueNeedingSetpoint2(const std::string& controlType) { |
| 80 | static constexpr std::array data{"OnIfHighOutdoorAirTempAndHighSolarOnWindow", "OnIfHighOutdoorAirTempAndHighHorizontalSolar", |
| 81 | "OnIfHighZoneAirTempAndHighSolarOnWindow", "OnIfHighZoneAirTempAndHighHorizontalSolar"}; |
| 82 | return std::find_if(data.begin(), data.end(), [&controlType](auto c) { return openstudio::istringEqual(controlType, c); }) != data.end(); |
| 83 | } |
| 84 | |
| 85 | bool ShadingControl_Impl::isControlTypeValueAllowingSchedule(const std::string& controlType) { |
| 86 | static constexpr std::array data{//"AlwaysOn", |