src/model/SetpointManagerSingleZoneOneStageHeating_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_SETPOINTMANAGERSINGLEZONEONESTAGEHEATING_IMPL_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERSINGLEZONEONESTAGEHEATING_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class ThermalZone; | ||
| 16 | class Node; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** SetpointManagerSingleZoneOneStageHeating_Impl is a SetpointManager_Impl that is the implementation class for SetpointManagerSingleZoneOneStageHeating.*/ | ||
| 21 | class MODEL_API SetpointManagerSingleZoneOneStageHeating_Impl : public SetpointManager_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | SetpointManagerSingleZoneOneStageHeating_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | SetpointManagerSingleZoneOneStageHeating_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | SetpointManagerSingleZoneOneStageHeating_Impl(const SetpointManagerSingleZoneOneStageHeating_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 13 | virtual ~SetpointManagerSingleZoneOneStageHeating_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | virtual ModelObject clone(Model model) const override; | ||
| 44 | |||
| 45 | virtual bool addToNode(Node& node) override; | ||
| 46 | |||
| 47 | //@} | ||
| 48 | /** @name Getters */ | ||
| 49 | //@{ | ||
| 50 | |||
| 51 | virtual std::string controlVariable() const override; | ||
| 52 | |||
| 53 | double heatingStageOnSupplyAirSetpointTemperature() const; | ||
| 54 | |||
| 55 | double heatingStageOffSupplyAirSetpointTemperature() const; | ||
| 56 | |||
| 57 | boost::optional<ThermalZone> controlZone() const; | ||
| 58 | |||
| 59 | virtual boost::optional<Node> setpointNode() const override; | ||
| 60 | |||
| 61 | //@} | ||
| 62 | /** @name Setters */ | ||
| 63 | //@{ | ||
| 64 | |||
| 65 | virtual bool setControlVariable(const std::string& controlVariable) override; | ||
| 66 | |||
| 67 | bool setHeatingStageOnSupplyAirSetpointTemperature(double heatingStageOnSupplyAirSetpointTemperature); | ||
| 68 | |||
| 69 | bool setHeatingStageOffSupplyAirSetpointTemperature(double heatingStageOffSupplyAirSetpointTemperature); | ||
| 70 | |||
| 71 | bool setControlZone(const ThermalZone& thermalZone); | ||
| 72 | |||
| 73 | void resetControlZone(); | ||
| 74 | |||
| 75 | //@} | ||
| 76 | /** @name Other */ | ||
| 77 | //@{ | ||
| 78 | |||
| 79 | //@} | ||
| 80 | protected: | ||
| 81 | private: | ||
| 82 | virtual bool setSetpointNode(const Node& node) override; | ||
| 83 | |||
| 84 | virtual void resetSetpointNode() override; | ||
| 85 | |||
| 86 | REGISTER_LOGGER("openstudio.model.SetpointManagerSingleZoneOneStageHeating"); | ||
| 87 | }; | ||
| 88 | |||
| 89 | } // namespace detail | ||
| 90 | |||
| 91 | } // namespace model | ||
| 92 | } // namespace openstudio | ||
| 93 | |||
| 94 | #endif // MODEL_SETPOINTMANAGERSINGLEZONEONESTAGEHEATING_IMPL_HPP | ||
| 95 |