| // NOLINTBEGIN |
| #pragma once |
| #include <cstdint> |
| #include <nlohmann/json.hpp> |
| |
| namespace cooling_unit |
| { |
| // clang-format off |
| |
| enum class CoolingEquipmentType : std::uint8_t{ |
| Invalid, |
| CDU, |
| HeatExchanger, |
| ImmersionUnit, |
| }; |
| |
| NLOHMANN_JSON_SERIALIZE_ENUM(CoolingEquipmentType, { |
| {CoolingEquipmentType::Invalid, "Invalid"}, |
| {CoolingEquipmentType::CDU, "CDU"}, |
| {CoolingEquipmentType::HeatExchanger, "HeatExchanger"}, |
| {CoolingEquipmentType::ImmersionUnit, "ImmersionUnit"}, |
| }); |
| |
| } // namespace cooling_unit |
| // clang-format on |
| // NOLINTEND |