| 123 | } |
| 124 | |
| 125 | std::string WindowGroup::shadingControlType() const { |
| 126 | std::string result = "AlwaysOff"; |
| 127 | if (m_shadingControl) { |
| 128 | result = m_shadingControl->shadingControlType(); |
| 129 | |
| 130 | if (istringEqual("OnIfScheduleAllows", result)) { |
| 131 | result = "OnIfHighSolarOnWindow"; |
| 132 | LOG(Warn, "ShadingControlType 'OnIfHighSolarOnWindow' is not currently supported for ShadingControl '" |
| 133 | << m_shadingControl->name().get() << "', using 'OnIfHighSolarOnWindow' instead."); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | return result; |
| 138 | } |
| 139 | |
| 140 | std::string WindowGroup::shadingControlSetpoint() const { |
| 141 | std::string result = "n/a"; |