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