summaryrefslogtreecommitdiffstats
path: root/control/zone.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/zone.hpp')
-rw-r--r--control/zone.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/control/zone.hpp b/control/zone.hpp
index 1af0c22..c524397 100644
--- a/control/zone.hpp
+++ b/control/zone.hpp
@@ -113,6 +113,16 @@ class Zone
_properties[object][interface][property]);
};
+ /**
+ * @brief Get the default floor speed
+ *
+ * @return - The defined default floor speed
+ */
+ inline auto getDefFloor()
+ {
+ return _defFloorSpeed;
+ };
+
private:
/**
@@ -131,6 +141,11 @@ class Zone
const size_t _zoneNum;
/**
+ * The default floor speed for the zone
+ */
+ const uint64_t _defFloorSpeed;
+
+ /**
* Automatic fan control active state
*/
bool _isActive = true;
OpenPOWER on IntegriCloud