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

Method setControlZone

src/model/AvailabilityManagerOptimumStart.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 bool AvailabilityManagerOptimumStart_Impl::setControlZone(const boost::optional<ThermalZone>& thermalZone) {
143 bool result(false);
144 if (thermalZone) {
145 result = setPointer(OS_AvailabilityManager_OptimumStartFields::ControlZone, thermalZone.get().handle());
146 } else {
147 resetControlZone();
148 result = true;
149 }
150 return result;
151 }
152
153 void AvailabilityManagerOptimumStart_Impl::resetControlZone() {
154 bool result = setString(OS_AvailabilityManager_OptimumStartFields::ControlZone, "");

Callers 11

translateThermalZoneMethod · 0.45
addToNodeImplMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
buildDemoModel2012Function · 0.45

Calls 2

handleMethod · 0.45
getMethod · 0.45

Tested by 7

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36