1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0 2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3f263e09cSEd Tanous #pragma once 4f263e09cSEd Tanous #include <nlohmann/json.hpp> 5f263e09cSEd Tanous 6f263e09cSEd Tanous namespace cooling_unit 7f263e09cSEd Tanous { 8f263e09cSEd Tanous // clang-format off 9f263e09cSEd Tanous 10f263e09cSEd Tanous enum class CoolingEquipmentType{ 11f263e09cSEd Tanous Invalid, 12f263e09cSEd Tanous CDU, 13f263e09cSEd Tanous HeatExchanger, 14f263e09cSEd Tanous ImmersionUnit, 15f263e09cSEd Tanous }; 16f263e09cSEd Tanous 17f263e09cSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(CoolingEquipmentType, { 18f263e09cSEd Tanous {CoolingEquipmentType::Invalid, "Invalid"}, 19f263e09cSEd Tanous {CoolingEquipmentType::CDU, "CDU"}, 20f263e09cSEd Tanous {CoolingEquipmentType::HeatExchanger, "HeatExchanger"}, 21f263e09cSEd Tanous {CoolingEquipmentType::ImmersionUnit, "ImmersionUnit"}, 22f263e09cSEd Tanous }); 23f263e09cSEd Tanous 24f263e09cSEd Tanous } 25f263e09cSEd Tanous // clang-format on 26