using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UIShare.PubEvent { public class OverlayEvent : PubSubEvent { } /// /// 作用域感知的灰度遮罩事件:仅台架名称与 Scope 匹配的台架视图显示/隐藏加载遮罩, /// 避免全局 OverlayEvent 导致所有台架及主窗口同时变灰。 /// public class ScopeOverlayEvent : PubSubEvent { } /// 作用域遮罩事件参数。 public class ScopeOverlayArgs { /// 台架名称(与 SystemConfig.Title / TestStatus 一致)。 public string Scope { get; set; } = string.Empty; /// true 显示遮罩,false 隐藏遮罩。 public bool Show { get; set; } } }