|
|
|
|
namespace DS.WMS.Common.Data;
|
|
|
|
|
|
|
|
|
|
public class PointItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string X { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Y { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class PtzInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Focus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Pan { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tilt { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Zoom { get; set; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 透传字段,部分字段由数据源扩展字段获取
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TargetAttrs
|
|
|
|
|
{
|
|
|
|
|
/// <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 PicServerIndexCode { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ThermometryData
|
|
|
|
|
{
|
|
|
|
|
/// <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 string PicUploadInterval { 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<ThermometryItem> Thermometry { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ThermometryItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度报警等待时间,单位秒,范围0-200秒,默认0秒
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int AlarmFilterTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 0-预警,1-报警
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int AlarmLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规则,0-大于,1-小于
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int AlarmRule { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警类型,0-最高温度,1-最低温度,2-平均温度,3-温差,4-温度突升,5-温度突降
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int AlarmType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度预警等待时间,单位秒,范围0-200秒,默认0秒
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int AlertFilterTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CurTemperature { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 热成像图片URL
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ImageUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测温坐标,当规则标定类型为框时,最多十个坐标点
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<PointItem> Point { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预置点号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PresetNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ptz坐标信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public PtzInfo PtzInfo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规则标定类型,0-点,1-框,2-线
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int RuleCalibType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规则id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int RuleId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规定温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RuleTemperature { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 透传字段,部分字段由数据源扩展字段获取
|
|
|
|
|
/// </summary>
|
|
|
|
|
public TargetAttrs TargetAttrs { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测温单位,0-摄氏度℃,1-华氏度℉,3-开尔文K
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ThermometryUnit { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 容差温度,精确到小数点后一位(-40-1000)(浮点数+100)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ToleranceTemperature { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可见光图片URL
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VisiblePicUrl { get; set; }
|
|
|
|
|
}
|