blob: 45b9f94e339279c89d09ed68418d4249c56f6c19 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace coolant_connector
{
// clang-format off
enum class CoolantConnectorType : std::uint8_t{
Invalid,
Pair,
Supply,
Return,
Inline,
Closed,
};
NLOHMANN_JSON_SERIALIZE_ENUM(CoolantConnectorType, {
{CoolantConnectorType::Invalid, "Invalid"},
{CoolantConnectorType::Pair, "Pair"},
{CoolantConnectorType::Supply, "Supply"},
{CoolantConnectorType::Return, "Return"},
{CoolantConnectorType::Inline, "Inline"},
{CoolantConnectorType::Closed, "Closed"},
});
} // namespace coolant_connector
// clang-format on