abstractions+driver+client.shared: extend AlarmEventArgs with rich payload (PR E.7) #415
Reference in New Issue
Block a user
Delete Branch "track-e7-alarm-event-args-extension"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fourteenth PR of the alarms-over-gateway epic (docs/plans/alarms-over-gateway.md). Depends on PR B.2 (#413, merged) and B.3 (#414, merged).
Three new optional fields on
Core.Abstractions.AlarmEventArgs:GalaxyDriver.OnPumpAlarmTransitionpopulates the new fields fromGalaxyAlarmTransition(PR B.1). Empty strings collapse to null so consumers can use is-null rather than is-null-or-empty checks.Client.Sharedmirror DTO (Client.Shared/Models/AlarmEventArgs) gains the same three properties soClient.UI/Client.CLIsurfaces can reflect the rich payload — the actual UI/CLI verbose-output and Show-Details rendering ship as a follow-up PR; this PR locks in the payload contract.Test plan
Driver.Galaxy.Testspin populated-vs-null behaviour for full-payload Acknowledge and bare-bones RaiseFollow-up
--jsonflag for the new fields (separate PR; this PR locks the payload contract).