xref: /openbmc/bmcweb/features/redfish/include/registries/power_message_registry.hpp (revision 4a102cd48c588d32c0a4d6610b4a9ed616f255f3)
140e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0
240e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3665e7602SGunnar Mills #pragma once
4665e7602SGunnar Mills /****************************************************************
5665e7602SGunnar Mills  *                 READ THIS WARNING FIRST
6665e7602SGunnar Mills  * This is an auto-generated header which contains definitions
7665e7602SGunnar Mills  * for Redfish DMTF defined messages.
8665e7602SGunnar Mills  * DO NOT modify this registry outside of running the
9665e7602SGunnar Mills  * parse_registries.py script.  The definitions contained within
10665e7602SGunnar Mills  * this file are owned by DMTF.  Any modifications to these files
11665e7602SGunnar Mills  * should be first pushed to the relevant registry in the DMTF
12665e7602SGunnar Mills  * github organization.
13665e7602SGunnar Mills  ***************************************************************/
14665e7602SGunnar Mills #include "registries.hpp"
15665e7602SGunnar Mills 
16665e7602SGunnar Mills #include <array>
17665e7602SGunnar Mills 
18665e7602SGunnar Mills // clang-format off
19665e7602SGunnar Mills 
20*4a102cd4SPatrick Williams namespace redfish::registries
21665e7602SGunnar Mills {
22*4a102cd4SPatrick Williams struct Power
23*4a102cd4SPatrick Williams {
24*4a102cd4SPatrick Williams static constexpr Header header = {
25665e7602SGunnar Mills     "Copyright 2023 DMTF. All rights reserved.",
26665e7602SGunnar Mills     "#MessageRegistry.v1_6_2.MessageRegistry",
2756b81992SEd Tanous     1,
2856b81992SEd Tanous     0,
2956b81992SEd Tanous     1,
30665e7602SGunnar Mills     "Power Message Registry",
31665e7602SGunnar Mills     "en",
32665e7602SGunnar Mills     "This registry defines messages related to electrical measurements and power distribution equipment.",
33665e7602SGunnar Mills     "Power",
34665e7602SGunnar Mills     "DMTF",
35665e7602SGunnar Mills };
36*4a102cd4SPatrick Williams 
37*4a102cd4SPatrick Williams static constexpr const char* url =
38665e7602SGunnar Mills     "https://redfish.dmtf.org/registries/Power.1.0.1.json";
39665e7602SGunnar Mills 
40*4a102cd4SPatrick Williams static constexpr std::array registry =
41665e7602SGunnar Mills {
42665e7602SGunnar Mills     MessageEntry{
43665e7602SGunnar Mills         "BreakerFault",
44665e7602SGunnar Mills         {
45665e7602SGunnar Mills             "Indicates that a circuit breaker has an internal fault.",
46665e7602SGunnar Mills             "Fault detected in breaker '%1'.",
47665e7602SGunnar Mills             "Critical",
48665e7602SGunnar Mills             1,
49665e7602SGunnar Mills             {
50665e7602SGunnar Mills                 "string",
51665e7602SGunnar Mills             },
52665e7602SGunnar Mills             "Check the breaker hardware and replace any faulty components.",
53665e7602SGunnar Mills         }},
54665e7602SGunnar Mills     MessageEntry{
55665e7602SGunnar Mills         "BreakerReset",
56665e7602SGunnar Mills         {
57665e7602SGunnar Mills             "Indicates that a circuit breaker reset.",
58665e7602SGunnar Mills             "Breaker '%1' reset.",
59665e7602SGunnar Mills             "OK",
60665e7602SGunnar Mills             1,
61665e7602SGunnar Mills             {
62665e7602SGunnar Mills                 "string",
63665e7602SGunnar Mills             },
64665e7602SGunnar Mills             "None.",
65665e7602SGunnar Mills         }},
66665e7602SGunnar Mills     MessageEntry{
67665e7602SGunnar Mills         "BreakerTripped",
68665e7602SGunnar Mills         {
69665e7602SGunnar Mills             "Indicates that a circuit breaker tripped.",
70665e7602SGunnar Mills             "Breaker '%1' has tripped.",
71665e7602SGunnar Mills             "Critical",
72665e7602SGunnar Mills             1,
73665e7602SGunnar Mills             {
74665e7602SGunnar Mills                 "string",
75665e7602SGunnar Mills             },
76665e7602SGunnar Mills             "Check the circuit and connected devices, and disconnect or replace any faulty devices.",
77665e7602SGunnar Mills         }},
78665e7602SGunnar Mills     MessageEntry{
79665e7602SGunnar Mills         "CircuitPoweredOff",
80665e7602SGunnar Mills         {
81665e7602SGunnar Mills             "Indicates that a circuit was powered off.",
82665e7602SGunnar Mills             "Circuit '%1' powered off.",
83665e7602SGunnar Mills             "OK",
84665e7602SGunnar Mills             1,
85665e7602SGunnar Mills             {
86665e7602SGunnar Mills                 "string",
87665e7602SGunnar Mills             },
88665e7602SGunnar Mills             "None.",
89665e7602SGunnar Mills         }},
90665e7602SGunnar Mills     MessageEntry{
91665e7602SGunnar Mills         "CircuitPoweredOn",
92665e7602SGunnar Mills         {
93665e7602SGunnar Mills             "Indicates that a circuit was powered on.",
94665e7602SGunnar Mills             "Circuit '%1' powered on.",
95665e7602SGunnar Mills             "OK",
96665e7602SGunnar Mills             1,
97665e7602SGunnar Mills             {
98665e7602SGunnar Mills                 "string",
99665e7602SGunnar Mills             },
100665e7602SGunnar Mills             "None.",
101665e7602SGunnar Mills         }},
102665e7602SGunnar Mills     MessageEntry{
103665e7602SGunnar Mills         "CurrentAboveLowerCriticalThreshold",
104665e7602SGunnar Mills         {
105665e7602SGunnar Mills             "Indicates that a current reading is no longer below the lower critical threshold but is still outside of normal operating range.",
106665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is now above the %3 lower critical threshold but remains outside of normal range.",
107665e7602SGunnar Mills             "Warning",
108665e7602SGunnar Mills             3,
109665e7602SGunnar Mills             {
110665e7602SGunnar Mills                 "string",
111665e7602SGunnar Mills                 "number",
112665e7602SGunnar Mills                 "number",
113665e7602SGunnar Mills             },
114665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
115665e7602SGunnar Mills         }},
116665e7602SGunnar Mills     MessageEntry{
117665e7602SGunnar Mills         "CurrentAboveLowerFatalThreshold",
118665e7602SGunnar Mills         {
119665e7602SGunnar Mills             "Indicates that a current reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
120665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is now above the %3 lower fatal threshold but remains outside of normal range.",
121665e7602SGunnar Mills             "Critical",
122665e7602SGunnar Mills             3,
123665e7602SGunnar Mills             {
124665e7602SGunnar Mills                 "string",
125665e7602SGunnar Mills                 "number",
126665e7602SGunnar Mills                 "number",
127665e7602SGunnar Mills             },
128665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
129665e7602SGunnar Mills         }},
130665e7602SGunnar Mills     MessageEntry{
131665e7602SGunnar Mills         "CurrentAboveUpperCautionThreshold",
132665e7602SGunnar Mills         {
133665e7602SGunnar Mills             "Indicates that a current reading is above the upper caution threshold.",
134665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is above the %3 upper caution threshold.",
135665e7602SGunnar Mills             "Warning",
136665e7602SGunnar Mills             3,
137665e7602SGunnar Mills             {
138665e7602SGunnar Mills                 "string",
139665e7602SGunnar Mills                 "number",
140665e7602SGunnar Mills                 "number",
141665e7602SGunnar Mills             },
142665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
143665e7602SGunnar Mills         }},
144665e7602SGunnar Mills     MessageEntry{
145665e7602SGunnar Mills         "CurrentAboveUpperCriticalThreshold",
146665e7602SGunnar Mills         {
147665e7602SGunnar Mills             "Indicates that a current reading is above the upper critical threshold.",
148665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is above the %3 upper critical threshold.",
149665e7602SGunnar Mills             "Critical",
150665e7602SGunnar Mills             3,
151665e7602SGunnar Mills             {
152665e7602SGunnar Mills                 "string",
153665e7602SGunnar Mills                 "number",
154665e7602SGunnar Mills                 "number",
155665e7602SGunnar Mills             },
156665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
157665e7602SGunnar Mills         }},
158665e7602SGunnar Mills     MessageEntry{
159665e7602SGunnar Mills         "CurrentAboveUpperFatalThreshold",
160665e7602SGunnar Mills         {
161665e7602SGunnar Mills             "Indicates that a current reading is above the upper fatal threshold.",
162665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is above the %3 upper fatal threshold.",
163665e7602SGunnar Mills             "Critical",
164665e7602SGunnar Mills             3,
165665e7602SGunnar Mills             {
166665e7602SGunnar Mills                 "string",
167665e7602SGunnar Mills                 "number",
168665e7602SGunnar Mills                 "number",
169665e7602SGunnar Mills             },
170665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
171665e7602SGunnar Mills         }},
172665e7602SGunnar Mills     MessageEntry{
173665e7602SGunnar Mills         "CurrentBelowLowerCautionThreshold",
174665e7602SGunnar Mills         {
175665e7602SGunnar Mills             "Indicates that a current reading is below the lower caution threshold.",
176665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is below the %3 lower caution threshold.",
177665e7602SGunnar Mills             "Warning",
178665e7602SGunnar Mills             3,
179665e7602SGunnar Mills             {
180665e7602SGunnar Mills                 "string",
181665e7602SGunnar Mills                 "number",
182665e7602SGunnar Mills                 "number",
183665e7602SGunnar Mills             },
184665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
185665e7602SGunnar Mills         }},
186665e7602SGunnar Mills     MessageEntry{
187665e7602SGunnar Mills         "CurrentBelowLowerCriticalThreshold",
188665e7602SGunnar Mills         {
189665e7602SGunnar Mills             "Indicates that a current reading is below the lower critical threshold.",
190665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is below the %3 lower critical threshold.",
191665e7602SGunnar Mills             "Critical",
192665e7602SGunnar Mills             3,
193665e7602SGunnar Mills             {
194665e7602SGunnar Mills                 "string",
195665e7602SGunnar Mills                 "number",
196665e7602SGunnar Mills                 "number",
197665e7602SGunnar Mills             },
198665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
199665e7602SGunnar Mills         }},
200665e7602SGunnar Mills     MessageEntry{
201665e7602SGunnar Mills         "CurrentBelowLowerFatalThreshold",
202665e7602SGunnar Mills         {
203665e7602SGunnar Mills             "Indicates that a current reading is below the lower fatal threshold.",
204665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is below the %3 lower fatal threshold.",
205665e7602SGunnar Mills             "Critical",
206665e7602SGunnar Mills             3,
207665e7602SGunnar Mills             {
208665e7602SGunnar Mills                 "string",
209665e7602SGunnar Mills                 "number",
210665e7602SGunnar Mills                 "number",
211665e7602SGunnar Mills             },
212665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
213665e7602SGunnar Mills         }},
214665e7602SGunnar Mills     MessageEntry{
215665e7602SGunnar Mills         "CurrentBelowUpperCriticalThreshold",
216665e7602SGunnar Mills         {
217665e7602SGunnar Mills             "Indicates that a current reading is no longer above the upper critical threshold but is still outside of normal operating range.",
218665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is now below the %3 upper critical threshold but remains outside of normal range.",
219665e7602SGunnar Mills             "Warning",
220665e7602SGunnar Mills             3,
221665e7602SGunnar Mills             {
222665e7602SGunnar Mills                 "string",
223665e7602SGunnar Mills                 "number",
224665e7602SGunnar Mills                 "number",
225665e7602SGunnar Mills             },
226665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
227665e7602SGunnar Mills         }},
228665e7602SGunnar Mills     MessageEntry{
229665e7602SGunnar Mills         "CurrentBelowUpperFatalThreshold",
230665e7602SGunnar Mills         {
231665e7602SGunnar Mills             "Indicates that a current reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
232665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is now below the %3 upper fatal threshold but remains outside of normal range.",
233665e7602SGunnar Mills             "Critical",
234665e7602SGunnar Mills             3,
235665e7602SGunnar Mills             {
236665e7602SGunnar Mills                 "string",
237665e7602SGunnar Mills                 "number",
238665e7602SGunnar Mills                 "number",
239665e7602SGunnar Mills             },
240665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
241665e7602SGunnar Mills         }},
242665e7602SGunnar Mills     MessageEntry{
243665e7602SGunnar Mills         "CurrentCritical",
244665e7602SGunnar Mills         {
245665e7602SGunnar Mills             "Indicates that a current reading exceeds an internal critical level.",
246665e7602SGunnar Mills             "Current '%1' reading of %2 amperes exceeds the critical level.",
247665e7602SGunnar Mills             "Critical",
248665e7602SGunnar Mills             2,
249665e7602SGunnar Mills             {
250665e7602SGunnar Mills                 "string",
251665e7602SGunnar Mills                 "number",
252665e7602SGunnar Mills             },
253665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
254665e7602SGunnar Mills         }},
255665e7602SGunnar Mills     MessageEntry{
256665e7602SGunnar Mills         "CurrentNoLongerCritical",
257665e7602SGunnar Mills         {
258665e7602SGunnar Mills             "Indicates that a current reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
259665e7602SGunnar Mills             "Current '%1' reading of %2 amperes no longer exceeds the critical level.",
260665e7602SGunnar Mills             "Warning",
261665e7602SGunnar Mills             2,
262665e7602SGunnar Mills             {
263665e7602SGunnar Mills                 "string",
264665e7602SGunnar Mills                 "number",
265665e7602SGunnar Mills             },
266665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
267665e7602SGunnar Mills         }},
268665e7602SGunnar Mills     MessageEntry{
269665e7602SGunnar Mills         "CurrentNormal",
270665e7602SGunnar Mills         {
271665e7602SGunnar Mills             "Indicates that a current reading is now within normal operating range.",
272665e7602SGunnar Mills             "Current '%1' reading of %2 amperes is within normal operating range.",
273665e7602SGunnar Mills             "OK",
274665e7602SGunnar Mills             2,
275665e7602SGunnar Mills             {
276665e7602SGunnar Mills                 "string",
277665e7602SGunnar Mills                 "number",
278665e7602SGunnar Mills             },
279665e7602SGunnar Mills             "None.",
280665e7602SGunnar Mills         }},
281665e7602SGunnar Mills     MessageEntry{
282665e7602SGunnar Mills         "CurrentWarning",
283665e7602SGunnar Mills         {
284665e7602SGunnar Mills             "Indicates that a current reading exceeds an internal warning level.",
285665e7602SGunnar Mills             "Current '%1' reading of %2 amperes exceeds the warning level.",
286665e7602SGunnar Mills             "Warning",
287665e7602SGunnar Mills             2,
288665e7602SGunnar Mills             {
289665e7602SGunnar Mills                 "string",
290665e7602SGunnar Mills                 "number",
291665e7602SGunnar Mills             },
292665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
293665e7602SGunnar Mills         }},
294665e7602SGunnar Mills     MessageEntry{
295665e7602SGunnar Mills         "FrequencyAboveLowerCriticalThreshold",
296665e7602SGunnar Mills         {
297665e7602SGunnar Mills             "Indicates that a frequency reading is no longer below the lower critical threshold but is still outside of normal operating range.",
298665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is now above the %3 lower critical threshold but remains outside of normal range.",
299665e7602SGunnar Mills             "Warning",
300665e7602SGunnar Mills             3,
301665e7602SGunnar Mills             {
302665e7602SGunnar Mills                 "string",
303665e7602SGunnar Mills                 "number",
304665e7602SGunnar Mills                 "number",
305665e7602SGunnar Mills             },
306665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
307665e7602SGunnar Mills         }},
308665e7602SGunnar Mills     MessageEntry{
309665e7602SGunnar Mills         "FrequencyAboveUpperCautionThreshold",
310665e7602SGunnar Mills         {
311665e7602SGunnar Mills             "Indicates that a frequency reading is above the upper caution threshold.",
312665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is above the %3 upper caution threshold.",
313665e7602SGunnar Mills             "Warning",
314665e7602SGunnar Mills             3,
315665e7602SGunnar Mills             {
316665e7602SGunnar Mills                 "string",
317665e7602SGunnar Mills                 "number",
318665e7602SGunnar Mills                 "number",
319665e7602SGunnar Mills             },
320665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
321665e7602SGunnar Mills         }},
322665e7602SGunnar Mills     MessageEntry{
323665e7602SGunnar Mills         "FrequencyAboveUpperCriticalThreshold",
324665e7602SGunnar Mills         {
325665e7602SGunnar Mills             "Indicates that a frequency reading is above the upper critical threshold.",
326665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is above the %3 upper critical threshold.",
327665e7602SGunnar Mills             "Critical",
328665e7602SGunnar Mills             3,
329665e7602SGunnar Mills             {
330665e7602SGunnar Mills                 "string",
331665e7602SGunnar Mills                 "number",
332665e7602SGunnar Mills                 "number",
333665e7602SGunnar Mills             },
334665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
335665e7602SGunnar Mills         }},
336665e7602SGunnar Mills     MessageEntry{
337665e7602SGunnar Mills         "FrequencyBelowLowerCautionThreshold",
338665e7602SGunnar Mills         {
339665e7602SGunnar Mills             "Indicates that a frequency reading is below the lower caution threshold.",
340665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is below the %3 lower caution threshold.",
341665e7602SGunnar Mills             "Warning",
342665e7602SGunnar Mills             3,
343665e7602SGunnar Mills             {
344665e7602SGunnar Mills                 "string",
345665e7602SGunnar Mills                 "number",
346665e7602SGunnar Mills                 "number",
347665e7602SGunnar Mills             },
348665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
349665e7602SGunnar Mills         }},
350665e7602SGunnar Mills     MessageEntry{
351665e7602SGunnar Mills         "FrequencyBelowLowerCriticalThreshold",
352665e7602SGunnar Mills         {
353665e7602SGunnar Mills             "Indicates that a frequency reading is below the lower critical threshold.",
354665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is below the %3 lower critical threshold.",
355665e7602SGunnar Mills             "Critical",
356665e7602SGunnar Mills             3,
357665e7602SGunnar Mills             {
358665e7602SGunnar Mills                 "string",
359665e7602SGunnar Mills                 "number",
360665e7602SGunnar Mills                 "number",
361665e7602SGunnar Mills             },
362665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
363665e7602SGunnar Mills         }},
364665e7602SGunnar Mills     MessageEntry{
365665e7602SGunnar Mills         "FrequencyBelowUpperCriticalThreshold",
366665e7602SGunnar Mills         {
367665e7602SGunnar Mills             "Indicates that a frequency reading is no longer above the upper critical threshold but is still outside of normal operating range.",
368665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is now below the %3 upper critical threshold but remains outside of normal range.",
369665e7602SGunnar Mills             "Warning",
370665e7602SGunnar Mills             3,
371665e7602SGunnar Mills             {
372665e7602SGunnar Mills                 "string",
373665e7602SGunnar Mills                 "number",
374665e7602SGunnar Mills                 "number",
375665e7602SGunnar Mills             },
376665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
377665e7602SGunnar Mills         }},
378665e7602SGunnar Mills     MessageEntry{
379665e7602SGunnar Mills         "FrequencyCritical",
380665e7602SGunnar Mills         {
381665e7602SGunnar Mills             "Indicates that a frequency reading exceeds an internal critical level.",
382665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz exceeds the critical level.",
383665e7602SGunnar Mills             "Critical",
384665e7602SGunnar Mills             2,
385665e7602SGunnar Mills             {
386665e7602SGunnar Mills                 "string",
387665e7602SGunnar Mills                 "number",
388665e7602SGunnar Mills             },
389665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
390665e7602SGunnar Mills         }},
391665e7602SGunnar Mills     MessageEntry{
392665e7602SGunnar Mills         "FrequencyNoLongerCritical",
393665e7602SGunnar Mills         {
394665e7602SGunnar Mills             "Indicates that a frequency reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
395665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz no longer exceeds the critical level.",
396665e7602SGunnar Mills             "Warning",
397665e7602SGunnar Mills             2,
398665e7602SGunnar Mills             {
399665e7602SGunnar Mills                 "string",
400665e7602SGunnar Mills                 "number",
401665e7602SGunnar Mills             },
402665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
403665e7602SGunnar Mills         }},
404665e7602SGunnar Mills     MessageEntry{
405665e7602SGunnar Mills         "FrequencyNormal",
406665e7602SGunnar Mills         {
407665e7602SGunnar Mills             "Indicates that a frequency reading is now within normal operating range.",
408665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz is within normal operating range.",
409665e7602SGunnar Mills             "OK",
410665e7602SGunnar Mills             2,
411665e7602SGunnar Mills             {
412665e7602SGunnar Mills                 "string",
413665e7602SGunnar Mills                 "number",
414665e7602SGunnar Mills             },
415665e7602SGunnar Mills             "None.",
416665e7602SGunnar Mills         }},
417665e7602SGunnar Mills     MessageEntry{
418665e7602SGunnar Mills         "FrequencyWarning",
419665e7602SGunnar Mills         {
420665e7602SGunnar Mills             "Indicates that a frequency reading exceeds an internal warning level.",
421665e7602SGunnar Mills             "Frequency '%1' reading of %2 hertz exceeds the warning level.",
422665e7602SGunnar Mills             "Warning",
423665e7602SGunnar Mills             2,
424665e7602SGunnar Mills             {
425665e7602SGunnar Mills                 "string",
426665e7602SGunnar Mills                 "number",
427665e7602SGunnar Mills             },
428665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
429665e7602SGunnar Mills         }},
430665e7602SGunnar Mills     MessageEntry{
431665e7602SGunnar Mills         "LineInputPowerFault",
432665e7602SGunnar Mills         {
433665e7602SGunnar Mills             "Indicates a fault on an electrical power input.",
434665e7602SGunnar Mills             "Line input power fault at '%1'.",
435665e7602SGunnar Mills             "Warning",
436665e7602SGunnar Mills             1,
437665e7602SGunnar Mills             {
438665e7602SGunnar Mills                 "string",
439665e7602SGunnar Mills             },
440665e7602SGunnar Mills             "Check the electrical power input and connections.",
441665e7602SGunnar Mills         }},
442665e7602SGunnar Mills     MessageEntry{
443665e7602SGunnar Mills         "LineInputPowerRestored",
444665e7602SGunnar Mills         {
445665e7602SGunnar Mills             "Indicates that an electrical power input was restored to normal operation.",
446665e7602SGunnar Mills             "Line input power at '%1' was restored.",
447665e7602SGunnar Mills             "OK",
448665e7602SGunnar Mills             1,
449665e7602SGunnar Mills             {
450665e7602SGunnar Mills                 "string",
451665e7602SGunnar Mills             },
452665e7602SGunnar Mills             "None.",
453665e7602SGunnar Mills         }},
454665e7602SGunnar Mills     MessageEntry{
455665e7602SGunnar Mills         "LossOfInputPower",
456665e7602SGunnar Mills         {
457665e7602SGunnar Mills             "Indicates a loss of power at an electrical input.",
458665e7602SGunnar Mills             "Loss of input power at '%1'.",
459665e7602SGunnar Mills             "Warning",
460665e7602SGunnar Mills             1,
461665e7602SGunnar Mills             {
462665e7602SGunnar Mills                 "string",
463665e7602SGunnar Mills             },
464665e7602SGunnar Mills             "Check the electrical power input and connections.",
465665e7602SGunnar Mills         }},
466665e7602SGunnar Mills     MessageEntry{
467665e7602SGunnar Mills         "OutletPoweredOff",
468665e7602SGunnar Mills         {
469665e7602SGunnar Mills             "Indicates that an outlet was powered off.",
470665e7602SGunnar Mills             "Outlet '%1' powered off.",
471665e7602SGunnar Mills             "OK",
472665e7602SGunnar Mills             1,
473665e7602SGunnar Mills             {
474665e7602SGunnar Mills                 "string",
475665e7602SGunnar Mills             },
476665e7602SGunnar Mills             "None.",
477665e7602SGunnar Mills         }},
478665e7602SGunnar Mills     MessageEntry{
479665e7602SGunnar Mills         "OutletPoweredOn",
480665e7602SGunnar Mills         {
481665e7602SGunnar Mills             "Indicates that an outlet was powered on.",
482665e7602SGunnar Mills             "Outlet '%1' powered on.",
483665e7602SGunnar Mills             "OK",
484665e7602SGunnar Mills             1,
485665e7602SGunnar Mills             {
486665e7602SGunnar Mills                 "string",
487665e7602SGunnar Mills             },
488665e7602SGunnar Mills             "None.",
489665e7602SGunnar Mills         }},
490665e7602SGunnar Mills     MessageEntry{
491665e7602SGunnar Mills         "PowerAboveLowerCriticalThreshold",
492665e7602SGunnar Mills         {
493665e7602SGunnar Mills             "Indicates that a power reading is no longer below the lower critical threshold but is still outside of normal operating range.",
494665e7602SGunnar Mills             "Power '%1' reading of %2 watts is now above the %3 lower critical threshold but remains outside of normal range.",
495665e7602SGunnar Mills             "Warning",
496665e7602SGunnar Mills             3,
497665e7602SGunnar Mills             {
498665e7602SGunnar Mills                 "string",
499665e7602SGunnar Mills                 "number",
500665e7602SGunnar Mills                 "number",
501665e7602SGunnar Mills             },
502665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
503665e7602SGunnar Mills         }},
504665e7602SGunnar Mills     MessageEntry{
505665e7602SGunnar Mills         "PowerAboveLowerFatalThreshold",
506665e7602SGunnar Mills         {
507665e7602SGunnar Mills             "Indicates that a power reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
508665e7602SGunnar Mills             "Power '%1' reading of %2 watts is now above the %3 lower fatal threshold but remains outside of normal range.",
509665e7602SGunnar Mills             "Critical",
510665e7602SGunnar Mills             3,
511665e7602SGunnar Mills             {
512665e7602SGunnar Mills                 "string",
513665e7602SGunnar Mills                 "number",
514665e7602SGunnar Mills                 "number",
515665e7602SGunnar Mills             },
516665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
517665e7602SGunnar Mills         }},
518665e7602SGunnar Mills     MessageEntry{
519665e7602SGunnar Mills         "PowerAboveUpperCautionThreshold",
520665e7602SGunnar Mills         {
521665e7602SGunnar Mills             "Indicates that a power reading is above the upper caution threshold.",
522665e7602SGunnar Mills             "Power '%1' reading of %2 watts is above the %3 upper caution threshold.",
523665e7602SGunnar Mills             "Warning",
524665e7602SGunnar Mills             3,
525665e7602SGunnar Mills             {
526665e7602SGunnar Mills                 "string",
527665e7602SGunnar Mills                 "number",
528665e7602SGunnar Mills                 "number",
529665e7602SGunnar Mills             },
530665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
531665e7602SGunnar Mills         }},
532665e7602SGunnar Mills     MessageEntry{
533665e7602SGunnar Mills         "PowerAboveUpperCriticalThreshold",
534665e7602SGunnar Mills         {
535665e7602SGunnar Mills             "Indicates that a power reading is above the upper critical threshold.",
536665e7602SGunnar Mills             "Power '%1' reading of %2 watts is above the %3 upper critical threshold.",
537665e7602SGunnar Mills             "Critical",
538665e7602SGunnar Mills             3,
539665e7602SGunnar Mills             {
540665e7602SGunnar Mills                 "string",
541665e7602SGunnar Mills                 "number",
542665e7602SGunnar Mills                 "number",
543665e7602SGunnar Mills             },
544665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
545665e7602SGunnar Mills         }},
546665e7602SGunnar Mills     MessageEntry{
547665e7602SGunnar Mills         "PowerAboveUpperFatalThreshold",
548665e7602SGunnar Mills         {
549665e7602SGunnar Mills             "Indicates that a power reading is above the upper fatal threshold.",
550665e7602SGunnar Mills             "Power '%1' reading of %2 watts is above the %3 upper fatal threshold.",
551665e7602SGunnar Mills             "Critical",
552665e7602SGunnar Mills             3,
553665e7602SGunnar Mills             {
554665e7602SGunnar Mills                 "string",
555665e7602SGunnar Mills                 "number",
556665e7602SGunnar Mills                 "number",
557665e7602SGunnar Mills             },
558665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
559665e7602SGunnar Mills         }},
560665e7602SGunnar Mills     MessageEntry{
561665e7602SGunnar Mills         "PowerBelowLowerCautionThreshold",
562665e7602SGunnar Mills         {
563665e7602SGunnar Mills             "Indicates that a power reading is below the lower caution threshold.",
564665e7602SGunnar Mills             "Power '%1' reading of %2 watts is below the %3 lower caution threshold.",
565665e7602SGunnar Mills             "Warning",
566665e7602SGunnar Mills             3,
567665e7602SGunnar Mills             {
568665e7602SGunnar Mills                 "string",
569665e7602SGunnar Mills                 "number",
570665e7602SGunnar Mills                 "number",
571665e7602SGunnar Mills             },
572665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
573665e7602SGunnar Mills         }},
574665e7602SGunnar Mills     MessageEntry{
575665e7602SGunnar Mills         "PowerBelowLowerCriticalThreshold",
576665e7602SGunnar Mills         {
577665e7602SGunnar Mills             "Indicates that a power reading is below the lower critical threshold.",
578665e7602SGunnar Mills             "Power '%1' reading of %2 watts is below the %3 lower critical threshold.",
579665e7602SGunnar Mills             "Critical",
580665e7602SGunnar Mills             3,
581665e7602SGunnar Mills             {
582665e7602SGunnar Mills                 "string",
583665e7602SGunnar Mills                 "number",
584665e7602SGunnar Mills                 "number",
585665e7602SGunnar Mills             },
586665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
587665e7602SGunnar Mills         }},
588665e7602SGunnar Mills     MessageEntry{
589665e7602SGunnar Mills         "PowerBelowLowerFatalThreshold",
590665e7602SGunnar Mills         {
591665e7602SGunnar Mills             "Indicates that a power reading is below the lower fatal threshold.",
592665e7602SGunnar Mills             "Power '%1' reading of %2 watts is below the %3 lower fatal threshold.",
593665e7602SGunnar Mills             "Critical",
594665e7602SGunnar Mills             3,
595665e7602SGunnar Mills             {
596665e7602SGunnar Mills                 "string",
597665e7602SGunnar Mills                 "number",
598665e7602SGunnar Mills                 "number",
599665e7602SGunnar Mills             },
600665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
601665e7602SGunnar Mills         }},
602665e7602SGunnar Mills     MessageEntry{
603665e7602SGunnar Mills         "PowerBelowUpperCriticalThreshold",
604665e7602SGunnar Mills         {
605665e7602SGunnar Mills             "Indicates that a power reading is no longer above the upper critical threshold but is still outside of normal operating range.",
606665e7602SGunnar Mills             "Power '%1' reading of %2 watts is now below the %3 upper critical threshold but remains outside of normal range.",
607665e7602SGunnar Mills             "Warning",
608665e7602SGunnar Mills             3,
609665e7602SGunnar Mills             {
610665e7602SGunnar Mills                 "string",
611665e7602SGunnar Mills                 "number",
612665e7602SGunnar Mills                 "number",
613665e7602SGunnar Mills             },
614665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
615665e7602SGunnar Mills         }},
616665e7602SGunnar Mills     MessageEntry{
617665e7602SGunnar Mills         "PowerBelowUpperFatalThreshold",
618665e7602SGunnar Mills         {
619665e7602SGunnar Mills             "Indicates that a power reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
620665e7602SGunnar Mills             "Power '%1' reading of %2 watts is now below the %3 upper fatal threshold but remains outside of normal range.",
621665e7602SGunnar Mills             "Critical",
622665e7602SGunnar Mills             3,
623665e7602SGunnar Mills             {
624665e7602SGunnar Mills                 "string",
625665e7602SGunnar Mills                 "number",
626665e7602SGunnar Mills                 "number",
627665e7602SGunnar Mills             },
628665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
629665e7602SGunnar Mills         }},
630665e7602SGunnar Mills     MessageEntry{
631665e7602SGunnar Mills         "PowerCritical",
632665e7602SGunnar Mills         {
633665e7602SGunnar Mills             "Indicates that a power reading exceeds an internal critical level.",
634665e7602SGunnar Mills             "Power '%1' reading of %2 watts exceeds the critical level.",
635665e7602SGunnar Mills             "Critical",
636665e7602SGunnar Mills             2,
637665e7602SGunnar Mills             {
638665e7602SGunnar Mills                 "string",
639665e7602SGunnar Mills                 "number",
640665e7602SGunnar Mills             },
641665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
642665e7602SGunnar Mills         }},
643665e7602SGunnar Mills     MessageEntry{
644665e7602SGunnar Mills         "PowerNoLongerCritical",
645665e7602SGunnar Mills         {
646665e7602SGunnar Mills             "Indicates that a power reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
647665e7602SGunnar Mills             "Power '%1' reading of %2 watts no longer exceeds the critical level.",
648665e7602SGunnar Mills             "Warning",
649665e7602SGunnar Mills             2,
650665e7602SGunnar Mills             {
651665e7602SGunnar Mills                 "string",
652665e7602SGunnar Mills                 "number",
653665e7602SGunnar Mills             },
654665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
655665e7602SGunnar Mills         }},
656665e7602SGunnar Mills     MessageEntry{
657665e7602SGunnar Mills         "PowerNormal",
658665e7602SGunnar Mills         {
659665e7602SGunnar Mills             "Indicates that a power reading is now within normal operating range.",
660665e7602SGunnar Mills             "Power '%1' reading of %2 watts is within normal operating range.",
661665e7602SGunnar Mills             "OK",
662665e7602SGunnar Mills             2,
663665e7602SGunnar Mills             {
664665e7602SGunnar Mills                 "string",
665665e7602SGunnar Mills                 "number",
666665e7602SGunnar Mills             },
667665e7602SGunnar Mills             "None.",
668665e7602SGunnar Mills         }},
669665e7602SGunnar Mills     MessageEntry{
670665e7602SGunnar Mills         "PowerSupplyFailed",
671665e7602SGunnar Mills         {
672665e7602SGunnar Mills             "Indicates that a power supply has failed.",
673665e7602SGunnar Mills             "Power supply '%1' has failed.",
674665e7602SGunnar Mills             "Warning",
675665e7602SGunnar Mills             1,
676665e7602SGunnar Mills             {
677665e7602SGunnar Mills                 "string",
678665e7602SGunnar Mills             },
679665e7602SGunnar Mills             "Check the power supply hardware and replace any faulty component.",
680665e7602SGunnar Mills         }},
681665e7602SGunnar Mills     MessageEntry{
682665e7602SGunnar Mills         "PowerSupplyGroupCritical",
683665e7602SGunnar Mills         {
684665e7602SGunnar Mills             "Indicates that a power supply group has a critical status.",
685665e7602SGunnar Mills             "Power supply group '%1' is in a critical state.",
686665e7602SGunnar Mills             "Critical",
687665e7602SGunnar Mills             1,
688665e7602SGunnar Mills             {
689665e7602SGunnar Mills                 "string",
690665e7602SGunnar Mills             },
691665e7602SGunnar Mills             "None.",
692665e7602SGunnar Mills         }},
693665e7602SGunnar Mills     MessageEntry{
694665e7602SGunnar Mills         "PowerSupplyGroupNormal",
695665e7602SGunnar Mills         {
696665e7602SGunnar Mills             "Indicates that a power supply group has returned to normal operations.",
697665e7602SGunnar Mills             "Power supply group '%1' is operating normally.",
698665e7602SGunnar Mills             "OK",
699665e7602SGunnar Mills             1,
700665e7602SGunnar Mills             {
701665e7602SGunnar Mills                 "string",
702665e7602SGunnar Mills             },
703665e7602SGunnar Mills             "None.",
704665e7602SGunnar Mills         }},
705665e7602SGunnar Mills     MessageEntry{
706665e7602SGunnar Mills         "PowerSupplyGroupWarning",
707665e7602SGunnar Mills         {
708665e7602SGunnar Mills             "Indicates that a power supply group has a warning status.",
709665e7602SGunnar Mills             "Power supply group '%1' is in a warning state.",
710665e7602SGunnar Mills             "Warning",
711665e7602SGunnar Mills             1,
712665e7602SGunnar Mills             {
713665e7602SGunnar Mills                 "string",
714665e7602SGunnar Mills             },
715665e7602SGunnar Mills             "None.",
716665e7602SGunnar Mills         }},
717665e7602SGunnar Mills     MessageEntry{
718665e7602SGunnar Mills         "PowerSupplyInserted",
719665e7602SGunnar Mills         {
720665e7602SGunnar Mills             "Indicates that a power supply was inserted or installed.",
721665e7602SGunnar Mills             "Power supply '%1' was inserted.",
722665e7602SGunnar Mills             "OK",
723665e7602SGunnar Mills             1,
724665e7602SGunnar Mills             {
725665e7602SGunnar Mills                 "string",
726665e7602SGunnar Mills             },
727665e7602SGunnar Mills             "None.",
728665e7602SGunnar Mills         }},
729665e7602SGunnar Mills     MessageEntry{
730665e7602SGunnar Mills         "PowerSupplyPredictiveFailure",
731665e7602SGunnar Mills         {
732665e7602SGunnar Mills             "Indicates that the power supply predicted a future failure condition.",
733665e7602SGunnar Mills             "Power supply '%1' has a predicted failure condition.",
734665e7602SGunnar Mills             "Warning",
735665e7602SGunnar Mills             1,
736665e7602SGunnar Mills             {
737665e7602SGunnar Mills                 "string",
738665e7602SGunnar Mills             },
739665e7602SGunnar Mills             "Check the power supply hardware and replace any faulty component.",
740665e7602SGunnar Mills         }},
741665e7602SGunnar Mills     MessageEntry{
742665e7602SGunnar Mills         "PowerSupplyRemoved",
743665e7602SGunnar Mills         {
744665e7602SGunnar Mills             "Indicates that a power supply was removed.",
745665e7602SGunnar Mills             "Power supply '%1' was removed.",
746665e7602SGunnar Mills             "OK",
747665e7602SGunnar Mills             1,
748665e7602SGunnar Mills             {
749665e7602SGunnar Mills                 "string",
750665e7602SGunnar Mills             },
751665e7602SGunnar Mills             "None.",
752665e7602SGunnar Mills         }},
753665e7602SGunnar Mills     MessageEntry{
754665e7602SGunnar Mills         "PowerSupplyRestored",
755665e7602SGunnar Mills         {
756665e7602SGunnar Mills             "Indicates that a power supply was repaired or restored to normal operation.",
757665e7602SGunnar Mills             "Power supply '%1' was restored.",
758665e7602SGunnar Mills             "OK",
759665e7602SGunnar Mills             1,
760665e7602SGunnar Mills             {
761665e7602SGunnar Mills                 "string",
762665e7602SGunnar Mills             },
763665e7602SGunnar Mills             "None.",
764665e7602SGunnar Mills         }},
765665e7602SGunnar Mills     MessageEntry{
766665e7602SGunnar Mills         "PowerSupplyWarning",
767665e7602SGunnar Mills         {
768665e7602SGunnar Mills             "Indicates that a power supply has a warning condition.",
769665e7602SGunnar Mills             "Power supply '%1' has a warning condition.",
770665e7602SGunnar Mills             "Warning",
771665e7602SGunnar Mills             1,
772665e7602SGunnar Mills             {
773665e7602SGunnar Mills                 "string",
774665e7602SGunnar Mills             },
775665e7602SGunnar Mills             "Check the power supply hardware and replace any faulty component.",
776665e7602SGunnar Mills         }},
777665e7602SGunnar Mills     MessageEntry{
778665e7602SGunnar Mills         "PowerWarning",
779665e7602SGunnar Mills         {
780665e7602SGunnar Mills             "Indicates that a power reading exceeds an internal warning level.",
781665e7602SGunnar Mills             "Power '%1' reading of %2 watts exceeds the warning level.",
782665e7602SGunnar Mills             "Warning",
783665e7602SGunnar Mills             2,
784665e7602SGunnar Mills             {
785665e7602SGunnar Mills                 "string",
786665e7602SGunnar Mills                 "number",
787665e7602SGunnar Mills             },
788665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
789665e7602SGunnar Mills         }},
790665e7602SGunnar Mills     MessageEntry{
791665e7602SGunnar Mills         "VoltageAboveLowerCriticalThreshold",
792665e7602SGunnar Mills         {
793665e7602SGunnar Mills             "Indicates that a voltage reading is no longer below the lower critical threshold but is still outside of normal operating range.",
794665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is now above the %3 lower critical threshold but remains outside of normal range.",
795665e7602SGunnar Mills             "Warning",
796665e7602SGunnar Mills             3,
797665e7602SGunnar Mills             {
798665e7602SGunnar Mills                 "string",
799665e7602SGunnar Mills                 "number",
800665e7602SGunnar Mills                 "number",
801665e7602SGunnar Mills             },
802665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
803665e7602SGunnar Mills         }},
804665e7602SGunnar Mills     MessageEntry{
805665e7602SGunnar Mills         "VoltageAboveLowerFatalThreshold",
806665e7602SGunnar Mills         {
807665e7602SGunnar Mills             "Indicates that a voltage reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
808665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is now above the %3 lower fatal threshold but remains outside of normal range.",
809665e7602SGunnar Mills             "Critical",
810665e7602SGunnar Mills             3,
811665e7602SGunnar Mills             {
812665e7602SGunnar Mills                 "string",
813665e7602SGunnar Mills                 "number",
814665e7602SGunnar Mills                 "number",
815665e7602SGunnar Mills             },
816665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
817665e7602SGunnar Mills         }},
818665e7602SGunnar Mills     MessageEntry{
819665e7602SGunnar Mills         "VoltageAboveUpperCautionThreshold",
820665e7602SGunnar Mills         {
821665e7602SGunnar Mills             "Indicates that a voltage reading is above the upper caution threshold.",
822665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is above the %3 upper caution threshold.",
823665e7602SGunnar Mills             "Warning",
824665e7602SGunnar Mills             3,
825665e7602SGunnar Mills             {
826665e7602SGunnar Mills                 "string",
827665e7602SGunnar Mills                 "number",
828665e7602SGunnar Mills                 "number",
829665e7602SGunnar Mills             },
830665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
831665e7602SGunnar Mills         }},
832665e7602SGunnar Mills     MessageEntry{
833665e7602SGunnar Mills         "VoltageAboveUpperCriticalThreshold",
834665e7602SGunnar Mills         {
835665e7602SGunnar Mills             "Indicates that a voltage reading is above the upper critical threshold.",
836665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is above the %3 upper critical threshold.",
837665e7602SGunnar Mills             "Critical",
838665e7602SGunnar Mills             3,
839665e7602SGunnar Mills             {
840665e7602SGunnar Mills                 "string",
841665e7602SGunnar Mills                 "number",
842665e7602SGunnar Mills                 "number",
843665e7602SGunnar Mills             },
844665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
845665e7602SGunnar Mills         }},
846665e7602SGunnar Mills     MessageEntry{
847665e7602SGunnar Mills         "VoltageAboveUpperFatalThreshold",
848665e7602SGunnar Mills         {
849665e7602SGunnar Mills             "Indicates that a voltage reading is above the upper fatal threshold.",
850665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is above the %3 upper fatal threshold.",
851665e7602SGunnar Mills             "Critical",
852665e7602SGunnar Mills             3,
853665e7602SGunnar Mills             {
854665e7602SGunnar Mills                 "string",
855665e7602SGunnar Mills                 "number",
856665e7602SGunnar Mills                 "number",
857665e7602SGunnar Mills             },
858665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
859665e7602SGunnar Mills         }},
860665e7602SGunnar Mills     MessageEntry{
861665e7602SGunnar Mills         "VoltageBelowLowerCautionThreshold",
862665e7602SGunnar Mills         {
863665e7602SGunnar Mills             "Indicates that a voltage reading is below the lower caution threshold.",
864665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is below the %3 lower caution threshold.",
865665e7602SGunnar Mills             "Warning",
866665e7602SGunnar Mills             3,
867665e7602SGunnar Mills             {
868665e7602SGunnar Mills                 "string",
869665e7602SGunnar Mills                 "number",
870665e7602SGunnar Mills                 "number",
871665e7602SGunnar Mills             },
872665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
873665e7602SGunnar Mills         }},
874665e7602SGunnar Mills     MessageEntry{
875665e7602SGunnar Mills         "VoltageBelowLowerCriticalThreshold",
876665e7602SGunnar Mills         {
877665e7602SGunnar Mills             "Indicates that a voltage reading is below the lower critical threshold.",
878665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is below the %3 lower critical threshold.",
879665e7602SGunnar Mills             "Critical",
880665e7602SGunnar Mills             3,
881665e7602SGunnar Mills             {
882665e7602SGunnar Mills                 "string",
883665e7602SGunnar Mills                 "number",
884665e7602SGunnar Mills                 "number",
885665e7602SGunnar Mills             },
886665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
887665e7602SGunnar Mills         }},
888665e7602SGunnar Mills     MessageEntry{
889665e7602SGunnar Mills         "VoltageBelowLowerFatalThreshold",
890665e7602SGunnar Mills         {
891665e7602SGunnar Mills             "Indicates that a voltage reading is below the lower fatal threshold.",
892665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is below the %3 lower fatal threshold.",
893665e7602SGunnar Mills             "Critical",
894665e7602SGunnar Mills             3,
895665e7602SGunnar Mills             {
896665e7602SGunnar Mills                 "string",
897665e7602SGunnar Mills                 "number",
898665e7602SGunnar Mills                 "number",
899665e7602SGunnar Mills             },
900665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
901665e7602SGunnar Mills         }},
902665e7602SGunnar Mills     MessageEntry{
903665e7602SGunnar Mills         "VoltageBelowUpperCriticalThreshold",
904665e7602SGunnar Mills         {
905665e7602SGunnar Mills             "Indicates that a voltage reading is no longer above the upper critical threshold but is still outside of normal operating range.",
906665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is now below the %3 upper critical threshold but remains outside of normal range.",
907665e7602SGunnar Mills             "Warning",
908665e7602SGunnar Mills             3,
909665e7602SGunnar Mills             {
910665e7602SGunnar Mills                 "string",
911665e7602SGunnar Mills                 "number",
912665e7602SGunnar Mills                 "number",
913665e7602SGunnar Mills             },
914665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
915665e7602SGunnar Mills         }},
916665e7602SGunnar Mills     MessageEntry{
917665e7602SGunnar Mills         "VoltageBelowUpperFatalThreshold",
918665e7602SGunnar Mills         {
919665e7602SGunnar Mills             "Indicates that a voltage reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
920665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is now below the %3 upper fatal threshold but remains outside of normal range.",
921665e7602SGunnar Mills             "Critical",
922665e7602SGunnar Mills             3,
923665e7602SGunnar Mills             {
924665e7602SGunnar Mills                 "string",
925665e7602SGunnar Mills                 "number",
926665e7602SGunnar Mills                 "number",
927665e7602SGunnar Mills             },
928665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
929665e7602SGunnar Mills         }},
930665e7602SGunnar Mills     MessageEntry{
931665e7602SGunnar Mills         "VoltageCritical",
932665e7602SGunnar Mills         {
933665e7602SGunnar Mills             "Indicates that a voltage reading exceeds an internal critical level.",
934665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts exceeds the critical level.",
935665e7602SGunnar Mills             "Critical",
936665e7602SGunnar Mills             2,
937665e7602SGunnar Mills             {
938665e7602SGunnar Mills                 "string",
939665e7602SGunnar Mills                 "number",
940665e7602SGunnar Mills             },
941665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
942665e7602SGunnar Mills         }},
943665e7602SGunnar Mills     MessageEntry{
944665e7602SGunnar Mills         "VoltageNoLongerCritical",
945665e7602SGunnar Mills         {
946665e7602SGunnar Mills             "Indicates that a voltage reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
947665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts no longer exceeds the critical level.",
948665e7602SGunnar Mills             "Warning",
949665e7602SGunnar Mills             2,
950665e7602SGunnar Mills             {
951665e7602SGunnar Mills                 "string",
952665e7602SGunnar Mills                 "number",
953665e7602SGunnar Mills             },
954665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
955665e7602SGunnar Mills         }},
956665e7602SGunnar Mills     MessageEntry{
957665e7602SGunnar Mills         "VoltageNormal",
958665e7602SGunnar Mills         {
959665e7602SGunnar Mills             "Indicates that a voltage reading is now within normal operating range.",
960665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts is within normal operating range.",
961665e7602SGunnar Mills             "OK",
962665e7602SGunnar Mills             2,
963665e7602SGunnar Mills             {
964665e7602SGunnar Mills                 "string",
965665e7602SGunnar Mills                 "number",
966665e7602SGunnar Mills             },
967665e7602SGunnar Mills             "None.",
968665e7602SGunnar Mills         }},
969665e7602SGunnar Mills     MessageEntry{
970665e7602SGunnar Mills         "VoltageWarning",
971665e7602SGunnar Mills         {
972665e7602SGunnar Mills             "Indicates that a voltage reading exceeds an internal warning level.",
973665e7602SGunnar Mills             "Voltage '%1' reading of %2 volts exceeds the warning level.",
974665e7602SGunnar Mills             "Warning",
975665e7602SGunnar Mills             2,
976665e7602SGunnar Mills             {
977665e7602SGunnar Mills                 "string",
978665e7602SGunnar Mills                 "number",
979665e7602SGunnar Mills             },
980665e7602SGunnar Mills             "Check the condition of the resource listed in OriginOfCondition.",
981665e7602SGunnar Mills         }},
982665e7602SGunnar Mills 
983665e7602SGunnar Mills };
984665e7602SGunnar Mills 
985665e7602SGunnar Mills enum class Index
986665e7602SGunnar Mills {
987665e7602SGunnar Mills     breakerFault = 0,
988665e7602SGunnar Mills     breakerReset = 1,
989665e7602SGunnar Mills     breakerTripped = 2,
990665e7602SGunnar Mills     circuitPoweredOff = 3,
991665e7602SGunnar Mills     circuitPoweredOn = 4,
992665e7602SGunnar Mills     currentAboveLowerCriticalThreshold = 5,
993665e7602SGunnar Mills     currentAboveLowerFatalThreshold = 6,
994665e7602SGunnar Mills     currentAboveUpperCautionThreshold = 7,
995665e7602SGunnar Mills     currentAboveUpperCriticalThreshold = 8,
996665e7602SGunnar Mills     currentAboveUpperFatalThreshold = 9,
997665e7602SGunnar Mills     currentBelowLowerCautionThreshold = 10,
998665e7602SGunnar Mills     currentBelowLowerCriticalThreshold = 11,
999665e7602SGunnar Mills     currentBelowLowerFatalThreshold = 12,
1000665e7602SGunnar Mills     currentBelowUpperCriticalThreshold = 13,
1001665e7602SGunnar Mills     currentBelowUpperFatalThreshold = 14,
1002665e7602SGunnar Mills     currentCritical = 15,
1003665e7602SGunnar Mills     currentNoLongerCritical = 16,
1004665e7602SGunnar Mills     currentNormal = 17,
1005665e7602SGunnar Mills     currentWarning = 18,
1006665e7602SGunnar Mills     frequencyAboveLowerCriticalThreshold = 19,
1007665e7602SGunnar Mills     frequencyAboveUpperCautionThreshold = 20,
1008665e7602SGunnar Mills     frequencyAboveUpperCriticalThreshold = 21,
1009665e7602SGunnar Mills     frequencyBelowLowerCautionThreshold = 22,
1010665e7602SGunnar Mills     frequencyBelowLowerCriticalThreshold = 23,
1011665e7602SGunnar Mills     frequencyBelowUpperCriticalThreshold = 24,
1012665e7602SGunnar Mills     frequencyCritical = 25,
1013665e7602SGunnar Mills     frequencyNoLongerCritical = 26,
1014665e7602SGunnar Mills     frequencyNormal = 27,
1015665e7602SGunnar Mills     frequencyWarning = 28,
1016665e7602SGunnar Mills     lineInputPowerFault = 29,
1017665e7602SGunnar Mills     lineInputPowerRestored = 30,
1018665e7602SGunnar Mills     lossOfInputPower = 31,
1019665e7602SGunnar Mills     outletPoweredOff = 32,
1020665e7602SGunnar Mills     outletPoweredOn = 33,
1021665e7602SGunnar Mills     powerAboveLowerCriticalThreshold = 34,
1022665e7602SGunnar Mills     powerAboveLowerFatalThreshold = 35,
1023665e7602SGunnar Mills     powerAboveUpperCautionThreshold = 36,
1024665e7602SGunnar Mills     powerAboveUpperCriticalThreshold = 37,
1025665e7602SGunnar Mills     powerAboveUpperFatalThreshold = 38,
1026665e7602SGunnar Mills     powerBelowLowerCautionThreshold = 39,
1027665e7602SGunnar Mills     powerBelowLowerCriticalThreshold = 40,
1028665e7602SGunnar Mills     powerBelowLowerFatalThreshold = 41,
1029665e7602SGunnar Mills     powerBelowUpperCriticalThreshold = 42,
1030665e7602SGunnar Mills     powerBelowUpperFatalThreshold = 43,
1031665e7602SGunnar Mills     powerCritical = 44,
1032665e7602SGunnar Mills     powerNoLongerCritical = 45,
1033665e7602SGunnar Mills     powerNormal = 46,
1034665e7602SGunnar Mills     powerSupplyFailed = 47,
1035665e7602SGunnar Mills     powerSupplyGroupCritical = 48,
1036665e7602SGunnar Mills     powerSupplyGroupNormal = 49,
1037665e7602SGunnar Mills     powerSupplyGroupWarning = 50,
1038665e7602SGunnar Mills     powerSupplyInserted = 51,
1039665e7602SGunnar Mills     powerSupplyPredictiveFailure = 52,
1040665e7602SGunnar Mills     powerSupplyRemoved = 53,
1041665e7602SGunnar Mills     powerSupplyRestored = 54,
1042665e7602SGunnar Mills     powerSupplyWarning = 55,
1043665e7602SGunnar Mills     powerWarning = 56,
1044665e7602SGunnar Mills     voltageAboveLowerCriticalThreshold = 57,
1045665e7602SGunnar Mills     voltageAboveLowerFatalThreshold = 58,
1046665e7602SGunnar Mills     voltageAboveUpperCautionThreshold = 59,
1047665e7602SGunnar Mills     voltageAboveUpperCriticalThreshold = 60,
1048665e7602SGunnar Mills     voltageAboveUpperFatalThreshold = 61,
1049665e7602SGunnar Mills     voltageBelowLowerCautionThreshold = 62,
1050665e7602SGunnar Mills     voltageBelowLowerCriticalThreshold = 63,
1051665e7602SGunnar Mills     voltageBelowLowerFatalThreshold = 64,
1052665e7602SGunnar Mills     voltageBelowUpperCriticalThreshold = 65,
1053665e7602SGunnar Mills     voltageBelowUpperFatalThreshold = 66,
1054665e7602SGunnar Mills     voltageCritical = 67,
1055665e7602SGunnar Mills     voltageNoLongerCritical = 68,
1056665e7602SGunnar Mills     voltageNormal = 69,
1057665e7602SGunnar Mills     voltageWarning = 70,
1058665e7602SGunnar Mills };
1059*4a102cd4SPatrick Williams }; // struct power
1060*4a102cd4SPatrick Williams 
1061*4a102cd4SPatrick Williams [[gnu::constructor]] inline void registerPower()
1062*4a102cd4SPatrick Williams { registerRegistry<Power>(); }
1063*4a102cd4SPatrick Williams 
1064*4a102cd4SPatrick Williams } // namespace redfish::registries
1065