Phase 3 PR 75 -- OPC UA Client IAlarmSource #74
Reference in New Issue
Block a user
Delete Branch "phase-3-pr75-opcua-client-alarms"
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
Driver now forwards upstream A&C events as local
AlarmEventArgs.SubscribeAlarmsAsynccreates a subscription + singleMonitoredItemonObjectIds.ServerwithAttributeId=EventNotifierand anEventFilterpullingEventId,EventType,SourceNode,Message,Severity,Time, and theConditionnode itself. Indexed field access in the notification handler (O(1)).sourceNodeIdsfilter pre-hashed so per-event matching is O(1). Empty list = forward everything.MapSeveritybuckets OPC UA's 1-1000 severity intoAlarmSeverity {Low,Medium,High,Critical}per OPC UA Part 9 bands.DiscardOldest=false— bursts don't drop events.AcknowledgeAsyncbatchesCallMethodRequestonAcknowledgeableConditionType.Acknowledge. Empty batch short-circuits before session check so bulk-ack UIs can pass empty lists without guards.Validation
dotnet build: 0 errorsScope
Wire-level event round-trip against a live server deferred to the in-process fixture PR.
Test plan