| 193 | } |
| 194 | |
| 195 | boost::optional<double> ShadingControl_Impl::setpoint2() const { |
| 196 | boost::optional<double> result = getDouble(OS_ShadingControlFields::Setpoint2); |
| 197 | if (!result) { |
| 198 | std::string shadingControlType = this->shadingControlType(); |
| 199 | if (istringEqual("OnIfHighSolarOnWindow", shadingControlType)) { |
| 200 | result = 27; // w/m^2 |
| 201 | } |
| 202 | } |
| 203 | return result; |
| 204 | } |
| 205 | |
| 206 | std::string ShadingControl_Impl::multipleSurfaceControlType() const { |
| 207 | boost::optional<std::string> result = getString(OS_ShadingControlFields::MultipleSurfaceControlType, true); |