pid: Add hysteresis
Add hysteresis support into the pid controllers.
Tested-by: Get and Patch worked.
Change-Id: I89f1c128a234ebdf4d69aec35956f11b9e189263
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp
index 3ada58a..3f181c7 100644
--- a/redfish-core/lib/managers.hpp
+++ b/redfish-core/lib/managers.hpp
@@ -435,6 +435,10 @@
propertyPair.first == "ICoefficient" ||
propertyPair.first == "ILimitMax" ||
propertyPair.first == "ILimitMin" ||
+ propertyPair.first ==
+ "PositiveHysteresis" ||
+ propertyPair.first ==
+ "NegativeHysteresis" ||
propertyPair.first == "OutLimitMax" ||
propertyPair.first == "OutLimitMin" ||
propertyPair.first == "PCoefficient" ||
@@ -564,7 +568,9 @@
doubles["OutLimitMax"], "OutLimitMin", doubles["OutLimitMin"],
"PCoefficient", doubles["PCoefficient"], "SetPoint",
doubles["SetPoint"], "SlewNeg", doubles["SlewNeg"], "SlewPos",
- doubles["SlewPos"]))
+ doubles["SlewPos"], "PositiveHysteresis",
+ doubles["PositiveHysteresis"], "NegativeHysteresis",
+ doubles["NegativeHysteresis"]))
{
BMCWEB_LOG_ERROR << "Line:" << __LINE__ << ", Illegal Property "
<< record.dump();