redfish_codegen/registries/power/v1_0_0.rs
1// Generated by redfish-codegen. Do not modify.
2
3use redfish_macros::IntoRedfishMessage;
4
5/// This registry defines messages related to electrical measurements and power distribution equipment.
6#[derive(Clone, Debug, IntoRedfishMessage)]
7#[message(crate::models::message::v1_1_2::Message)]
8pub enum Power {
9 /// This message shall be used to indicate that a voltage reading violates a lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
10 #[message(message = "Voltage '%1' reading of %2 volts is below the %3 lower caution threshold.")]
11 #[message(id = "Power.1.0.0.VoltageBelowLowerCautionThreshold")]
12 #[message(severity = "crate::models::resource::Health::Warning")]
13 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
14 VoltageBelowLowerCautionThreshold(
15 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
16 String,
17 /// This argument shall contain the voltage in volts.
18 f64,
19 /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
20 f64,
21 ),
22 /// This message shall be used to indicate that a current reading, previously below the fatal threshold, no longer violates the lower fatal threshold. However, the current violates at least one lower threshold and is not within the normal operating range.
23 #[message(message = "Current '%1' reading of %2 amperes is now above the %3 lower fatal threshold but remains outside of normal range.")]
24 #[message(id = "Power.1.0.0.CurrentAboveLowerFatalThreshold")]
25 #[message(severity = "crate::models::resource::Health::Critical")]
26 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
27 CurrentAboveLowerFatalThreshold(
28 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
29 String,
30 /// This argument shall contain the current in amperes.
31 f64,
32 /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
33 f64,
34 ),
35 /// This message shall be used to indicate that a frequency reading, previously above the critical threshold, no longer violates the upper critical threshold. However, the frequency violates at least one upper threshold and is not within the normal operating range.
36 #[message(message = "Frequency '%1' reading of %2 hertz is now below the %3 upper critical threshold but remains outside of normal range.")]
37 #[message(id = "Power.1.0.0.FrequencyBelowUpperCriticalThreshold")]
38 #[message(severity = "crate::models::resource::Health::Warning")]
39 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
40 FrequencyBelowUpperCriticalThreshold(
41 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
42 String,
43 /// This argument shall contain the frequency in hertz units.
44 f64,
45 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
46 f64,
47 ),
48 /// This message shall be used to indicate that a voltage reading, previously above the critical threshold, no longer violates the upper critical threshold. However, the voltage violates at least one upper threshold and is not within the normal operating range.
49 #[message(message = "Voltage '%1' reading of %2 volts is now below the %3 upper critical threshold but remains outside of normal range.")]
50 #[message(id = "Power.1.0.0.VoltageBelowUpperCriticalThreshold")]
51 #[message(severity = "crate::models::resource::Health::Warning")]
52 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
53 VoltageBelowUpperCriticalThreshold(
54 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
55 String,
56 /// This argument shall contain the voltage in volts.
57 f64,
58 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
59 f64,
60 ),
61 /// This message shall be used to indicate that the value of the `PowerState` property of an `Outlet` resource changed to `On`.
62 #[message(message = "Outlet '%1' powered on.")]
63 #[message(id = "Power.1.0.0.OutletPoweredOn")]
64 #[message(severity = "crate::models::resource::Health::OK")]
65 #[message(resolution = "None.")]
66 OutletPoweredOn(
67 /// This argument shall contain a string that identifies or describes the `Outlet` resource.
68 String,
69 ),
70 /// This message shall be used to indicate that a current reading violates an internal warning level. This message shall be used for current-related properties or `Sensor` resources that implement boolean trip points for a caution limit, such as from hardware mechanisms with no threshold value. The current-related properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
71 #[message(message = "Current '%1' reading of %2 amperes exceeds the warning level.")]
72 #[message(id = "Power.1.0.0.CurrentWarning")]
73 #[message(severity = "crate::models::resource::Health::Warning")]
74 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
75 CurrentWarning(
76 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
77 String,
78 /// This argument shall contain the current in amperes.
79 f64,
80 ),
81 /// This message shall be used to indicate that a frequency reading no longer violates an internal critical level, but still exceeds an internal warning level. This message shall be used for frequency properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The frequency properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
82 #[message(message = "Frequency '%1' reading of %2 hertz no longer exceeds the critcal level.")]
83 #[message(id = "Power.1.0.0.FrequencyNoLongerCritical")]
84 #[message(severity = "crate::models::resource::Health::Warning")]
85 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
86 FrequencyNoLongerCritical(
87 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
88 String,
89 /// This argument shall contain the frequency in hertz.
90 f64,
91 ),
92 /// This message shall be used to indicate that a power supply was repaired, replaced, or otherwise returned to normal operation.
93 #[message(message = "Power supply '%1' was restored.")]
94 #[message(id = "Power.1.0.0.PowerSupplyRestored")]
95 #[message(severity = "crate::models::resource::Health::OK")]
96 #[message(resolution = "None.")]
97 PowerSupplyRestored(
98 /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
99 String,
100 ),
101 /// This message shall be used to indicate that a power supply has a warning condition, but continues to supply output power.
102 #[message(message = "Power supply '%1' has a warning condition.")]
103 #[message(id = "Power.1.0.0.PowerSupplyWarning")]
104 #[message(severity = "crate::models::resource::Health::Warning")]
105 #[message(resolution = "Check the power supply hardware and replace any faulty component.")]
106 PowerSupplyWarning(
107 /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
108 String,
109 ),
110 /// This message shall be used to indicate that a voltage reading, previously below the fatal threshold, no longer violates the lower fatal threshold. However, the voltage violates at least one lower threshold and is not within the normal operating range.
111 #[message(message = "Voltage '%1' reading of %2 volts is now above the %3 lower fatal threshold but remains outside of normal range.")]
112 #[message(id = "Power.1.0.0.VoltageAboveLowerFatalThreshold")]
113 #[message(severity = "crate::models::resource::Health::Critical")]
114 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
115 VoltageAboveLowerFatalThreshold(
116 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
117 String,
118 /// This argument shall contain the voltage in volts.
119 f64,
120 /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
121 f64,
122 ),
123 /// This message shall be used to indicate a power supply predicted a future failure condition, but the power supply remains functional.
124 #[message(message = "Power supply '%1' has a predicted failure condition.")]
125 #[message(id = "Power.1.0.0.PowerSupplyPredictiveFailure")]
126 #[message(severity = "crate::models::resource::Health::Warning")]
127 #[message(resolution = "Check the power supply hardware and replace any faulty component.")]
128 PowerSupplyPredictiveFailure(
129 /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
130 String,
131 ),
132 /// This message shall be used to indicate that a power reading no longer violates an internal critical level, but still exceeds an internal warning level. This message shall be used for power properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The power properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
133 #[message(message = "Power '%1' reading of %2 watts no longer exceeds the critcal level.")]
134 #[message(id = "Power.1.0.0.PowerNoLongerCritical")]
135 #[message(severity = "crate::models::resource::Health::Warning")]
136 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
137 PowerNoLongerCritical(
138 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
139 String,
140 /// This argument shall contain the power in watts.
141 f64,
142 ),
143 /// This message shall be used to indicate that a circuit breaker tripped due to an over-current condition or an electrical fault.
144 #[message(message = "Breaker '%1' has tripped.")]
145 #[message(id = "Power.1.0.0.BreakerTripped")]
146 #[message(severity = "crate::models::resource::Health::Critical")]
147 #[message(resolution = "Check the circuit and connected devices, and disconnect or replace any faulty devices.")]
148 BreakerTripped(
149 /// This argument shall contain a string that identifies or describes the `Circuit` resource or the location of the electrical fault.
150 String,
151 ),
152 /// This message shall be used to indicate that a current reading, previously below the lower critical threshold, no longer violates the lower critical threshold. However, the current violates at least one lower threshold and is not within the normal operating range.
153 #[message(message = "Current '%1' reading of %2 amperes is now above the %3 lower critical threshold but remains outside of normal range.")]
154 #[message(id = "Power.1.0.0.CurrentAboveLowerCriticalThreshold")]
155 #[message(severity = "crate::models::resource::Health::Warning")]
156 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
157 CurrentAboveLowerCriticalThreshold(
158 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
159 String,
160 /// This argument shall contain the current in amperes.
161 f64,
162 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
163 f64,
164 ),
165 /// This message shall be used to indicate that a current reading violates a lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
166 #[message(message = "Current '%1' reading of %2 amperes is below the %3 lower caution threshold.")]
167 #[message(id = "Power.1.0.0.CurrentBelowLowerCautionThreshold")]
168 #[message(severity = "crate::models::resource::Health::Warning")]
169 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
170 CurrentBelowLowerCautionThreshold(
171 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
172 String,
173 /// This argument shall contain the current in amperes.
174 f64,
175 /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
176 f64,
177 ),
178 /// This message shall be used to indicate that a current reading violates an upper fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
179 #[message(message = "Current '%1' reading of %2 amperes is above the %3 upper fatal threshold.")]
180 #[message(id = "Power.1.0.0.CurrentAboveUpperFatalThreshold")]
181 #[message(severity = "crate::models::resource::Health::Critical")]
182 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
183 CurrentAboveUpperFatalThreshold(
184 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
185 String,
186 /// This argument shall contain the current in amperes.
187 f64,
188 /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
189 f64,
190 ),
191 /// This message shall be used to indicate that a power reading violates a lower critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
192 #[message(message = "Power '%1' reading of %2 watts is below the %3 lower critical threshold.")]
193 #[message(id = "Power.1.0.0.PowerBelowLowerCriticalThreshold")]
194 #[message(severity = "crate::models::resource::Health::Critical")]
195 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
196 PowerBelowLowerCriticalThreshold(
197 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
198 String,
199 /// This argument shall contain the power in watts.
200 f64,
201 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
202 f64,
203 ),
204 /// This message shall be used to indicate that a power supply group has returned to a normal operating state.
205 #[message(message = "Power supply group '%1' is operating normally.")]
206 #[message(id = "Power.1.0.0.PowerSupplyGroupNormal")]
207 #[message(severity = "crate::models::resource::Health::OK")]
208 #[message(resolution = "None.")]
209 PowerSupplyGroupNormal(
210 /// This argument shall contain a string that identifies or describes the group of `PowerSupply` resources.
211 String,
212 ),
213 /// This message shall be used to indicate that a frequency reading violates a lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
214 #[message(message = "Frequency '%1' reading of %2 hertz is below the %3 lower critical threshold.")]
215 #[message(id = "Power.1.0.0.FrequencyBelowLowerCriticalThreshold")]
216 #[message(severity = "crate::models::resource::Health::Critical")]
217 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
218 FrequencyBelowLowerCriticalThreshold(
219 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
220 String,
221 /// This argument shall contain the frequency in hertz units.
222 f64,
223 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
224 f64,
225 ),
226 /// This message shall be used to indicate that a current reading, previously above the critical threshold, no longer violates the upper critical threshold. However, the current violates at least one upper threshold and is not within the normal operating range.
227 #[message(message = "Current '%1' reading of %2 amperes is now below the %3 upper critical threshold but remains outside of normal range.")]
228 #[message(id = "Power.1.0.0.CurrentBelowUpperCriticalThreshold")]
229 #[message(severity = "crate::models::resource::Health::Warning")]
230 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
231 CurrentBelowUpperCriticalThreshold(
232 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
233 String,
234 /// This argument shall contain the current in amperes.
235 f64,
236 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
237 f64,
238 ),
239 /// This message shall be used to indicate that the value of the `PowerState` property of a `Circuit` resource changed to `Off`.
240 #[message(message = "Circuit '%1' powered off.")]
241 #[message(id = "Power.1.0.0.CircuitPoweredOff")]
242 #[message(severity = "crate::models::resource::Health::OK")]
243 #[message(resolution = "None.")]
244 CircuitPoweredOff(
245 /// This argument shall contain a string that identifies or describes the `Circuit` resource.
246 String,
247 ),
248 /// This message shall be used to indicate that the value of the `PowerState` property of a `Circuit` resource changed to `On`.
249 #[message(message = "Circuit '%1' powered on.")]
250 #[message(id = "Power.1.0.0.CircuitPoweredOn")]
251 #[message(severity = "crate::models::resource::Health::OK")]
252 #[message(resolution = "None.")]
253 CircuitPoweredOn(
254 /// This argument shall contain a string that identifies or describes the `Circuit` resource.
255 String,
256 ),
257 /// This message shall be used to indicate that a power reading violates an internal warning level. This message shall be used for power properties or `Sensor` resources that implement boolean trip points for a warning limit, such as from hardware mechanisms with no threshold value. The power properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
258 #[message(message = "Power '%1' reading of %2 watts exceeds the warning level.")]
259 #[message(id = "Power.1.0.0.PowerWarning")]
260 #[message(severity = "crate::models::resource::Health::Warning")]
261 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
262 PowerWarning(
263 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
264 String,
265 /// This argument shall contain the power in watts.
266 f64,
267 ),
268 /// This message shall be used to indicate that an electrical power input was repaired, reconnected, or otherwise returned to normal operation.
269 #[message(message = "Line input power at '%1' was restored.")]
270 #[message(id = "Power.1.0.0.LineInputPowerRestored")]
271 #[message(severity = "crate::models::resource::Health::OK")]
272 #[message(resolution = "None.")]
273 LineInputPowerRestored(
274 /// This argument shall contain a string that identifies or describes a `PowerSupply`, `Circuit`, `PowerDistribution`, or `Chassis` resource.
275 String,
276 ),
277 /// This message shall be used to indicate that a current reading has returned to its normal operating range.
278 #[message(message = "Current '%1' reading of %2 amperes is within normal operating range.")]
279 #[message(id = "Power.1.0.0.CurrentNormal")]
280 #[message(severity = "crate::models::resource::Health::OK")]
281 #[message(resolution = "None.")]
282 CurrentNormal(
283 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
284 String,
285 /// This argument shall contain the current in ampere units.
286 f64,
287 ),
288 /// This message shall be used to indicate that a current reading violates an internal critical level. This message shall be used for current-related properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The current-related properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
289 #[message(message = "Current '%1' reading of %2 amperes exceeds the critical level.")]
290 #[message(id = "Power.1.0.0.CurrentCritical")]
291 #[message(severity = "crate::models::resource::Health::Critical")]
292 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
293 CurrentCritical(
294 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
295 String,
296 /// This argument shall contain the current in amperes.
297 f64,
298 ),
299 /// This message shall be used to indicate that a frequency reading violates an lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
300 #[message(message = "Frequency '%1' reading of %2 hertz is below the %3 lower caution threshold.")]
301 #[message(id = "Power.1.0.0.FrequencyBelowLowerCautionThreshold")]
302 #[message(severity = "crate::models::resource::Health::Warning")]
303 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
304 FrequencyBelowLowerCautionThreshold(
305 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
306 String,
307 /// This argument shall contain the frequency in hertz units.
308 f64,
309 /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
310 f64,
311 ),
312 /// This message shall be used to indicate that a voltage reading, previously above the fatal threshold, no longer violates the upper fatal threshold. However, the voltage violates at least one upper threshold and is not within the normal operating range.
313 #[message(message = "Voltage '%1' reading of %2 volts is now below the %3 upper fatal threshold but remains outside of normal range.")]
314 #[message(id = "Power.1.0.0.VoltageBelowUpperFatalThreshold")]
315 #[message(severity = "crate::models::resource::Health::Critical")]
316 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
317 VoltageBelowUpperFatalThreshold(
318 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
319 String,
320 /// This argument shall contain the voltage in volts.
321 f64,
322 /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
323 f64,
324 ),
325 /// This message shall be used to indicate that a voltage reading violates an internal warning level. This message shall be used for voltage properties or `Sensor` resources that implement boolean trip points for a caution limit, such as from hardware mechanisms with no threshold value. The voltage properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
326 #[message(message = "Voltage '%1' reading of %2 volts exceeds the warning level.")]
327 #[message(id = "Power.1.0.0.VoltageWarning")]
328 #[message(severity = "crate::models::resource::Health::Warning")]
329 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
330 VoltageWarning(
331 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
332 String,
333 /// This argument shall contain the voltage in volts.
334 f64,
335 ),
336 /// This message shall be used to indicate that a power reading, previously above the fatal threshold, no longer violates the upper fatal threshold. However, the power violates at least one upper threshold and is not within the normal operating range.
337 #[message(message = "Power '%1' reading of %2 watts is now below the %3 upper fatal threshold but remains outside of normal range.")]
338 #[message(id = "Power.1.0.0.PowerBelowUpperFatalThreshold")]
339 #[message(severity = "crate::models::resource::Health::Critical")]
340 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
341 PowerBelowUpperFatalThreshold(
342 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
343 String,
344 /// This argument shall contain the power in watts.
345 f64,
346 /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
347 f64,
348 ),
349 /// This message shall be used to indicate that a power supply was inserted or installed
350 #[message(message = "Power supply '%1' was inserted.")]
351 #[message(id = "Power.1.0.0.PowerSupplyInserted")]
352 #[message(severity = "crate::models::resource::Health::OK")]
353 #[message(resolution = "None.")]
354 PowerSupplyInserted(
355 /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
356 String,
357 ),
358 /// This message shall be used to indicate that a voltage reading violates an upper fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
359 #[message(message = "Voltage '%1' reading of %2 volts is above the %3 upper fatal threshold.")]
360 #[message(id = "Power.1.0.0.VoltageAboveUpperFatalThreshold")]
361 #[message(severity = "crate::models::resource::Health::Critical")]
362 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
363 VoltageAboveUpperFatalThreshold(
364 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
365 String,
366 /// This argument shall contain the voltage in volts.
367 f64,
368 /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
369 f64,
370 ),
371 /// This message shall be used to indicate that a current reading violates an upper critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
372 #[message(message = "Current '%1' reading of %2 amperes is above the %3 upper critical threshold.")]
373 #[message(id = "Power.1.0.0.CurrentAboveUpperCriticalThreshold")]
374 #[message(severity = "crate::models::resource::Health::Critical")]
375 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
376 CurrentAboveUpperCriticalThreshold(
377 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
378 String,
379 /// This argument shall contain the current in amperes.
380 f64,
381 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
382 f64,
383 ),
384 /// This message shall be used to indicate that a power reading, previously above the critical threshold, no longer violates the upper critical threshold. However, the power violates at least one upper threshold and is not within the normal operating range.
385 #[message(message = "Power '%1' reading of %2 watts is now below the %3 upper critical threshold but remains outside of normal range.")]
386 #[message(id = "Power.1.0.0.PowerBelowUpperCriticalThreshold")]
387 #[message(severity = "crate::models::resource::Health::Warning")]
388 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
389 PowerBelowUpperCriticalThreshold(
390 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
391 String,
392 /// This argument shall contain the power in watts.
393 f64,
394 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
395 f64,
396 ),
397 /// This message shall be used to indicate that a frequency reading, previously below the lower critical threshold, no longer violates the lower critical threshold. However, the frequency violates at least one lower threshold and is not within the normal operating range.
398 #[message(message = "Frequency '%1' reading of %2 hertz is now above the %3 lower critical threshold but remains outside of normal range.")]
399 #[message(id = "Power.1.0.0.FrequencyAboveLowerCriticalThreshold")]
400 #[message(severity = "crate::models::resource::Health::Warning")]
401 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
402 FrequencyAboveLowerCriticalThreshold(
403 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
404 String,
405 /// This argument shall contain the frequency in hertz.
406 f64,
407 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
408 f64,
409 ),
410 /// This message shall be used to indicate that a voltage reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
411 #[message(message = "Voltage '%1' reading of %2 volts is above the %3 upper caution threshold.")]
412 #[message(id = "Power.1.0.0.VoltageAboveUpperCautionThreshold")]
413 #[message(severity = "crate::models::resource::Health::Warning")]
414 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
415 VoltageAboveUpperCautionThreshold(
416 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
417 String,
418 /// This argument shall contain the voltage in volts.
419 f64,
420 /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
421 f64,
422 ),
423 /// This message shall be used to indicate that a power supply has failed.
424 #[message(message = "Power supply '%1' has failed.")]
425 #[message(id = "Power.1.0.0.PowerSupplyFailed")]
426 #[message(severity = "crate::models::resource::Health::Warning")]
427 #[message(resolution = "Check the power supply hardware and replace any faulty component.")]
428 PowerSupplyFailed(
429 /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
430 String,
431 ),
432 /// This message shall be used to indicate that a power reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
433 #[message(message = "Power '%1' reading of %2 watts is above the %3 upper caution threshold.")]
434 #[message(id = "Power.1.0.0.PowerAboveUpperCautionThreshold")]
435 #[message(severity = "crate::models::resource::Health::Warning")]
436 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
437 PowerAboveUpperCautionThreshold(
438 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
439 String,
440 /// This argument shall contain the power in watts.
441 f64,
442 /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
443 f64,
444 ),
445 /// This message shall be used to indicate that a fault was detected within a circuit breaker. The power state of the circuit may not be known.
446 #[message(message = "Fault detected in breaker '%1'.")]
447 #[message(id = "Power.1.0.0.BreakerFault")]
448 #[message(severity = "crate::models::resource::Health::Critical")]
449 #[message(resolution = "Check the breaker hardware and replace any faulty components.")]
450 BreakerFault(
451 /// This argument shall contain a string that identifies or describes the `Circuit` resource or the location of the circuit breaker.
452 String,
453 ),
454 /// This message shall be used to indicate that a current reading violates a lower critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
455 #[message(message = "Current '%1' reading of %2 amperes is below the %3 lower critical threshold.")]
456 #[message(id = "Power.1.0.0.CurrentBelowLowerCriticalThreshold")]
457 #[message(severity = "crate::models::resource::Health::Critical")]
458 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
459 CurrentBelowLowerCriticalThreshold(
460 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
461 String,
462 /// This argument shall contain the current in amperes.
463 f64,
464 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
465 f64,
466 ),
467 /// This message shall be used to indicate that a power supply group is operating in a critical state.
468 #[message(message = "Power supply group '%1' is in a critical state.")]
469 #[message(id = "Power.1.0.0.PowerSupplyGroupCritical")]
470 #[message(severity = "crate::models::resource::Health::Critical")]
471 #[message(resolution = "None.")]
472 PowerSupplyGroupCritical(
473 /// This argument shall contain a string that identifies or describes the group of `PowerSupply` resources.
474 String,
475 ),
476 /// This message shall be used to indicate that a voltage reading, previously below the lower critical threshold, no longer violates the lower critical threshold. However, the voltage violates at least one lower threshold and is not within the normal operating range.
477 #[message(message = "Voltage '%1' reading of %2 volts is now above the %3 lower critical threshold but remains outside of normal range.")]
478 #[message(id = "Power.1.0.0.VoltageAboveLowerCriticalThreshold")]
479 #[message(severity = "crate::models::resource::Health::Warning")]
480 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
481 VoltageAboveLowerCriticalThreshold(
482 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
483 String,
484 /// This argument shall contain the voltage in volts.
485 f64,
486 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
487 f64,
488 ),
489 /// This message shall be used to indicate that a power reading, previously below the fatal threshold, no longer violates the lower fatal threshold. However, the power violates at least one lower threshold and is not within the normal operating range.
490 #[message(message = "Power '%1' reading of %2 watts is now above the %3 lower fatal threshold but remains outside of normal range.")]
491 #[message(id = "Power.1.0.0.PowerAboveLowerFatalThreshold")]
492 #[message(severity = "crate::models::resource::Health::Critical")]
493 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
494 PowerAboveLowerFatalThreshold(
495 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
496 String,
497 /// This argument shall contain the power in watts.
498 f64,
499 /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
500 f64,
501 ),
502 /// This message shall be used to indicate that a power reading, previously below the lower critical threshold, no longer violates the lower critical threshold. However, the power violates at least one lower threshold and is not within the normal operating range.
503 #[message(message = "Power '%1' reading of %2 watts is now above the %3 lower critical threshold but remains outside of normal range.")]
504 #[message(id = "Power.1.0.0.PowerAboveLowerCriticalThreshold")]
505 #[message(severity = "crate::models::resource::Health::Warning")]
506 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
507 PowerAboveLowerCriticalThreshold(
508 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
509 String,
510 /// This argument shall contain the power in watts.
511 f64,
512 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
513 f64,
514 ),
515 /// This message shall be used to indicate that a power reading has returned to its normal operating range.
516 #[message(message = "Power '%1' reading of %2 watts is within normal operating range.")]
517 #[message(id = "Power.1.0.0.PowerNormal")]
518 #[message(severity = "crate::models::resource::Health::OK")]
519 #[message(resolution = "None.")]
520 PowerNormal(
521 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
522 String,
523 /// This argument shall contain the power in watts.
524 f64,
525 ),
526 /// This message shall be used to indicate that a power reading violates an upper fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
527 #[message(message = "Power '%1' reading of %2 watts is above the %3 upper fatal threshold.")]
528 #[message(id = "Power.1.0.0.PowerAboveUpperFatalThreshold")]
529 #[message(severity = "crate::models::resource::Health::Critical")]
530 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
531 PowerAboveUpperFatalThreshold(
532 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
533 String,
534 /// This argument shall contain the power in watts.
535 f64,
536 /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
537 f64,
538 ),
539 /// This message shall be used to indicate that a frequency reading violates an internal warning level. This message shall be used for frequency properties or `Sensor` resources that implement boolean trip points for a warning limit, such as from hardware mechanisms with no threshold value. The frequency properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
540 #[message(message = "Frequency '%1' reading of %2 hertz exceeds the warning level.")]
541 #[message(id = "Power.1.0.0.FrequencyWarning")]
542 #[message(severity = "crate::models::resource::Health::Warning")]
543 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
544 FrequencyWarning(
545 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
546 String,
547 /// This argument shall contain the frequency in hertz.
548 f64,
549 ),
550 /// This message shall be used to indicate that a current reading violates a lower fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
551 #[message(message = "Current '%1' reading of %2 amperes is below the %3 lower fatal threshold.")]
552 #[message(id = "Power.1.0.0.CurrentBelowLowerFatalThreshold")]
553 #[message(severity = "crate::models::resource::Health::Critical")]
554 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
555 CurrentBelowLowerFatalThreshold(
556 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
557 String,
558 /// This argument shall contain the current in amperes.
559 f64,
560 /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
561 f64,
562 ),
563 /// This message shall be used to indicate that a voltage reading has returned to its normal operating range.
564 #[message(message = "Voltage '%1' reading of %2 volts is within normal operating range.")]
565 #[message(id = "Power.1.0.0.VoltageNormal")]
566 #[message(severity = "crate::models::resource::Health::OK")]
567 #[message(resolution = "None.")]
568 VoltageNormal(
569 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
570 String,
571 /// This argument shall contain the voltage in volts.
572 f64,
573 ),
574 /// This message shall be used to indicate that a frequency reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
575 #[message(message = "Frequency '%1' reading of %2 hertz is above the %3 upper critical threshold.")]
576 #[message(id = "Power.1.0.0.FrequencyAboveUpperCriticalThreshold")]
577 #[message(severity = "crate::models::resource::Health::Critical")]
578 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
579 FrequencyAboveUpperCriticalThreshold(
580 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
581 String,
582 /// This argument shall contain the frequency in hertz units.
583 f64,
584 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
585 f64,
586 ),
587 /// This message shall be used to indicate that a frequency reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
588 #[message(message = "Frequency '%1' reading of %2 hertz is above the %3 upper caution threshold.")]
589 #[message(id = "Power.1.0.0.FrequencyAboveUpperCautionThreshold")]
590 #[message(severity = "crate::models::resource::Health::Warning")]
591 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
592 FrequencyAboveUpperCautionThreshold(
593 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
594 String,
595 /// This argument shall contain the frequency in hertz units.
596 f64,
597 /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
598 f64,
599 ),
600 /// This message shall be used to indicate that a power reading violates an internal critical level. This message shall be used for power properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The power properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
601 #[message(message = "Power '%1' reading of %2 watts exceeds the critical level.")]
602 #[message(id = "Power.1.0.0.PowerCritical")]
603 #[message(severity = "crate::models::resource::Health::Critical")]
604 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
605 PowerCritical(
606 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
607 String,
608 /// This argument shall contain the power in watts.
609 f64,
610 ),
611 /// This message shall be used to indicate that a frequency reading has returned to its normal operating range.
612 #[message(message = "Frequency '%1' reading of %2 hertz is within normal operating range.")]
613 #[message(id = "Power.1.0.0.FrequencyNormal")]
614 #[message(severity = "crate::models::resource::Health::OK")]
615 #[message(resolution = "None.")]
616 FrequencyNormal(
617 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
618 String,
619 /// This argument shall contain the frequency in hertz units.
620 f64,
621 ),
622 /// This message shall be used to indicate that the value of the `PowerState` property of a `Outlet` resource changed to `Off`.
623 #[message(message = "Outlet '%1' powered off.")]
624 #[message(id = "Power.1.0.0.OutletPoweredOff")]
625 #[message(severity = "crate::models::resource::Health::OK")]
626 #[message(resolution = "None.")]
627 OutletPoweredOff(
628 /// This argument shall contain a string that identifies or describes the `Outlet` resource.
629 String,
630 ),
631 /// This message shall be used to indicate that a circuit breaker reset. The power state may depend on any policy applicable to the circuit or resource.
632 #[message(message = "Breaker '%1' reset.")]
633 #[message(id = "Power.1.0.0.BreakerReset")]
634 #[message(severity = "crate::models::resource::Health::OK")]
635 #[message(resolution = "None.")]
636 BreakerReset(
637 /// This argument shall contain a string that identifies or describes the `Circuit` resource or the location of the circuit breaker.
638 String,
639 ),
640 /// This message shall be used to indicate that a power supply was removed.
641 #[message(message = "Power supply '%1' was removed.")]
642 #[message(id = "Power.1.0.0.PowerSupplyRemoved")]
643 #[message(severity = "crate::models::resource::Health::OK")]
644 #[message(resolution = "None.")]
645 PowerSupplyRemoved(
646 /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
647 String,
648 ),
649 /// This message shall be used to indicate that a voltage reading violates an upper critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
650 #[message(message = "Voltage '%1' reading of %2 volts is above the %3 upper critical threshold.")]
651 #[message(id = "Power.1.0.0.VoltageAboveUpperCriticalThreshold")]
652 #[message(severity = "crate::models::resource::Health::Critical")]
653 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
654 VoltageAboveUpperCriticalThreshold(
655 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
656 String,
657 /// This argument shall contain the voltage in volts.
658 f64,
659 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
660 f64,
661 ),
662 /// This message shall be used to indicate that a power reading violates a lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
663 #[message(message = "Power '%1' reading of %2 watts is below the %3 lower caution threshold.")]
664 #[message(id = "Power.1.0.0.PowerBelowLowerCautionThreshold")]
665 #[message(severity = "crate::models::resource::Health::Warning")]
666 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
667 PowerBelowLowerCautionThreshold(
668 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
669 String,
670 /// This argument shall contain the power in watts.
671 f64,
672 /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
673 f64,
674 ),
675 /// This message shall be used to indicate that a power reading violates an upper critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
676 #[message(message = "Power '%1' reading of %2 watts is above the %3 upper critical threshold.")]
677 #[message(id = "Power.1.0.0.PowerAboveUpperCriticalThreshold")]
678 #[message(severity = "crate::models::resource::Health::Critical")]
679 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
680 PowerAboveUpperCriticalThreshold(
681 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
682 String,
683 /// This argument shall contain the power in watts.
684 f64,
685 /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
686 f64,
687 ),
688 /// This message shall be used to indicate that a voltage reading no longer violates an internal critical level, but still violates an internal warning level. This message shall be used for voltage properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The voltage properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
689 #[message(message = "Voltage '%1' reading of %2 volts no longer exceeds the critcal level.")]
690 #[message(id = "Power.1.0.0.VoltageNoLongerCritical")]
691 #[message(severity = "crate::models::resource::Health::Warning")]
692 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
693 VoltageNoLongerCritical(
694 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
695 String,
696 /// This argument shall contain the voltage in volts.
697 f64,
698 ),
699 /// This message shall be used to indicate that a current reading no longer violates an internal critical level, but still exceeds an internal warning level. This message shall be used for current-related properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The current-related properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
700 #[message(message = "Current '%1' reading of %2 amperes no longer exceeds the critcal level.")]
701 #[message(id = "Power.1.0.0.CurrentNoLongerCritical")]
702 #[message(severity = "crate::models::resource::Health::Warning")]
703 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
704 CurrentNoLongerCritical(
705 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
706 String,
707 /// This argument shall contain the current in amperes.
708 f64,
709 ),
710 /// This message shall be used to indicate that a voltage reading violates a lower fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
711 #[message(message = "Voltage '%1' reading of %2 volts is below the %3 lower fatal threshold.")]
712 #[message(id = "Power.1.0.0.VoltageBelowLowerFatalThreshold")]
713 #[message(severity = "crate::models::resource::Health::Critical")]
714 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
715 VoltageBelowLowerFatalThreshold(
716 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
717 String,
718 /// This argument shall contain the voltage in volts.
719 f64,
720 /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
721 f64,
722 ),
723 /// This message shall be used to indicate that a voltage reading violates a lower critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
724 #[message(message = "Voltage '%1' reading of %2 volts is below the %3 lower critical threshold.")]
725 #[message(id = "Power.1.0.0.VoltageBelowLowerCriticalThreshold")]
726 #[message(severity = "crate::models::resource::Health::Critical")]
727 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
728 VoltageBelowLowerCriticalThreshold(
729 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
730 String,
731 /// This argument shall contain the voltage in volts.
732 f64,
733 /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
734 f64,
735 ),
736 /// This message shall be used to indicate that a frequency reading violates an internal critical level. This message shall be used for frequency properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The frequency properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
737 #[message(message = "Frequency '%1' reading of %2 hertz exceeds the critical level.")]
738 #[message(id = "Power.1.0.0.FrequencyCritical")]
739 #[message(severity = "crate::models::resource::Health::Critical")]
740 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
741 FrequencyCritical(
742 /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
743 String,
744 /// This argument shall contain the frequency in hertz.
745 f64,
746 ),
747 /// This message shall be used to indicate that a voltage reading violates an internal critical level. This message shall be used for voltage properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The voltage properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
748 #[message(message = "Voltage '%1' reading of %2 volts exceeds the critical level.")]
749 #[message(id = "Power.1.0.0.VoltageCritical")]
750 #[message(severity = "crate::models::resource::Health::Critical")]
751 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
752 VoltageCritical(
753 /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
754 String,
755 /// This argument shall contain the voltage in volts.
756 f64,
757 ),
758 /// This message shall be used to indicate that a loss of power was detected at an electrical input.
759 #[message(message = "Loss of input power at '%1'.")]
760 #[message(id = "Power.1.0.0.LossOfInputPower")]
761 #[message(severity = "crate::models::resource::Health::Warning")]
762 #[message(resolution = "Check the electrical power input and connections.")]
763 LossOfInputPower(
764 /// This argument shall contain a string that identifies or describes a `PowerSupply`, `Circuit`, `PowerDistribution`, or `Chassis` resource.
765 String,
766 ),
767 /// This message shall be used to indicate that a current reading, previously above the fatal threshold, no longer violates the upper fatal threshold. However, the current violates at least one upper threshold and is not within the normal operating range.
768 #[message(message = "Current '%1' reading of %2 amperes is now below the %3 upper fatal threshold but remains outside of normal range.")]
769 #[message(id = "Power.1.0.0.CurrentBelowUpperFatalThreshold")]
770 #[message(severity = "crate::models::resource::Health::Critical")]
771 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
772 CurrentBelowUpperFatalThreshold(
773 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
774 String,
775 /// This argument shall contain the current in amperes.
776 f64,
777 /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
778 f64,
779 ),
780 /// This message shall be used to indicate that a power supply group is operating with a warning status or in a non-redundant state due to a fault or a change in configuration.
781 #[message(message = "Power supply group '%1' is in a warning state.")]
782 #[message(id = "Power.1.0.0.PowerSupplyGroupWarning")]
783 #[message(severity = "crate::models::resource::Health::Warning")]
784 #[message(resolution = "None.")]
785 PowerSupplyGroupWarning(
786 /// This argument shall contain a string that identifies or describes the group of `PowerSupply` resources.
787 String,
788 ),
789 /// This message shall be used to indicate that a current reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
790 #[message(message = "Current '%1' reading of %2 amperes is above the %3 upper caution threshold.")]
791 #[message(id = "Power.1.0.0.CurrentAboveUpperCautionThreshold")]
792 #[message(severity = "crate::models::resource::Health::Warning")]
793 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
794 CurrentAboveUpperCautionThreshold(
795 /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
796 String,
797 /// This argument shall contain the current in amperes.
798 f64,
799 /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
800 f64,
801 ),
802 /// This message shall be used to indicate that a power reading violates a lower fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
803 #[message(message = "Power '%1' reading of %2 watts is below the %3 lower fatal threshold.")]
804 #[message(id = "Power.1.0.0.PowerBelowLowerFatalThreshold")]
805 #[message(severity = "crate::models::resource::Health::Critical")]
806 #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
807 PowerBelowLowerFatalThreshold(
808 /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
809 String,
810 /// This argument shall contain the power in watts.
811 f64,
812 /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
813 f64,
814 ),
815 /// This message shall be used to indicate that a power fault was detected at an electrical input. The equipment may not be able to produce output power.
816 #[message(message = "Line input power fault at '%1'.")]
817 #[message(id = "Power.1.0.0.LineInputPowerFault")]
818 #[message(severity = "crate::models::resource::Health::Warning")]
819 #[message(resolution = "Check the electrical power input and connections.")]
820 LineInputPowerFault(
821 /// This argument shall contain a string that identifies or describes a `PowerSupply`, `Circuit`, `PowerDistribution`, or `Chassis` resource.
822 String,
823 ),
824}