void AirTerminalSingleDuctParallelPIUReheat_Impl::setReheatCoil( HVACComponent & hvacComponent ) { bool isTypeCorrect = false; if( hvacComponent.iddObjectType() == IddObjectType::OS_Coil_Heating_Electric ) { isTypeCorrect = true; } else if( hvacComponent.iddObjectType() == IddObjectType::OS_Coil_Heating_Gas ) { isTypeCorrect = true; } else if( hvacComponent.iddObjectType() == IddObjectType::OS_Coil_Heating_Water ) { isTypeCorrect = true; } if( isTypeCorrect ) { setPointer(OS_AirTerminal_SingleDuct_ParallelPIU_ReheatFields::ReheatCoilName,hvacComponent.handle()); } }
void AirTerminalSingleDuctParallelPIUReheat_Impl::setFan( HVACComponent & hvacComponent ) { bool isTypeCorrect = false; if( hvacComponent.iddObjectType() == IddObjectType::OS_Fan_ConstantVolume ) { isTypeCorrect = true; } if( isTypeCorrect ) { setPointer(OS_AirTerminal_SingleDuct_ParallelPIU_ReheatFields::FanName,hvacComponent.handle()); } }