コード例 #1
0
 void ZoneAirContaminantBalance_Impl::setCarbonDioxideConcentration(bool carbonDioxideConcentration) {
   if (carbonDioxideConcentration) {
     setBooleanFieldValue(OS_ZoneAirContaminantBalanceFields::CarbonDioxideConcentration, "Yes");
   } else {
     setBooleanFieldValue(OS_ZoneAirContaminantBalanceFields::CarbonDioxideConcentration, "No");
   }
 }
コード例 #2
0
 void RefractionExtinctionGlazing_Impl::setSolarDiffusing(bool solarDiffusing) {
   if (solarDiffusing) {
     setBooleanFieldValue(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::SolarDiffusing, true);
   } else {
     setBooleanFieldValue(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::SolarDiffusing, false);
   }
 }
コード例 #3
0
 bool AirTerminalDualDuctVAVOutdoorAir_Impl::setControlForOutdoorAir(bool controlForOutdoorAir)
 {
   // TODO: I have changed setBooleanFieldValue to return bool in unmerged PR #2875
   setBooleanFieldValue(OS_AirTerminal_DualDuct_VAV_OutdoorAirFields::ControlForOutdoorAir, controlForOutdoorAir);
   // TODO: Temporary hack
   return true;
 }
コード例 #4
0
 void ControllerMechanicalVentilation_Impl::setDemandControlledVentilation(bool demandControlledVentilation) {
   setBooleanFieldValue(OS_Controller_MechanicalVentilationFields::DemandControlledVentilation, demandControlledVentilation);
   //if (demandControlledVentilation) {
   //  setBooleanFieldValue(OS_Controller_MechanicalVentilationFields::DemandControlledVentilation, true);
   //} else {
   //  setBooleanFieldValue(OS_Controller_MechanicalVentilationFields::DemandControlledVentilation, false);
   //}
 }
コード例 #5
0
ファイル: ScheduleDay.cpp プロジェクト: pepsi7959/OpenStudio
 void ScheduleDay_Impl::setInterpolatetoTimestep(bool interpolatetoTimestep) 
 {
   setBooleanFieldValue(OS_Schedule_DayFields::InterpolatetoTimestep,interpolatetoTimestep);
 }
コード例 #6
0
 void ZoneHVACEnergyRecoveryVentilatorController_Impl::setControlHighIndoorHumidityBasedonOutdoorHumidityRatio(bool controlHighIndoorHumidityBasedonOutdoorHumidityRatio) {
   setBooleanFieldValue(OS_ZoneHVAC_EnergyRecoveryVentilator_ControllerFields::ControlHighIndoorHumidityBasedonOutdoorHumidityRatio, controlHighIndoorHumidityBasedonOutdoorHumidityRatio);
 }
コード例 #7
0
 void ZoneHVACEnergyRecoveryVentilatorController_Impl::setHighHumidityControlFlag(bool highHumidityControlFlag) {
   setBooleanFieldValue(OS_ZoneHVAC_EnergyRecoveryVentilator_ControllerFields::HighHumidityControlFlag, highHumidityControlFlag);
 }
コード例 #8
0
 void CoilHeatingDXMultiSpeed_Impl::setApplyPartLoadFractiontoSpeedsGreaterthan1(bool applyPartLoadFractiontoSpeedsGreaterthan1) {
   setBooleanFieldValue(OS_Coil_Heating_DX_MultiSpeedFields::ApplyPartLoadFractiontoSpeedsGreaterthan1, applyPartLoadFractiontoSpeedsGreaterthan1);
 }
 bool CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit_Impl::setUseHotGasReheat(bool useHotGasReheat) {
   return setBooleanFieldValue(OS_Coil_Cooling_WaterToAirHeatPump_VariableSpeedEquationFitFields::UseHotGasReheat, useHotGasReheat);;
 }
コード例 #10
0
 bool CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl::setEvaporatorFanPowerIncludedinRatedCOP(bool evaporatorFanPowerIncludedinRatedCOP) {
   return setBooleanFieldValue(OS_Coil_WaterHeating_AirToWaterHeatPump_WrappedFields::EvaporatorFanPowerIncludedinRatedCOP, evaporatorFanPowerIncludedinRatedCOP);;
 }
コード例 #11
0
 bool ZoneAirContaminantBalance_Impl::setCarbonDioxideConcentration(bool carbonDioxideConcentration) {
   return setBooleanFieldValue(OS_ZoneAirContaminantBalanceFields::CarbonDioxideConcentration, carbonDioxideConcentration);;
 }