Lines Matching refs:AlarmType
38 const std::map<ShutdownType, std::map<AlarmType, std::string>> alarmProperties{
40 {{AlarmType::low, "HardShutdownAlarmLow"},
41 {AlarmType::high, "HardShutdownAlarmHigh"}}},
43 {{AlarmType::low, "SoftShutdownAlarmLow"},
44 {AlarmType::high, "SoftShutdownAlarmHigh"}}}};
52 const std::map<ShutdownType, std::map<AlarmType, std::string>> alarmEventLogs{
54 {{AlarmType::high,
56 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error."
59 {{AlarmType::high,
61 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error."
64 const std::map<ShutdownType, std::map<AlarmType, std::string>>
67 {{AlarmType::high, "xyz.openbmc_project.Sensor.Threshold.Error."
69 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error."
72 {{AlarmType::high, "xyz.openbmc_project.Sensor.Threshold.Error."
74 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error."
138 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::high}, in findAlarms()
140 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::low}, in findAlarms()
193 const auto& lowAlarmName = alarmProperties.at(*type).at(AlarmType::low); in propertiesChanged()
196 AlarmKey alarmKey{sensorPath, *type, AlarmType::low}; in propertiesChanged()
205 const auto& highAlarmName = alarmProperties.at(*type).at(AlarmType::high); in propertiesChanged()
208 AlarmKey alarmKey{sensorPath, *type, AlarmType::high}; in propertiesChanged()