MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / setTypeofSlatAngleControlforBlinds

Method setTypeofSlatAngleControlforBlinds

src/model/ShadingControl.cpp:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318 }
319
320 bool ShadingControl_Impl::setTypeofSlatAngleControlforBlinds(const std::string& typeofSlatAngleControlforBlinds) {
321 bool result = false;
322 std::string shadingType = this->shadingType();
323 if (ShadingControl_Impl::isTypeValueAllowingSlatAngleControl(shadingType)) {
324 result = setString(OS_ShadingControlFields::TypeofSlatAngleControlforBlinds, typeofSlatAngleControlforBlinds);
325 }
326 return result;
327 }
328
329 void ShadingControl_Impl::resetTypeofSlatAngleControlforBlinds() {
330 bool result = setString(OS_ShadingControlFields::TypeofSlatAngleControlforBlinds, "");

Callers 3

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

shadingTypeMethod · 0.95

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64