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