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.

218 lines
4.7 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
}