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;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备实体类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class BasEquip
|
|
|
|
|
{
|
|
|
|
|
#region 字段定义
|
|
|
|
|
|
|
|
|
|
private string _GUID;
|
|
|
|
|
private string _EquipCode;
|
|
|
|
|
private string _EquipType;
|
|
|
|
|
private string _EquipName;
|
|
|
|
|
private string _EquipIP;
|
|
|
|
|
private List<BasUnit> unitList = new List<BasUnit>();
|
|
|
|
|
private List<string> strUnitList = new List<string>();
|
|
|
|
|
private Dictionary<string, BasUnit> dicUnitList = new Dictionary<string, BasUnit>();
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 构造方法
|
|
|
|
|
|
|
|
|
|
public BasEquip() { }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 属性定义
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// GUID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GUID
|
|
|
|
|
{
|
|
|
|
|
get { return _GUID; }
|
|
|
|
|
set { _GUID = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机台编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EquipCode
|
|
|
|
|
{
|
|
|
|
|
get { return _EquipCode; }
|
|
|
|
|
set { _EquipCode = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机台类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EquipType
|
|
|
|
|
{
|
|
|
|
|
get { return _EquipType; }
|
|
|
|
|
set { _EquipType = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机台名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EquipName
|
|
|
|
|
{
|
|
|
|
|
get { return _EquipName; }
|
|
|
|
|
set { _EquipName = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机台IP
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EquipIP
|
|
|
|
|
{
|
|
|
|
|
get { return _EquipIP; }
|
|
|
|
|
set { _EquipIP = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备单元列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<BasUnit> UnitList
|
|
|
|
|
{
|
|
|
|
|
get { return unitList; }
|
|
|
|
|
set { unitList = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备编号列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> StrUnitList
|
|
|
|
|
{
|
|
|
|
|
get { return strUnitList; }
|
|
|
|
|
set { strUnitList = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备单元字典
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Dictionary<string, BasUnit> DicUnitList
|
|
|
|
|
{
|
|
|
|
|
get { return dicUnitList; }
|
|
|
|
|
set { dicUnitList = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|