namespace ZB.MOM.WW.ScadaBridge.StoreAndForward; /// /// Optional ambient site context the Store-and-Forward service consults at /// construction time. Carries the site identifier the S&F retry loop /// stamps onto cached-call audit telemetry. /// /// /// /// Defined here (not in HealthMonitoring alongside the existing /// ISiteIdentityProvider) so the dependency arrow does not flip: /// HealthMonitoring already references StoreAndForward, and /// having S&F take a dependency on HealthMonitoring would create a /// project-reference cycle. /// /// /// The Host registers a trivial adapter that forwards to the same /// NodeOptions.SiteId the existing ISiteIdentityProvider reads. /// Resolution is optional: when no binding is registered the S&F service /// stamps an empty site id, preserving the legacy behaviour exactly. /// /// public interface IStoreAndForwardSiteContext { /// The site id stamped onto cached-call audit telemetry. string SiteId { get; } }