src/model/RefrigerationDefrostCycleParameters_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_REFRIGERATIONDEFROSTCYCLEPARAMETERS_IMPL_HPP | ||
| 7 | #define MODEL_REFRIGERATIONDEFROSTCYCLEPARAMETERS_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | class Time; | ||
| 15 | |||
| 16 | namespace model { | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** RefrigerationDefrostCycleParameters_Impl is a ModelObject_Impl that is the implementation class for RefrigerationDefrostCycleParameters.*/ | ||
| 21 | class MODEL_API RefrigerationDefrostCycleParameters_Impl : public ModelObject_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | RefrigerationDefrostCycleParameters_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | RefrigerationDefrostCycleParameters_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | RefrigerationDefrostCycleParameters_Impl(const RefrigerationDefrostCycleParameters_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 7 | virtual ~RefrigerationDefrostCycleParameters_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 | //@} | ||
| 44 | /** @name Getters */ | ||
| 45 | //@{ | ||
| 46 | |||
| 47 | boost::optional<int> durationofDefrostCycle() const; | ||
| 48 | |||
| 49 | boost::optional<int> dripDownTime() const; | ||
| 50 | |||
| 51 | boost::optional<openstudio::Time> defrost1StartTime() const; | ||
| 52 | |||
| 53 | boost::optional<openstudio::Time> defrost2StartTime() const; | ||
| 54 | |||
| 55 | boost::optional<openstudio::Time> defrost3StartTime() const; | ||
| 56 | |||
| 57 | boost::optional<openstudio::Time> defrost4StartTime() const; | ||
| 58 | |||
| 59 | boost::optional<openstudio::Time> defrost5StartTime() const; | ||
| 60 | |||
| 61 | boost::optional<openstudio::Time> defrost6StartTime() const; | ||
| 62 | |||
| 63 | boost::optional<openstudio::Time> defrost7StartTime() const; | ||
| 64 | |||
| 65 | boost::optional<openstudio::Time> defrost8StartTime() const; | ||
| 66 | |||
| 67 | //@} | ||
| 68 | /** @name Setters */ | ||
| 69 | //@{ | ||
| 70 | |||
| 71 | bool setDurationofDefrostCycle(boost::optional<int> durationofDefrostCycle); | ||
| 72 | |||
| 73 | void resetDurationofDefrostCycle(); | ||
| 74 | |||
| 75 | bool setDripDownTime(boost::optional<int> dripDownTime); | ||
| 76 | |||
| 77 | void resetDripDownTime(); | ||
| 78 | |||
| 79 | bool setDefrost1StartTime(const openstudio::Time& defrost1StartTime); | ||
| 80 | |||
| 81 | void resetDefrost1StartTime(); | ||
| 82 | |||
| 83 | bool setDefrost2StartTime(const openstudio::Time& defrost2StartTime); | ||
| 84 | |||
| 85 | void resetDefrost2StartTime(); | ||
| 86 | |||
| 87 | bool setDefrost3StartTime(const openstudio::Time& defrost3StartTime); | ||
| 88 | |||
| 89 | void resetDefrost3StartTime(); | ||
| 90 | |||
| 91 | bool setDefrost4StartTime(const openstudio::Time& defrost4StartTime); | ||
| 92 | |||
| 93 | void resetDefrost4StartTime(); | ||
| 94 | |||
| 95 | bool setDefrost5StartTime(const openstudio::Time& defrost5StartTime); | ||
| 96 | |||
| 97 | void resetDefrost5StartTime(); | ||
| 98 | |||
| 99 | bool setDefrost6StartTime(const openstudio::Time& defrost6StartTime); | ||
| 100 | |||
| 101 | void resetDefrost6StartTime(); | ||
| 102 | |||
| 103 | bool setDefrost7StartTime(const openstudio::Time& defrost7StartTime); | ||
| 104 | |||
| 105 | void resetDefrost7StartTime(); | ||
| 106 | |||
| 107 | bool setDefrost8StartTime(const openstudio::Time& defrost8StartTime); | ||
| 108 | |||
| 109 | void resetDefrost8StartTime(); | ||
| 110 | |||
| 111 | //@} | ||
| 112 | /** @name Other */ | ||
| 113 | //@{ | ||
| 114 | |||
| 115 | //@} | ||
| 116 | protected: | ||
| 117 | private: | ||
| 118 | REGISTER_LOGGER("openstudio.model.RefrigerationDefrostCycleParameters"); | ||
| 119 | }; | ||
| 120 | |||
| 121 | } // namespace detail | ||
| 122 | |||
| 123 | } // namespace model | ||
| 124 | } // namespace openstudio | ||
| 125 | |||
| 126 | #endif // MODEL_REFRIGERATIONDEFROSTCYCLEPARAMETERS_IMPL_HPP | ||
| 127 |