1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 #include <nlohmann/json.hpp> 5 6 namespace cooling_loop 7 { 8 // clang-format off 9 10 enum class CoolantType{ 11 Invalid, 12 Water, 13 Hydrocarbon, 14 Fluorocarbon, 15 Dielectric, 16 }; 17 18 NLOHMANN_JSON_SERIALIZE_ENUM(CoolantType, { 19 {CoolantType::Invalid, "Invalid"}, 20 {CoolantType::Water, "Water"}, 21 {CoolantType::Hydrocarbon, "Hydrocarbon"}, 22 {CoolantType::Fluorocarbon, "Fluorocarbon"}, 23 {CoolantType::Dielectric, "Dielectric"}, 24 }); 25 26 } 27 // clang-format on 28