feat(grpc-data): A1 MarkConditionsKnown in OpcUaPublishActor — deferred beside alarm states, replayed after them (F2), discarded on a source's dropped/skipped projection (G3)
This commit is contained in:
@@ -482,7 +482,8 @@ public sealed class ScriptedAlarmHostActor : ReceiveActor
|
||||
// A client reading Time/ReceiveTime after a rebuild should still see when the alarm went
|
||||
// active, not when the address space happened to be rebuilt.
|
||||
TimestampUtc: projection.Condition.LastTransitionUtc,
|
||||
Realm: AddressSpaceRealm.Uns));
|
||||
Realm: AddressSpaceRealm.Uns,
|
||||
Source: OpcUaPublishActor.ScriptedSource));
|
||||
reasserted++;
|
||||
}
|
||||
|
||||
@@ -582,7 +583,8 @@ public sealed class ScriptedAlarmHostActor : ReceiveActor
|
||||
AlarmNodeId: e.AlarmId,
|
||||
State: ToSnapshot(e),
|
||||
TimestampUtc: e.TimestampUtc,
|
||||
Realm: AddressSpaceRealm.Uns));
|
||||
Realm: AddressSpaceRealm.Uns,
|
||||
Source: OpcUaPublishActor.ScriptedSource));
|
||||
|
||||
// Publish the transition to the cluster `alerts` topic — the single historization + live
|
||||
// fan-out path. The mediator was cached on the ACTOR thread in PreStart; we only Tell it here.
|
||||
|
||||
Reference in New Issue
Block a user