diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-06-12 13:13:02 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-06-26 09:24:41 -0500 |
commit | 1de66629a31ee2a4751b2f30c5baa11464ba5aad (patch) | |
tree | d908cf562395a0b978a8b36be20ba22e24af0215 /control/zone.hpp | |
parent | 9e741ed099a77ed2638b852027e751b90f67450d (diff) | |
download | phosphor-fan-presence-1de66629a31ee2a4751b2f30c5baa11464ba5aad.tar.gz phosphor-fan-presence-1de66629a31ee2a4751b2f30c5baa11464ba5aad.zip |
Add default floor speed support
Change-Id: Id2d3b362e79e7a8c2330181f68ae11e43f84e2fd
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/zone.hpp')
-rw-r--r-- | control/zone.hpp | 15 |
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; |