namespace SHH.Contracts { /// /// [控制面] 设备状态变更通知包 /// public class StatusEventPayload { /// 摄像头ID public string CameraId { get; set; } = string.Empty; /// IP地址 public string IpAddress { get; set; } = string.Empty; /// true: 上线/活跃, false: 离线/超时 public bool IsOnline { get; set; } /// 变更原因 (e.g. "Ping Success", "Frame Timeout") public string Reason { get; set; } = string.Empty; /// 时间戳 public long Timestamp { get; set; } } }