| 268 | } |
| 269 | |
| 270 | bool WaterToAirComponent_Impl::removeFromAirLoopHVAC() { |
| 271 | if (auto t_oaSystem = airLoopHVACOutdoorAirSystem()) { |
| 272 | if (t_oaSystem->oaComponent(handle())) { |
| 273 | return HVACComponent_Impl::removeFromLoop(t_oaSystem->outboardOANode().get(), t_oaSystem.get(), airInletPort(), airOutletPort()); |
| 274 | } else if (t_oaSystem->reliefComponent(handle())) { |
| 275 | return HVACComponent_Impl::removeFromLoop(t_oaSystem.get(), t_oaSystem->outboardReliefNode().get(), airInletPort(), airOutletPort()); |
| 276 | } |
| 277 | } else if (auto t_airLoop = airLoopHVAC()) { |
| 278 | if (t_airLoop->supplyComponent(handle())) { |
| 279 | return HVACComponent_Impl::removeFromLoop(t_airLoop->supplyInletNode(), t_airLoop->supplyOutletNode(), airInletPort(), airOutletPort()); |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | return false; |
| 284 | } |
| 285 | |
| 286 | bool WaterToAirComponent_Impl::removeFromPlantLoop() { |
| 287 | if (auto plant = plantLoop()) { |
nothing calls this directly
no test coverage detected