GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 5
Functions: 0.0% 0 / 0 / 5
Branches: -% 0 / 0 / 0

src/model/ZoneControlThermostatStagedDualSetpoint.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_HPP
7 #define MODEL_ZONECONTROLTHERMOSTATSTAGEDDUALSETPOINT_HPP
8
9 #include "ModelAPI.hpp"
10 #include "Thermostat.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 class Schedule;
17
18 namespace detail {
19
20 class ZoneControlThermostatStagedDualSetpoint_Impl;
21
22 } // namespace detail
23
24 /** ZoneControlThermostatStagedDualSetpoint is a ModelObject that wraps the OpenStudio IDD object 'OS:ZoneControl:Thermostat:StagedDualSetpoint'. */
25 class MODEL_API ZoneControlThermostatStagedDualSetpoint : public Thermostat
26 {
27 public:
28 /** @name Constructors and Destructors */
29 //@{
30
31 explicit ZoneControlThermostatStagedDualSetpoint(const Model& model);
32
33 ✗ virtual ~ZoneControlThermostatStagedDualSetpoint() override = default;
34 // Default the copy and move operators because the virtual dtor is explicit
35 ✗ ZoneControlThermostatStagedDualSetpoint(const ZoneControlThermostatStagedDualSetpoint& other) = default;
36 ✗ ZoneControlThermostatStagedDualSetpoint(ZoneControlThermostatStagedDualSetpoint&& other) = default;
37 ✗ ZoneControlThermostatStagedDualSetpoint& operator=(const ZoneControlThermostatStagedDualSetpoint&) = default;
38 ✗ ZoneControlThermostatStagedDualSetpoint& operator=(ZoneControlThermostatStagedDualSetpoint&&) = default;
39
40 //@}
41
42 static IddObjectType iddObjectType();
43
44 /** @name Getters */
45 //@{
46
47 int numberofHeatingStages() const;
48
49 boost::optional<Schedule> heatingTemperatureSetpointSchedule() const;
50
51 double heatingThrottlingTemperatureRange() const;
52
53 double stage1HeatingTemperatureOffset() const;
54
55 double stage2HeatingTemperatureOffset() const;
56
57 double stage3HeatingTemperatureOffset() const;
58
59 double stage4HeatingTemperatureOffset() const;
60
61 int numberofCoolingStages() const;
62
63 boost::optional<Schedule> coolingTemperatureSetpointBaseSchedule() const;
64
65 double coolingThrottlingTemperatureRange() const;
66
67 double stage1CoolingTemperatureOffset() const;
68
69 double stage2CoolingTemperatureOffset() const;
70
71 double stage3CoolingTemperatureOffset() const;
72
73 double stage4CoolingTemperatureOffset() const;
74
75 //@}
76 /** @name Setters */
77 //@{
78
79 bool setNumberofHeatingStages(int numberofHeatingStages);
80
81 bool setHeatingTemperatureSetpointSchedule(Schedule& schedule);
82
83 void resetHeatingTemperatureSetpointSchedule();
84
85 bool setHeatingThrottlingTemperatureRange(double heatingThrottlingTemperatureRange);
86
87 bool setStage1HeatingTemperatureOffset(double stage1HeatingTemperatureOffset);
88
89 bool setStage2HeatingTemperatureOffset(double stage2HeatingTemperatureOffset);
90
91 bool setStage3HeatingTemperatureOffset(double stage3HeatingTemperatureOffset);
92
93 bool setStage4HeatingTemperatureOffset(double stage4HeatingTemperatureOffset);
94
95 bool setNumberofCoolingStages(int numberofCoolingStages);
96
97 bool setCoolingTemperatureSetpointBaseSchedule(Schedule& schedule);
98
99 void resetCoolingTemperatureSetpointBaseSchedule();
100
101 bool setCoolingThrottlingTemperatureRange(double coolingThrottlingTemperatureRange);
102
103 bool setStage1CoolingTemperatureOffset(double stage1CoolingTemperatureOffset);
104
105 bool setStage2CoolingTemperatureOffset(double stage2CoolingTemperatureOffset);
106
107 bool setStage3CoolingTemperatureOffset(double stage3CoolingTemperatureOffset);
108
109 bool setStage4CoolingTemperatureOffset(double stage4CoolingTemperatureOffset);
110
111 //@}
112 /** @name Other */
113 //@{
114
115 //@}
116 protected:
117 /// @cond
118 using ImplType = detail::ZoneControlThermostatStagedDualSetpoint_Impl;
119
120 explicit ZoneControlThermostatStagedDualSetpoint(std::shared_ptr<detail::ZoneControlThermostatStagedDualSetpoint_Impl> impl);
121
122 friend class detail::ZoneControlThermostatStagedDualSetpoint_Impl;
123 friend class Model;
124 friend class IdfObject;
125 friend class openstudio::detail::IdfObject_Impl;
126 /// @endcond
127 private:
128 REGISTER_LOGGER("openstudio.model.ZoneControlThermostatStagedDualSetpoint");
129 };
130
131 /** \relates ZoneControlThermostatStagedDualSetpoint*/
132 using OptionalZoneControlThermostatStagedDualSetpoint = boost::optional<ZoneControlThermostatStagedDualSetpoint>;
133
134 /** \relates ZoneControlThermostatStagedDualSetpoint*/
135 using ZoneControlThermostatStagedDualSetpointVector = std::vector<ZoneControlThermostatStagedDualSetpoint>;
136
137 } // namespace model
138 } // namespace openstudio
139
140 #endif // MODEL_ZONECONTROLTHERMOSTATSTAGEDDUALSETPOINT_HPP
141