| 102 | } |
| 103 | |
| 104 | bool ShadingControl_Impl::isTypeValueAllowingSlatAngleControl(const std::string& type) { |
| 105 | static constexpr std::array data{ |
| 106 | //"InteriorShade", |
| 107 | //"ExteriorShade", |
| 108 | //"ExteriorScreen", |
| 109 | "InteriorBlind", "ExteriorBlind", |
| 110 | //"BetweenGlassShade", |
| 111 | "BetweenGlassBlind", |
| 112 | //"SwitchableGlazing", |
| 113 | //"InteriorDaylightRedirectionDevice" |
| 114 | }; |
| 115 | return std::find_if(data.begin(), data.end(), [&type](auto c) { return openstudio::istringEqual(type, c); }) != data.end(); |
| 116 | } |
| 117 | |
| 118 | IddObjectType ShadingControl_Impl::iddObjectType() const { |
| 119 | return ShadingControl::iddObjectType(); |