src/model/ZoneControlThermostatStagedDualSetpoint_Impl.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_ZONECONTROLTHERMOSTATSTAGEDDUALSETPOINT_IMPL_HPP | ||
| 7 | #define MODEL_ZONECONTROLTHERMOSTATSTAGEDDUALSETPOINT_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "Thermostat_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** ZoneControlThermostatStagedDualSetpoint_Impl is a ModelObject_Impl that is the implementation class for ZoneControlThermostatStagedDualSetpoint.*/ | ||
| 20 | class MODEL_API ZoneControlThermostatStagedDualSetpoint_Impl : public Thermostat_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | ZoneControlThermostatStagedDualSetpoint_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | ZoneControlThermostatStagedDualSetpoint_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | ZoneControlThermostatStagedDualSetpoint_Impl(const ZoneControlThermostatStagedDualSetpoint_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | ✗ | virtual ~ZoneControlThermostatStagedDualSetpoint_Impl() override = default; | |
| 33 | |||
| 34 | //@} | ||
| 35 | /** @name Virtual Methods */ | ||
| 36 | //@{ | ||
| 37 | |||
| 38 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 39 | |||
| 40 | virtual IddObjectType iddObjectType() const override; | ||
| 41 | |||
| 42 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 43 | |||
| 44 | //@} | ||
| 45 | /** @name Getters */ | ||
| 46 | //@{ | ||
| 47 | |||
| 48 | int numberofHeatingStages() const; | ||
| 49 | |||
| 50 | boost::optional<Schedule> heatingTemperatureSetpointSchedule() const; | ||
| 51 | |||
| 52 | double heatingThrottlingTemperatureRange() const; | ||
| 53 | |||
| 54 | double stage1HeatingTemperatureOffset() const; | ||
| 55 | |||
| 56 | double stage2HeatingTemperatureOffset() const; | ||
| 57 | |||
| 58 | double stage3HeatingTemperatureOffset() const; | ||
| 59 | |||
| 60 | double stage4HeatingTemperatureOffset() const; | ||
| 61 | |||
| 62 | int numberofCoolingStages() const; | ||
| 63 | |||
| 64 | boost::optional<Schedule> coolingTemperatureSetpointBaseSchedule() const; | ||
| 65 | |||
| 66 | double coolingThrottlingTemperatureRange() const; | ||
| 67 | |||
| 68 | double stage1CoolingTemperatureOffset() const; | ||
| 69 | |||
| 70 | double stage2CoolingTemperatureOffset() const; | ||
| 71 | |||
| 72 | double stage3CoolingTemperatureOffset() const; | ||
| 73 | |||
| 74 | double stage4CoolingTemperatureOffset() const; | ||
| 75 | |||
| 76 | //@} | ||
| 77 | /** @name Setters */ | ||
| 78 | //@{ | ||
| 79 | |||
| 80 | bool setNumberofHeatingStages(int numberofHeatingStages); | ||
| 81 | |||
| 82 | bool setHeatingTemperatureSetpointSchedule(Schedule& schedule); | ||
| 83 | |||
| 84 | void resetHeatingTemperatureSetpointSchedule(); | ||
| 85 | |||
| 86 | bool setHeatingThrottlingTemperatureRange(double heatingThrottlingTemperatureRange); | ||
| 87 | |||
| 88 | bool setStage1HeatingTemperatureOffset(double stage1HeatingTemperatureOffset); | ||
| 89 | |||
| 90 | bool setStage2HeatingTemperatureOffset(double stage2HeatingTemperatureOffset); | ||
| 91 | |||
| 92 | bool setStage3HeatingTemperatureOffset(double stage3HeatingTemperatureOffset); | ||
| 93 | |||
| 94 | bool setStage4HeatingTemperatureOffset(double stage4HeatingTemperatureOffset); | ||
| 95 | |||
| 96 | bool setNumberofCoolingStages(int numberofCoolingStages); | ||
| 97 | |||
| 98 | bool setCoolingTemperatureSetpointBaseSchedule(Schedule& schedule); | ||
| 99 | |||
| 100 | void resetCoolingTemperatureSetpointBaseSchedule(); | ||
| 101 | |||
| 102 | bool setCoolingThrottlingTemperatureRange(double coolingThrottlingTemperatureRange); | ||
| 103 | |||
| 104 | bool setStage1CoolingTemperatureOffset(double stage1CoolingTemperatureOffset); | ||
| 105 | |||
| 106 | bool setStage2CoolingTemperatureOffset(double stage2CoolingTemperatureOffset); | ||
| 107 | |||
| 108 | bool setStage3CoolingTemperatureOffset(double stage3CoolingTemperatureOffset); | ||
| 109 | |||
| 110 | bool setStage4CoolingTemperatureOffset(double stage4CoolingTemperatureOffset); | ||
| 111 | |||
| 112 | //@} | ||
| 113 | /** @name Other */ | ||
| 114 | //@{ | ||
| 115 | |||
| 116 | //@} | ||
| 117 | protected: | ||
| 118 | private: | ||
| 119 | REGISTER_LOGGER("openstudio.model.ZoneControlThermostatStagedDualSetpoint"); | ||
| 120 | }; | ||
| 121 | |||
| 122 | } // namespace detail | ||
| 123 | |||
| 124 | } // namespace model | ||
| 125 | } // namespace openstudio | ||
| 126 | |||
| 127 | #endif // MODEL_ZONECONTROLTHERMOSTATSTAGEDDUALSETPOINT_IMPL_HPP | ||
| 128 |