1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace thermal
5 {
6 // clang-format off
7 
8 enum class ReadingUnits{
9     Invalid,
10     RPM,
11     Percent,
12 };
13 
14 NLOHMANN_JSON_SERIALIZE_ENUM(ReadingUnits, {
15     {ReadingUnits::Invalid, "Invalid"},
16     {ReadingUnits::RPM, "RPM"},
17     {ReadingUnits::Percent, "Percent"},
18 });
19 
20 }
21 // clang-format on
22