Home
last modified time | relevance | path

Searched refs:ReadingType (Results 1 – 8 of 8) sorted by relevance

/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dsensor.hpp45 enum class ReadingType{ enum
129 NLOHMANN_JSON_SERIALIZE_ENUM(ReadingType, {
130 {ReadingType::Invalid, "Invalid"},
131 {ReadingType::Temperature, "Temperature"},
132 {ReadingType::Humidity, "Humidity"},
133 {ReadingType::Power, "Power"},
134 {ReadingType::EnergykWh, "EnergykWh"},
135 {ReadingType::EnergyJoules, "EnergyJoules"},
136 {ReadingType::EnergyWh, "EnergyWh"},
137 {ReadingType::ChargeAh, "ChargeAh"},
[all …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Dsensor_utils.hpp243 inline sensor::ReadingType toReadingType(std::string_view sensorType) in toReadingType()
247 return sensor::ReadingType::Voltage; in toReadingType()
251 return sensor::ReadingType::Power; in toReadingType()
255 return sensor::ReadingType::Current; in toReadingType()
261 return sensor::ReadingType::Rotational; in toReadingType()
265 return sensor::ReadingType::Percent; in toReadingType()
270 return sensor::ReadingType::Temperature; in toReadingType()
274 return sensor::ReadingType::Percent; in toReadingType()
278 return sensor::ReadingType::Humidity; in toReadingType()
282 return sensor::ReadingType in toReadingType()
[all...]
/openbmc/openpower-host-ipmi-oem/
H A Doemhandler.hpp76 using ReadingType = uint8_t; typedef
84 ReadingType eventReadingType;
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dtypes.hpp131 using ReadingType = uint8_t; typedef
168 ReadingType sensorReadingType;
208 ReadingType eventReadingType;
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dsensor_utils_test.cpp316 EXPECT_EQ(sensorJson["ReadingType"], sensor::ReadingType::Rotational); in TEST()
322 EXPECT_EQ(sensorJson["ReadingType"], sensor::ReadingType::Percent); in TEST()
370 EXPECT_EQ(sensorJson["ReadingType"], sensor::ReadingType::Power); in TEST()
391 EXPECT_EQ(sensorJson["ReadingType"], sensor::ReadingType::Temperature); in TEST()
/openbmc/bmcweb/docs/
H A DCOMMON_ERRORS.md421 sensorJson["ReadingType"] = "Frequency";
431 sensorJson["ReadingType"] = sensor::ReadingType::Frequency;
H A DRedfish.md301 - ReadingType
/openbmc/bmcweb/
H A Dmeson.options358 Rotational ReadingType. Redfish 2025.3 clarified the
360 ReadingType. When disabled fan_tach sensors will be