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