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

Method resetSetpoint2

src/model/ShadingControl.cpp:370–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 }
369
370 void ShadingControl_Impl::resetSetpoint2() {
371 std::string shadingControlType = this->shadingControlType();
372 if (ShadingControl_Impl::isControlTypeValueNeedingSetpoint2(shadingControlType)) {
373 LOG(Warn,
374 briefDescription() << " has a Shading Control Type '" << shadingControlType << "' which does require a Setpoint2, not resetting it");
375 } else {
376 bool test = setString(OS_ShadingControlFields::Setpoint2, "");
377 OS_ASSERT(test);
378 }
379 }
380
381 bool ShadingControl_Impl::setMultipleSurfaceControlType(const std::string& multipleSurfaceControlType) {
382 return setString(OS_ShadingControlFields::MultipleSurfaceControlType, multipleSurfaceControlType);

Callers

nothing calls this directly

Calls 1

shadingControlTypeMethod · 0.95

Tested by

no test coverage detected