2023-02-03 00:31:48 +00:00
|
|
|
|
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>
|
2023-07-24 08:12:02 +00:00
|
|
|
|
public float len { get; set; }
|
|
|
|
|
|
public float F_Len
|
2023-02-03 00:31:48 +00:00
|
|
|
|
{
|
|
|
|
|
|
get { return len; }
|
|
|
|
|
|
set { len = value;this.DoNotify(); }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-31 07:02:21 +00:00
|
|
|
|
|
2023-02-03 00:31:48 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建日期
|
|
|
|
|
|
/// </summary>
|
2023-03-31 07:02:21 +00:00
|
|
|
|
public DateTime _createTime;
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime F_CreateDate
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _createTime; }
|
|
|
|
|
|
set { _createTime = value; this.DoNotify(); }
|
|
|
|
|
|
}
|
2023-02-03 00:31:48 +00:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|