Correct the ups_alarm field spelling
The upstream River 3 schema spells field 355 `ups_alram`. Use `ups_alarm` in the decoder, the generated schema, and the field reference. The schema generator now applies a rename map, so a regenerated schema keeps the corrected name.
This commit is contained in:
@@ -110,7 +110,7 @@ _DISPLAY_PROPERTY_UPLOAD: dict[int, ProtoField] = {
|
||||
30: ProtoField("pcs_fan_level"),
|
||||
195: ProtoField("en_beep"),
|
||||
358: ProtoField("low_power_alarm", "%"),
|
||||
355: ProtoField("ups_alram"),
|
||||
355: ProtoField("ups_alarm"),
|
||||
}
|
||||
|
||||
# ── River 3 — RuntimePropertyUpload field map ──────────────────────────────────
|
||||
|
||||
@@ -238,7 +238,7 @@ MESSAGES = {
|
||||
317: ('generator_sub_battery_state', 'uint32', False),
|
||||
319: ('generator_maintence_state', 'bool', False),
|
||||
330: ('generator_pcs_err_code', 'uint32', False),
|
||||
355: ('ups_alram', 'bool', False),
|
||||
355: ('ups_alarm', 'bool', False),
|
||||
356: ('plug_in_info_pv_dc_amp_max', 'uint32', False),
|
||||
357: ('led_mode', 'uint32', False),
|
||||
358: ('low_power_alarm', 'uint32', False),
|
||||
|
||||
Reference in New Issue
Block a user