namespace DS.WMS.Common.Data; public class LineDetectionData { /// /// 设备通道号 /// public int ChannelID { get; set; } /// /// 设备通道名称 /// public string ChannelName { get; set; } /// /// /// public string DataProcInterval { get; set; } /// /// 数据模型标识 /// public string DataType { get; set; } /// /// 数据触发时间 /// public string DateTime { get; set; } /// /// 事件类型名称 /// public string EventDescription { get; set; } /// /// 事件类型 /// public string EventType { get; set; } /// /// 设备的IP地址 /// public string IpAddress { get; set; } /// /// 设备端口号 /// public int PortNo { get; set; } /// /// 数据接收时间 /// public string RecvTime { get; set; } /// /// 数据发送时间 /// public string SendTime { get; set; } /// /// 分析结果 /// public List LineDetection { get; set; } } public class LineTargetAttrs { /// /// 监控点编码,平台关联的编码 /// public string CameraIndexCode { get; set; } /// /// 设备编号,平台关联的编码 /// public string DeviceIndexCode { get; set; } /// /// 图片服务编号 /// public string ImageServerCode { get; set; } /// /// 通道名称 /// public string ChannelName { get; set; } /// /// 监控点安装地址 /// public string CameraAddress { get; set; } /// /// 监控点所在经度 /// public double Longitude { get; set; } /// /// 监控点所在纬度 /// public double Latitude { get; set; } } public class LineDetection { /// /// 透传字段,部分字段由数据源扩展字段获取 /// public LineTargetAttrs TargetAttrs { get; set; } /// /// 背景图URL /// public string ImageUrl { get; set; } /// /// 行为事件触发时间阈值,判断有效报警时间 /// public int Duration { get; set; } /// /// 占比:区域内所有未报警目标尺寸目标占区域面积的比重,归一化为1~100 /// public int Rate { get; set; } /// /// 穿越方向 穿越方向,0-双向,1-由左至右,2由右向左 /// public int Direction { get; set; } /// /// 灵敏度参数 灵敏度参数,取值范围:[1,100] /// public int SensitivityLevel { get; set; } /// /// 警戒面高度 /// public int PlaneHeight { get; set; } /// /// 检测目标, 0-所有,1-人,2-车,3-人和车 /// public int DetectionTarget { get; set; } /// /// 区域范围 /// public List RegionCoordinatesList { get; set; } } /// /// 区域范围 /// public class RegionCoordinatesList { /// /// /// public double PositionX { get; set; } /// /// /// public double PositionY { get; set; } }