32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CowainHmi.Alarm
|
|
{
|
|
public class PLCInfoModel
|
|
{
|
|
[Serializable]
|
|
public class PLCAlarmInfo
|
|
{
|
|
public string PLC { get; set; } = "0";
|
|
public string 地址 { get; set; } = "DB9999.0.0";
|
|
public string 类型 { get; set; } = DataType.BIT.ToString();
|
|
public string 触发条件 { get; set; } = "1";
|
|
public string 代码 { get; set; } = "1";
|
|
public string 报警组 { get; set; } = "1";
|
|
public string 等级 { get; set; } = AlarmType.Null.ToString();
|
|
public string 语言1 { get; set; } = "报警";
|
|
public string 语言2 { get; set; }
|
|
public string 语言3 { get; set; }
|
|
public string 语言4 { get; set; }
|
|
public string 语言5 { get; set; }
|
|
public string 语言6 { get; set; }
|
|
public string 语言7 { get; set; }
|
|
public string 语言8 { get; set; }
|
|
}
|
|
}
|
|
}
|