src/model/RefrigerationSubcoolerLiquidSuction_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_REFRIGERATIONSUBCOOLERLIQUIDSUCTION_IMPL_HPP | ||
| 7 | #define MODEL_REFRIGERATIONSUBCOOLERLIQUIDSUCTION_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class RefrigerationSystem; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** RefrigerationSubcoolerLiquidSuction_Impl is a ModelObject_Impl that is the implementation class for RefrigerationSubcoolerLiquidSuction.*/ | ||
| 20 | class MODEL_API RefrigerationSubcoolerLiquidSuction_Impl : public ModelObject_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | RefrigerationSubcoolerLiquidSuction_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | RefrigerationSubcoolerLiquidSuction_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | RefrigerationSubcoolerLiquidSuction_Impl(const RefrigerationSubcoolerLiquidSuction_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | 26 | virtual ~RefrigerationSubcoolerLiquidSuction_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 | //@} | ||
| 43 | /** @name Getters */ | ||
| 44 | //@{ | ||
| 45 | |||
| 46 | boost::optional<double> liquidSuctionDesignSubcoolingTemperatureDifference() const; | ||
| 47 | |||
| 48 | boost::optional<double> designLiquidInletTemperature() const; | ||
| 49 | |||
| 50 | boost::optional<double> designVaporInletTemperature() const; | ||
| 51 | |||
| 52 | //@} | ||
| 53 | /** @name Setters */ | ||
| 54 | //@{ | ||
| 55 | |||
| 56 | bool setLiquidSuctionDesignSubcoolingTemperatureDifference(boost::optional<double> liquidSuctionDesignSubcoolingTemperatureDifference); | ||
| 57 | |||
| 58 | void resetLiquidSuctionDesignSubcoolingTemperatureDifference(); | ||
| 59 | |||
| 60 | bool setDesignLiquidInletTemperature(boost::optional<double> designLiquidInletTemperature); | ||
| 61 | |||
| 62 | void resetDesignLiquidInletTemperature(); | ||
| 63 | |||
| 64 | bool setDesignVaporInletTemperature(boost::optional<double> designVaporInletTemperature); | ||
| 65 | |||
| 66 | void resetDesignVaporInletTemperature(); | ||
| 67 | |||
| 68 | //@} | ||
| 69 | /** @name Other */ | ||
| 70 | //@{ | ||
| 71 | |||
| 72 | boost::optional<RefrigerationSystem> system() const; | ||
| 73 | |||
| 74 | //@} | ||
| 75 | protected: | ||
| 76 | private: | ||
| 77 | − | REGISTER_LOGGER("openstudio.model.RefrigerationSubcoolerLiquidSuction"); | |
| 78 | }; | ||
| 79 | |||
| 80 | } // namespace detail | ||
| 81 | |||
| 82 | } // namespace model | ||
| 83 | } // namespace openstudio | ||
| 84 | |||
| 85 | #endif // MODEL_REFRIGERATIONSUBCOOLERLIQUIDSUCTION_IMPL_HPP | ||
| 86 |