|
@@ -1,6 +1,7 @@
|
|
|
using ServiceCenter;
|
|
|
using ServiceCenter.SqlSugars;
|
|
|
using WCS.Core;
|
|
|
+using WCS.Entity;
|
|
|
using WCS.Entity.Protocol.BCR;
|
|
|
using WCS.Entity.Protocol.RGV;
|
|
|
using WCS.Entity.Protocol.Robot;
|
|
@@ -1072,8 +1073,8 @@ namespace WCS.WorkEngineering
|
|
|
{ DeviceFlags.桁架09异常缓存放行点, new List<string>(){ /*"591", "791" ,*/"991" , "1191" , "1391" , "1591" } },
|
|
|
{ DeviceFlags.桁架18缓存放行点, new List<string>(){ /*"550", "564", "578", "750", "764", "778" ,*/ "950", "964", "978" , "1150", "1164", "1178" , "1350", "1364", "1378" , "1450", "1464", "1478" } },
|
|
|
{ DeviceFlags.桁架取货点, new List<string>(){ /*"461", "475", "489", "503","517","531", "545", "559", "573", "586", "661", "675", "689", "703", "717", "731", "745", "759", "773", "786", */"861", "875", "889", "903", "917", "931", "945", "959", "973", "986", "1061", "1075", "1089", "1103", "1117", "1131", "1145", "1159", "1173", "1186", "1261", "1275", "1289", "1303", "1317", "1331", "1345", "1359", "1373", "1386" , "1461", "1475", "1489", "1503", "1517", "1531", "1545", "1559", "1573", "1586" } },
|
|
|
- { DeviceFlags.拆盘机09, new List<string>(){ /*"1606", "1616",*/"1626","1636","1646","1656" } },
|
|
|
- { DeviceFlags.拆盘机非09, new List<string>(){ /*"1602", "1612",*/"1622","1632","1642","1652" } },
|
|
|
+ //{ DeviceFlags.拆盘机09, new List<string>(){ /*"1606", "1616",*/"1626","1636","1646","1656" } },
|
|
|
+ { DeviceFlags.拆盘机, new List<string>(){ /*"1602", "1612",*/"1622","1632","1642","1652" } },
|
|
|
{ DeviceFlags.桁架码垛位, new List<string>(){/* "1670", "1671", "1672", "1673", "1674", "1675","1664","1662","1663","1665","1677","1678","1679","1680","1685","1686","1687","1688","1689","1690",*/ "1692", "1693", "1694", "1695", "1700", "1701", "1702", "1703", "1704", "1705", "1707", "1708", "1709", "1710", "1715", "1716", "1717", "1718", "1719", "1720", "1722", "1723", "1724", "1725", "1730", "1731", "1732", "1733", "1734", "1735", "1737", "1738", "1739", "1740", "1745", "1746", "1747", "1748", "1749", "1750" } },
|
|
|
{ DeviceFlags.环形库码垛工位, new List<string>(){ /*"1666", "1661", "1676", "1681",*/ "1691", "1696", "1706", "1711", "1721", "1726", "1736", "1741" } },
|
|
|
{ DeviceFlags.AGV取货站台口, new List<string>(){ "2533", "2534", "2734","2733","2934","2933","3133","3134","3333","3334","3533","3534" } },
|
|
@@ -1108,17 +1109,17 @@ namespace WCS.WorkEngineering
|
|
|
{
|
|
|
case "WCSDB"://WCS基本数据库
|
|
|
SqlSugarHelper.SetDefault(connectionString.Key);
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_PlcData));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_TaskInfo));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_TaskDtl));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_TaskOld));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_AgvTaskInfo));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_Palletizing));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_PalletizingLayer));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_PalletizingRow));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_PalletizingLoc));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_CacheLine));
|
|
|
- //_db.CodeFirst.InitTables(typeof(WCS_CacheLineLoc));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_PlcData));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_TaskInfo));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_TaskDtl));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_TaskOld));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_AgvTaskInfo));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_Palletizing));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_PalletizingLayer));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_PalletizingRow));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_PalletizingLoc));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_CacheLine));
|
|
|
+ _db.CodeFirst.InitTables(typeof(WCS_CacheLineLoc));
|
|
|
|
|
|
break;
|
|
|
|