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

Method defrostSchedule

src/model/RefrigerationWalkIn.cpp:280–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 }
279
280 Schedule RefrigerationWalkIn_Impl::defrostSchedule() const {
281 boost::optional<Schedule> value = optionalDefrostSchedule();
282 if (!value) {
283 LOG_AND_THROW(briefDescription() << " does not have an Defrost Schedule attached.");
284 }
285 return value.get();
286 }
287
288 boost::optional<Schedule> RefrigerationWalkIn_Impl::defrostDripDownSchedule() const {
289 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::DefrostDripDownScheduleName);

Callers 3

TEST_FFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 1

TEST_FFunction · 0.36