1 #pragma once
2 
3 #include <sdeventplus/clock.hpp>
4 #include <sdeventplus/event.hpp>
5 #include <sdeventplus/utility/timer.hpp>
6 
7 #include <memory>
8 #include <string>
9 #include <tuple>
10 
11 namespace sensor::monitor
12 {
13 
14 /**
15  * @brief The enum to represent a hard or soft shutdown
16  */
17 enum class ShutdownType
18 {
19     hard,
20     soft
21 };
22 
23 /**
24  * @brief The enum to represent a low or high alarm
25  */
26 enum class AlarmType
27 {
28     low,
29     high
30 };
31 
32 using AlarmKey = std::tuple<std::string, ShutdownType, AlarmType>;
33 } // namespace sensor::monitor
34