|
|
|
|
namespace DS.WMS.Core.SecurityModule.Dtos;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 海康高温报警列表视图
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class HkThermometryViewModel
|
|
|
|
|
{
|
|
|
|
|
public Guid RelationId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备通道名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChannelName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备通道号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? ChannelID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据模型标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DataType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据触发时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? DateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 事件类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EventType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 事件类型名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EventDescription { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备的IP地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string IpAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备端口号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? PortNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据接收时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? RecvTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据发送时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? SendTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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>
|
|
|
|
|
/// 规定温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RuleTemperature { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测温单位,0-摄氏度℃,1-华氏度℉,3-开尔文K
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? ThermometryUnit { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 容差温度,精确到小数点后一位(-40-1000)(浮点数+100)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ToleranceTemperature { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态 0 未处理 1 已忽略 2 已通知
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Status { get; set; } = 0;
|
|
|
|
|
}
|