Add default floor speed support
Change-Id: Id2d3b362e79e7a8c2330181f68ae11e43f84e2fd
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
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 @@
_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 @@
const size_t _zoneNum;
/**
+ * The default floor speed for the zone
+ */
+ const uint64_t _defFloorSpeed;
+
+ /**
* Automatic fan control active state
*/
bool _isActive = true;