You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using Mesnac.Codd.Session;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Entity
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备单元实体类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class BasUnit
|
|
|
|
|
{
|
|
|
|
|
#region 构造方法
|
|
|
|
|
|
|
|
|
|
public BasUnit()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BasUnit(string GUID, string unitNum, string equipUnitName)
|
|
|
|
|
{
|
|
|
|
|
this.GUID = GUID; //设备单元GUID
|
|
|
|
|
this.EquipUnitName = equipUnitName; //设备单元名称
|
|
|
|
|
this.UnitNum = unitNum; //设备单元编号
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BasUnit(string GUID, string unitNum, string equipUnitName, string finishBatchType)
|
|
|
|
|
{
|
|
|
|
|
this.GUID = GUID;
|
|
|
|
|
this.UnitNum = unitNum;
|
|
|
|
|
this.EquipUnitName = equipUnitName;
|
|
|
|
|
this.FinishBatchType = finishBatchType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BasUnit(string GUID, string unitNum, string equipUnitName, string finishBatchType, string processGroup)
|
|
|
|
|
{
|
|
|
|
|
this.GUID = GUID;
|
|
|
|
|
this.UnitNum = unitNum;
|
|
|
|
|
this.EquipUnitName = equipUnitName;
|
|
|
|
|
this.FinishBatchType = finishBatchType;
|
|
|
|
|
this.ProcessGroup = processGroup;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 属性定义
|
|
|
|
|
|
|
|
|
|
public string GUID
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string UnitNum
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string EquipUnitName
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string IsNeedJar
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string JarType
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string FinishBatchType
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ProcessGroup
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DateTime RecordTime
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string RecordUser
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string DataSource
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string DeleteFlag
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Remark
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|