MTConnect: surface CONDITION data items as Part 9 alarms (IAlarmSource) #626
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Split from #613 (its P1.5 fast-follow). In the MTConnect driver a CONDITION data item surfaces as a plain String today; it should be a native Part 9 alarm, using the Galaxy native-alarm pattern (
IAlarmSource, materialised once at the raw tag withConditionId = RawPath, fanned to the raw device folder and every referencing equipment folder).Sources: docs/drivers/MTConnect.md (CONDITION / P1.5 section);
MTConnectObservationIndex.cs; CLAUDE.md native-alarm rules (Acknowledge and AddComment only for native conditions; ack refused off-Primary, #597).Effort: L, high risk (alarm lifecycle, state mapping, redundancy).
IAlarmSourceon the driver (subscribe / transition events keyed by RawPath), reusing the Galaxy native-alarm projection patternFiled 2026-10-08 by the hardware-available issue sweep.
Fixed in
b82c09d2(MTConnect CONDITION data items as opt-in native Part 9 alarms via TagConfig.alarm; Warning 500 / Fault 800; UNAVAILABLE keeps an active condition active with quality-only BadNoCommunication). Live gate found two adjacent defects, fixed incd03b1b5: condition Severity was re-bucketed to 5 points (Fault read 900, now exact 800), and Client.CLI/UI selected ActiveState/Id as one QualifiedName so every alarm read inactive. Live-gated on docker-dev against the MTConnect fixture: Fault Active/800, Unavailable stays Active, Normal Inactive. Pusheda8b07ae1.