std::vector<ScheduleTypeKey> ZoneControlContaminantController_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::CarbonDioxideControlAvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Carbon Dioxide Control Availability"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::CarbonDioxideSetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Carbon Dioxide Setpoint"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::MinimumCarbonDioxideConcentrationScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Minimum Carbon Dioxide Concentration"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::GenericContaminantControlAvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Generic Contaminant Control Availability"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::GenericContaminantSetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Generic Contaminant Setpoint"));
   }
   return result;
 }
	std::vector<ScheduleTypeKey> ZoneHVACLowTemperatureRadiantElectric_Impl::getScheduleTypeKeys(const Schedule& schedule) const
	{
		std::vector<ScheduleTypeKey> result;
		UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
		UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
		if (std::find(b,e,OS_ZoneHVAC_LowTemperatureRadiant_ElectricFields::AvailabilityScheduleName) != e)
		{
			result.push_back(ScheduleTypeKey("ZoneHVACLowTemperatureRadiantElectric","Availability"));
		}
		if (std::find(b,e,OS_ZoneHVAC_LowTemperatureRadiant_ElectricFields::HeatingSetpointTemperatureScheduleName) != e)
		{
			result.push_back(ScheduleTypeKey("ZoneHVACLowTemperatureRadiantElectric","Heating Setpoint Temperature"));
		}
		return result;
	}
 std::vector<ScheduleTypeKey> RefrigerationWalkInZoneBoundary_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_Refrigeration_WalkIn_ZoneBoundaryFields::GlassReachInDoorOpeningScheduleNameFacingZone) != e)
   {
     result.push_back(ScheduleTypeKey("RefrigerationWalkInZoneBoundary","Glass Reach In Door Opening  Facing Zone"));
   }
   if (std::find(b,e,OS_Refrigeration_WalkIn_ZoneBoundaryFields::StockingDoorOpeningScheduleNameFacingZone) != e)
   {
     result.push_back(ScheduleTypeKey("RefrigerationWalkInZoneBoundary","Stocking Door Opening  Facing Zone"));
   }
   return result;
 }
