66 lines
1.4 KiB
C#
66 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Media;
|
|
|
|
namespace JiangsuEarthquake.Models
|
|
{
|
|
public class AlarmRecordModel : ParameterModel
|
|
{
|
|
public int Index { get; set; }
|
|
|
|
public DateTime DataTime { get; set; }
|
|
|
|
private string paraName;
|
|
|
|
/// <summary>
|
|
/// 故障参数名称
|
|
/// </summary>
|
|
public string ParaName
|
|
{
|
|
get { return paraName; }
|
|
set { paraName = value; }
|
|
}
|
|
|
|
private int paraNum;
|
|
|
|
/// <summary>
|
|
/// 故障发生次数
|
|
/// </summary>
|
|
public int ParaNum
|
|
{
|
|
get { return paraNum; }
|
|
set { paraNum = value; }
|
|
}
|
|
|
|
private string paraContent;
|
|
|
|
/// <summary>
|
|
/// 故障事件全称
|
|
/// </summary>
|
|
public string ParaContent
|
|
{
|
|
get { return paraContent; }
|
|
set { paraContent = value; }
|
|
}
|
|
|
|
private ImageSource isHandled;
|
|
|
|
/// <summary>
|
|
/// 故障事件是否处理 0未处理 1已处理 2处理中
|
|
/// </summary>
|
|
public ImageSource IsHandled
|
|
{
|
|
get { return isHandled; }
|
|
set { isHandled = value; }
|
|
}
|
|
|
|
public string ProcessingMethod { get; set; }
|
|
|
|
public ImageSource UrgencyLevel { get; set; }
|
|
}
|
|
}
|