diff --git a/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/EquipmentTagRefResolver.cs b/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/EquipmentTagRefResolver.cs index d34284d7..500b31f0 100644 --- a/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/EquipmentTagRefResolver.cs +++ b/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/EquipmentTagRefResolver.cs @@ -57,4 +57,10 @@ public sealed class EquipmentTagRefResolver where TDef : class /// The tag's cluster-scoped RawPath — the driver wire reference / identity. /// The tag's schemaless driver-specific TagConfig JSON (the dialled address). /// Whether writes to this tag are safe to replay (R2 resilience contract). -public sealed record RawTagEntry(string RawPath, string TagConfig, bool WriteIdempotent); +/// +/// The name of the Device this tag lives under (the RawPath's device segment). Multi-device +/// drivers route the tag to its device/connection by this name; single-device drivers ignore it. +/// Populated by the deploy artifact (which built the RawPath and therefore knows the device); +/// defaults to empty for callers that don't need device routing. +/// +public sealed record RawTagEntry(string RawPath, string TagConfig, bool WriteIdempotent, string DeviceName = "");