xref: /openbmc/phosphor-hwmon/hwmon.hpp (revision 5afe21a5)
1 #pragma once
2 
3 #include <string>
4 
5 namespace hwmon
6 {
7 namespace entry
8 {
9 static constexpr auto cinput = "input";
10 static constexpr auto clabel = "label";
11 
12 static const std::string input = cinput;
13 static const std::string label = clabel;
14 }
15 
16 namespace type
17 {
18 static constexpr auto cfan = "fan";
19 static constexpr auto ctemp = "temp";
20 static constexpr auto cvolt = "in";
21 static constexpr auto ccurr = "current";
22 static constexpr auto cenergy = "energy";
23 static constexpr auto cpower = "power";
24 
25 static const std::string fan = cfan;
26 static const std::string temp = ctemp;
27 static const std::string volt = cvolt;
28 static const std::string curr = ccurr;
29 static const std::string energy = cenergy;
30 static const std::string power = cpower;
31 }
32 }
33 
34 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
35