|
@@ -346,9 +346,9 @@ namespace WCS.WorkEngineering
|
|
|
var tuples1 = new List<Tuple<string, List<int>>>
|
|
|
{
|
|
|
//桁架
|
|
|
- new("10.30.37.211",new List<int>(){1685,1686,1687,1688,1689,1690,1675,1674,1673,1672,1671,1670,1677,1678,1679,1680,1665,1664,1663,1662}), //分拣库一
|
|
|
- new("10.30.37.217",new List<int>(){1715,1716,1717,1718,1719,1720,1705,1704,1703,1702,1701,1700,1707,1708,1709,1710,1695,1694,1693,1692}), //分拣库二
|
|
|
- new("10.30.37.223",new List<int>(){1745,1746,1747,1748,1749,1750,1735,1734,1733,1732,1731,1730,1737,1738,1739,1740,1725,1724,1723,1722}), //分拣库三
|
|
|
+ new("10.30.37.211",new List<int>(){1685,1686,1687,1688,1689,1690,1675,1674,1673,1672,1671,1670,1677,1678,1679,1680,1665,1664,1663,1662,1616,1606}), //分拣库一
|
|
|
+ new("10.30.37.217",new List<int>(){1715,1716,1717,1718,1719,1720,1705,1704,1703,1702,1701,1700,1707,1708,1709,1710,1695,1694,1693,1692,1636,1626}), //分拣库二
|
|
|
+ new("10.30.37.223",new List<int>(){1745,1746,1747,1748,1749,1750,1735,1734,1733,1732,1731,1730,1737,1738,1739,1740,1725,1724,1723,1722,1656,1646}), //分拣库三
|
|
|
};
|
|
|
|
|
|
foreach (var item in tuples1)
|
|
@@ -1099,8 +1099,9 @@ namespace WCS.WorkEngineering
|
|
|
{ DeviceFlags.桁架18取货点, new List<string>(){ "545", "559", "573", "945", "959", "973", "1345", "1359", "1373", "745", "759", "773", "1145", "1159", "1173", "1545", "1559", "1573" } },
|
|
|
//{ 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>(){ "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","1606","1616","1626","1636","1646","1656"} },
|
|
|
{ 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"} },
|
|
|
{ DeviceFlags.Robot, new List<string>(){ "Robot1", "Robot2", "Robot3", "Robot4" , "Robot5", "Robot6" } },
|
|
@@ -1138,17 +1139,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;
|
|
|
|