200 lines
3.3 KiB
C#
200 lines
3.3 KiB
C#
|
|
|
||
|
|
|
||
|
|
//模板信息:{"Template":{"Language":"C#"}}
|
||
|
|
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\Warning"}
|
||
|
|
using System;
|
||
|
|
using System.Text;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
namespace CleanMachine.Model.BAS
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public class Warning
|
||
|
|
{
|
||
|
|
|
||
|
|
private int warningId;
|
||
|
|
private string warningCode;
|
||
|
|
private string warningName;
|
||
|
|
private string plcItemCode;
|
||
|
|
private string warningType;
|
||
|
|
private string warningMessage;
|
||
|
|
private int usedFlag;
|
||
|
|
private int delFlag;
|
||
|
|
private int createBy;
|
||
|
|
private DateTime createTime;
|
||
|
|
private int updateBy;
|
||
|
|
private DateTime updateTime;
|
||
|
|
private int dataVersion;
|
||
|
|
private string remarks1;
|
||
|
|
private string remarks2;
|
||
|
|
private string remarks3;
|
||
|
|
private string remarks4;
|
||
|
|
private string remarks5;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public int WarningId
|
||
|
|
{
|
||
|
|
get { return this.warningId; }
|
||
|
|
set { this.warningId=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string WarningCode
|
||
|
|
{
|
||
|
|
get { return this.warningCode; }
|
||
|
|
set { this.warningCode=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string WarningName
|
||
|
|
{
|
||
|
|
get { return this.warningName; }
|
||
|
|
set { this.warningName=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string PlcItemCode
|
||
|
|
{
|
||
|
|
get { return this.plcItemCode; }
|
||
|
|
set { this.plcItemCode=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string WarningType
|
||
|
|
{
|
||
|
|
get { return this.warningType; }
|
||
|
|
set { this.warningType=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string WarningMessage
|
||
|
|
{
|
||
|
|
get { return this.warningMessage; }
|
||
|
|
set { this.warningMessage=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public int UsedFlag
|
||
|
|
{
|
||
|
|
get { return this.usedFlag; }
|
||
|
|
set { this.usedFlag=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public int DelFlag
|
||
|
|
{
|
||
|
|
get { return this.delFlag; }
|
||
|
|
set { this.delFlag=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public int CreateBy
|
||
|
|
{
|
||
|
|
get { return this.createBy; }
|
||
|
|
set { this.createBy=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public DateTime CreateTime
|
||
|
|
{
|
||
|
|
get { return this.createTime; }
|
||
|
|
set { this.createTime=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public int UpdateBy
|
||
|
|
{
|
||
|
|
get { return this.updateBy; }
|
||
|
|
set { this.updateBy=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public DateTime UpdateTime
|
||
|
|
{
|
||
|
|
get { return this.updateTime; }
|
||
|
|
set { this.updateTime=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public int DataVersion
|
||
|
|
{
|
||
|
|
get { return this.dataVersion; }
|
||
|
|
set { this.dataVersion=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string Remarks1
|
||
|
|
{
|
||
|
|
get { return this.remarks1; }
|
||
|
|
set { this.remarks1=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string Remarks2
|
||
|
|
{
|
||
|
|
get { return this.remarks2; }
|
||
|
|
set { this.remarks2=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string Remarks3
|
||
|
|
{
|
||
|
|
get { return this.remarks3; }
|
||
|
|
set { this.remarks3=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string Remarks4
|
||
|
|
{
|
||
|
|
get { return this.remarks4; }
|
||
|
|
set { this.remarks4=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public string Remarks5
|
||
|
|
{
|
||
|
|
get { return this.remarks5; }
|
||
|
|
set { this.remarks5=value;}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|