| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 
							- using SqlSugar;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading;
 
- using WCS.Data;
 
- using WCS.Data.Models;
 
- namespace WCS_Client.Frm
 
- {
 
-     public class WCS_PLC
 
-     {
 
-         #region 属性
 
-         [SugarColumn(IsPrimaryKey = true)]
 
-         public string PLC_NAME { get; set; }
 
-         public string PLC_IP { get; set; }
 
-         public string PLC_EQUIPMENTTYPE { get; set; }
 
-         public bool PLC_ISENABLE { get; set; }
 
-         public bool PLC_CONNECTSTATUS { get; set; }
 
-         public int PLC_PORT { get; set; }
 
-         public int PLC_SLOT { get; set; }
 
-         public int PLC_RACK { get; set; }
 
-         /// <summary>
 
-         /// WCS系统
 
-         /// </summary>
 
-         public string PLC_WCSSYSTEM { get; set; }
 
-         public string PLC_NOTES { get; set; }
 
-         //DB集合
 
-         public List<WCS_DBDEFINITION> WCS_DBSet = new List<WCS_DBDEFINITION>();
 
-         //扫描的条码集合
 
-         [SugarColumn(IsIgnore = true)]
 
-         public List<WCS_SCANN> WCS_ScannSet { get; set; }
 
-         //设备信号集合
 
-         [SugarColumn(IsIgnore = true)]
 
-         public List<WCS_SC521> WCS_EquipmentInfoSet { get; set; }
 
-         #endregion;
 
-         #region 函数
 
-         public void Init()
 
-         {
 
-             foreach (var item in WCS_DBSet)
 
-             {
 
-                 item.DB_EQUDATA = new byte[item.DB_TOLLENGTH];
 
-             }
 
-         }
 
-         #endregion;
 
-     }
 
- }
 
 
  |