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.

107 lines
2.8 KiB
C#

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