修改模型
This commit is contained in:
239
CleanMachine.Model/BAS/PlcItem.cs
Normal file
239
CleanMachine.Model/BAS/PlcItem.cs
Normal file
@@ -0,0 +1,239 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\PlcItem"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class PlcItem
|
||||
{
|
||||
|
||||
private int plcItemId;
|
||||
private string plcItemCode;
|
||||
private string plcItemName;
|
||||
private int plcItemType;
|
||||
private int plcItemDataType;
|
||||
private int plcItemDataLength;
|
||||
private string plcItemPriAddress;
|
||||
private string plcItemModbusAddress;
|
||||
private string plcItemDeviationAddress;
|
||||
private string plcItemValue;
|
||||
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 PlcItemId
|
||||
{
|
||||
get { return this.plcItemId; }
|
||||
set { this.plcItemId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemName
|
||||
{
|
||||
get { return this.plcItemName; }
|
||||
set { this.plcItemName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemType
|
||||
{
|
||||
get { return this.plcItemType; }
|
||||
set { this.plcItemType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemDataType
|
||||
{
|
||||
get { return this.plcItemDataType; }
|
||||
set { this.plcItemDataType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemDataLength
|
||||
{
|
||||
get { return this.plcItemDataLength; }
|
||||
set { this.plcItemDataLength=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemPriAddress
|
||||
{
|
||||
get { return this.plcItemPriAddress; }
|
||||
set { this.plcItemPriAddress=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemModbusAddress
|
||||
{
|
||||
get { return this.plcItemModbusAddress; }
|
||||
set { this.plcItemModbusAddress=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemDeviationAddress
|
||||
{
|
||||
get { return this.plcItemDeviationAddress; }
|
||||
set { this.plcItemDeviationAddress=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemValue
|
||||
{
|
||||
get { return this.plcItemValue; }
|
||||
set { this.plcItemValue=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;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user