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

Method resetSchedule

src/model/ShadingControl.cpp:269–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 void ShadingControl_Impl::resetSchedule() {
270 std::string shadingControlType = this->shadingControlType();
271 if (ShadingControl_Impl::isControlTypeValueRequiringSchedule(shadingControlType)) {
272 LOG(Warn, briefDescription() << " has a Shading Control Type '" << shadingControlType << "' which does require a Schedule, not resetting it");
273 } else {
274 bool test = setString(OS_ShadingControlFields::ScheduleName, "");
275 OS_ASSERT(test);
276
277 test = setString(OS_ShadingControlFields::ShadingControlIsScheduled, "No");
278 OS_ASSERT(test);
279 }
280 }
281
282 bool ShadingControl_Impl::setSetpoint(double setpoint) {
283 bool result = false;

Callers

nothing calls this directly

Calls 1

shadingControlTypeMethod · 0.95

Tested by

no test coverage detected