summaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/types.hpp b/types.hpp
index e77dc8e..eb4cf8c 100644
--- a/types.hpp
+++ b/types.hpp
@@ -197,26 +197,6 @@ enum class ThresholdMask
CRITICAL_HIGH_MASK = 0x10,
};
-enum class ThresholdIndex
-{
- NON_CRITICAL_LOW_IDX = 0,
- CRITICAL_LOW_IDX = 1,
- NON_RECOVERABLE_LOW_IDX = 2,
- NON_CRITICAL_HIGH_IDX = 3,
- CRITICAL_HIGH_IDX = 4,
- NON_RECOVERABLE_HIGH_IDX = 5,
-};
-
-struct ThresholdLevel
-{
- std::string property;
- ThresholdMask maskValue;
- ThresholdIndex idx;
-};
-
-using SensorThresholds = std::vector<ThresholdLevel>;
-using Thresholds = std::map<std::string, SensorThresholds>;
-
}// namespace sensor
namespace network
OpenPOWER on IntegriCloud