20211124_ZNZT_upperpc/MonitoringTechnology/Models/AlarmItemModel.cs
2023-07-24 16:12:02 +08:00

80 lines
1.8 KiB
C#

using MonitoringTechnology.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonitoringTechnology.Models
{
/// <summary>
/// 系统告警表
/// </summary>
public class AlarmItemModel : NotifyBase
{
/// <summary>
/// 序号
/// </summary>
public string num { get; set; }
public string F_Num
{
get { return num; }
set { num = value; this.DoNotify(); }
}
/// <summary>
/// 序号--未存数据库,仅页面展示使用
/// </summary>
public int _SerialNo;
public int F_SerialNo
{
get { return _SerialNo; }
set { _SerialNo = value; this.DoNotify(); }
}
/// <summary>
/// 告警信息
/// </summary>
public string message { get; set; }
public string F_Message
{
get { return message; }
set { message = value; this.DoNotify(); }
}
/// <summary>
/// 告警时间
/// </summary>
public DateTime time { get; set; }
public DateTime F_Time
{
get { return time; }
set { time = value; this.DoNotify(); }
}
/// <summary>
/// 告警时长
/// </summary>
public float len { get; set; }
public float F_Len
{
get { return len; }
set { len = value;this.DoNotify(); }
}
/// <summary>
/// 创建日期
/// </summary>
public DateTime _createTime;
public DateTime F_CreateDate
{
get { return _createTime; }
set { _createTime = value; this.DoNotify(); }
}
}
}