Example #4
0
 std::vector<ScheduleTypeKey> PipeIndoor_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_Pipe_IndoorFields::AmbientTemperatureSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("PipeIndoor","Ambient Temperature Schedule"));
   }
   if (std::find(b,e,OS_Pipe_IndoorFields::AmbientAirVelocitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("PipeIndoor","Ambient Air Velocity Schedule"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> WaterUseConnections_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_WaterUse_ConnectionsFields::HotWaterSupplyTemperatureScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("WaterUseConnections","Hot Water Supply Temperature"));
   }
   if (std::find(b,e,OS_WaterUse_ConnectionsFields::ColdWaterSupplyTemperatureScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("WaterUseConnections","Cold Water Supply Temperature"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> ZoneControlThermostatStagedDualSetpoint_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneControl_Thermostat_StagedDualSetpointFields::HeatingTemperatureSetpointSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlThermostatStagedDualSetpoint","Heating Temperature Setpoint Schedule"));
   }
   if (std::find(b,e,OS_ZoneControl_Thermostat_StagedDualSetpointFields::CoolingTemperatureSetpointBaseSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlThermostatStagedDualSetpoint","Cooling Temperature Setpoint Base Schedule"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> SetpointManagerScheduledDualSetpoint_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_SetpointManager_Scheduled_DualSetpointFields::HighSetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("SetpointManagerScheduledDualSetpoint","High Setpoint"));
   }
   if (std::find(b,e,OS_SetpointManager_Scheduled_DualSetpointFields::LowSetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("SetpointManagerScheduledDualSetpoint","Low Setpoint"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> ZoneControlHumidistat_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneControl_HumidistatFields::HumidifyingRelativeHumiditySetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlHumidistat","Humidifying Relative Humidity Setpoint"));
   }
   if (std::find(b,e,OS_ZoneControl_HumidistatFields::DehumidifyingRelativeHumiditySetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlHumidistat","Dehumidifying Relative Humidity Setpoint"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> ZoneHVACLowTempRadiantConstFlow_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACLowTempRadiantConstFlow","Availability"));
   }
   if (std::find(b,e,OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::PumpFlowRateScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACLowTempRadiantConstFlow","Pump Flow Rate"));
   }
   return result;
 }
Example #10
0
 std::vector<ScheduleTypeKey> LoadProfilePlant_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   // TODO: Check schedule display names.
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_LoadProfile_PlantFields::LoadScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("LoadProfilePlant","Load"));
   }
   if (std::find(b,e,OS_LoadProfile_PlantFields::FlowRateFractionScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("LoadProfilePlant","Flow Rate Fraction"));
   }
   return result;
 }
std::vector<ScheduleTypeKey> ZoneHVACTerminalUnitVariableRefrigerantFlow_Impl::getScheduleTypeKeys(const Schedule& schedule) const
{
    // TODO: Check schedule display names.
    std::vector<ScheduleTypeKey> result;
    UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
    UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
    if (std::find(b,e,OS_ZoneHVAC_TerminalUnit_VariableRefrigerantFlowFields::TerminalUnitAvailabilityschedule) != e)
    {
        result.push_back(ScheduleTypeKey("ZoneHVACTerminalUnitVariableRefrigerantFlow","Terminal Unit Availability schedule"));
    }
    if (std::find(b,e,OS_ZoneHVAC_TerminalUnit_VariableRefrigerantFlowFields::SupplyAirFanOperatingModeSchedule) != e)
    {
        result.push_back(ScheduleTypeKey("ZoneHVACTerminalUnitVariableRefrigerantFlow","Supply Air Fan Operating Mode Schedule"));
    }
    return result;
}
 std::vector<ScheduleTypeKey> CoilCoolingDXTwoStageWithHumidityControlMode_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   // TODO: Check schedule display names.
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_Coil_Cooling_DX_TwoStageWithHumidityControlModeFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("CoilCoolingDXTwoStageWithHumidityControlMode","Availability Schedule"));
   }
   if (std::find(b,e,OS_Coil_Cooling_DX_TwoStageWithHumidityControlModeFields::BasinHeaterOperatingSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("CoilCoolingDXTwoStageWithHumidityControlMode","Basin Heater Operating Schedule"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> DefaultScheduleSet_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_DefaultScheduleSetFields::HoursofOperationScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Hours of Operation"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::NumberofPeopleScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Number of People"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::PeopleActivityLevelScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","People Activity Level"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::LightingScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Lighting"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::ElectricEquipmentScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Electric Equipment"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::GasEquipmentScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Gas Equipment"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::HotWaterEquipmentScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Hot Water Equipment"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::InfiltrationScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Infiltration"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::SteamEquipmentScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Steam Equipment"));
   }
   if (std::find(b,e,OS_DefaultScheduleSetFields::OtherEquipmentScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("DefaultScheduleSet","Other Equipment"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> AirTerminalSingleDuctUncontrolled_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AirTerminal_SingleDuct_UncontrolledFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("AirTerminalSingleDuctUncontrolled","Availability"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> SpaceInfiltrationEffectiveLeakageArea_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_SpaceInfiltration_EffectiveLeakageAreaFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("SpaceInfiltrationEffectiveLeakageArea","Infiltration"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> ZoneAirContaminantBalance_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneAirContaminantBalanceFields::OutdoorCarbonDioxideScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneAirContaminantBalance","Outdoor Carbon Dioxide"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> CoilCoolingDXVariableRefrigerantFlow_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_Coil_Cooling_DX_VariableRefrigerantFlowFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("CoilCoolingDXVariableRefrigerantFlow","Availability Schedule"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> SolarCollectorPerformancePhotovoltaicThermalSimple_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b, e, OS_SolarCollectorPerformance_PhotovoltaicThermal_SimpleFields::ThermalConversionEfficiencyScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("SolarCollectorPerformancePhotovoltaicThermalSimple", "Thermal Conversion Efficiency"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> AvailabilityManagerScheduled_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AvailabilityManager_ScheduledFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("AvailabilityManagerScheduled","Availability"));
   }
   return result;
 }
Example #20
0
 std::vector<ScheduleTypeKey> ShadingSurface_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ShadingSurfaceFields::TransmittanceScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ShadingSurface","Transmittance"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> ZoneHVACEnergyRecoveryVentilatorController_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_EnergyRecoveryVentilator_ControllerFields::TimeofDayEconomizerFlowControlScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACEnergyRecoveryVentilatorController","Time of Day Economizer Flow Control"));
   }
   return result;
 }
Example #22
0
 std::vector<ScheduleTypeKey> CoilHeatingElectric_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_Coil_Heating_ElectricFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("CoilHeatingElectric","Availability"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> AvailabilityManagerNightVentilation_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   // TODO: Check schedule display names.
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AvailabilityManager_NightVentilationFields::ApplicabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AvailabilityManagerNightVentilation","Applicability Schedule"));
   }
   if (std::find(b,e,OS_AvailabilityManager_NightVentilationFields::FanSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AvailabilityManagerNightVentilation","Fan Schedule"));
   }
   if (std::find(b,e,OS_AvailabilityManager_NightVentilationFields::VentilationTemperatureSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AvailabilityManagerNightVentilation","Ventilation Temperature Schedule"));
   }
   return result;
 }
 // Availability Schedule
 std::vector<ScheduleTypeKey> AirTerminalDualDuctVAVOutdoorAir_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AirTerminal_DualDuct_VAV_OutdoorAirFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AirTerminalDualDuctVAVOutdoorAir","Availability Schedule"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> ZoneHVACBaseboardConvectiveElectric_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_Baseboard_Convective_ElectricFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACBaseboardConvectiveElectric","Availability"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> EvaporativeCoolerDirectResearchSpecial_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_EvaporativeCooler_Direct_ResearchSpecialFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("EvaporativeCoolerDirectResearchSpecial","Availability"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> AirTerminalSingleDuctVAVHeatAndCoolNoReheat_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AirTerminal_SingleDuct_VAV_HeatAndCool_NoReheatFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AirTerminalSingleDuctVAVHeatAndCoolNoReheat","Availability Schedule"));
   }
   return result;
 }
Example #28
0
 std::vector<ScheduleTypeKey> ExteriorLights_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_Exterior_LightsFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ExteriorLights","Exterior Lights"));
   }
   return result;
 }
Example #29
0
 std::vector<ScheduleTypeKey> HotWaterEquipment_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_HotWaterEquipmentFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("HotWaterEquipment","Hot Water Equipment"));
   }
   return result;
 }
 std::vector<ScheduleTypeKey> DesignSpecificationZoneAirDistribution_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_DesignSpecification_ZoneAirDistributionFields::ZoneAirDistributionEffectivenessSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("DesignSpecificationZoneAirDistribution","Zone Air Distribution Effectiveness Schedule"));
   }
   return result;
 }