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

Method setSetpoint2

src/model/ShadingControl.cpp:359–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 }
358
359 bool ShadingControl_Impl::setSetpoint2(double setpoint2) {
360 bool result = false;
361 std::string shadingControlType = this->shadingControlType();
362 if (ShadingControl_Impl::isControlTypeValueNeedingSetpoint2(shadingControlType)) {
363 result = setDouble(OS_ShadingControlFields::Setpoint2, setpoint2);
364 } else {
365 LOG(Warn, briefDescription() << " has a Shading Control Type '" << shadingControlType << "' which does not require a Setpoint2");
366 }
367 return result;
368 }
369
370 void ShadingControl_Impl::resetSetpoint2() {
371 std::string shadingControlType = this->shadingControlType();

Callers 3

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

shadingControlTypeMethod · 0.95

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64