You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
3.6 KiB
C#

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