blob: e16c0c52c4f0c173aa5310a34e18c592cfb36a32 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace leak_detector
{
// clang-format off
enum class LeakDetectorType : std::uint8_t{
Invalid,
Moisture,
FloatSwitch,
};
NLOHMANN_JSON_SERIALIZE_ENUM(LeakDetectorType, {
{LeakDetectorType::Invalid, "Invalid"},
{LeakDetectorType::Moisture, "Moisture"},
{LeakDetectorType::FloatSwitch, "FloatSwitch"},
});
} // namespace leak_detector
// clang-format on