|
@@ -370,161 +370,125 @@ namespace WCS.WorkEngineering
|
|
|
|
|
|
#region 分拣库一
|
|
|
|
|
|
- //routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
- // #region 出库路径
|
|
|
-
|
|
|
- // //堆垛机--巷道
|
|
|
- // new RouteInfo("SRM1", new string[] { "TY1" }),
|
|
|
- // new RouteInfo("SRM2", new string[] { "TY2" }),
|
|
|
- // //巷道--一楼堆垛机放货口
|
|
|
- // new RouteInfo("TY1", new string[] { "2532" }), //人工取货口
|
|
|
- // new RouteInfo("TY2", new string[] { "2732" }),
|
|
|
- // new RouteInfo("TY1", new string[] { "2534","2533" }),//AGV取货口
|
|
|
- // new RouteInfo("TY2", new string[] { "2734","2733" }),
|
|
|
- // //巷道--二楼堆垛机放货口
|
|
|
- // new RouteInfo("TY1", new string[] { "1601","1605" }),
|
|
|
- // new RouteInfo("TY2", new string[] { "1611","1615" }),
|
|
|
- // //二楼堆垛机放货口--二楼拆盘机
|
|
|
- // new RouteInfo("1601", new string[] { "1602" }),//非09拆盘机
|
|
|
- // new RouteInfo("1611", new string[] { "1612"}),
|
|
|
- // new RouteInfo("1605", new string[] { "1606" }),//09拆盘机
|
|
|
- // new RouteInfo("1615", new string[] { "1616" }),
|
|
|
- // //二楼拆盘机--RGV
|
|
|
-
|
|
|
- // //RGV--码垛区域
|
|
|
- // new RouteInfo("1601", new string[] { "1661","1666" }),//非09拆盘机
|
|
|
- // new RouteInfo("1611", new string[] { }),
|
|
|
- // new RouteInfo("1606", new string[] { "1662","1663","1664","1665", "1670","1671","1672","1673","1674","1675"}),//桁架北区码垛站台
|
|
|
- // new RouteInfo("1616", new string[] { }),
|
|
|
-
|
|
|
- // #endregion 出库路径
|
|
|
- //});
|
|
|
-
|
|
|
- #endregion 分拣库一
|
|
|
-
|
|
|
- #region 出库路线
|
|
|
+ routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
|
|
|
- #region 堆垛机的下一个地址 巷道
|
|
|
+ #region 出库路径
|
|
|
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
+ //堆垛机--巷道
|
|
|
new RouteInfo("SRM1", new string[] { "TY1" }),
|
|
|
new RouteInfo("SRM2", new string[] { "TY2" }),
|
|
|
- });
|
|
|
-
|
|
|
- #endregion 堆垛机的下一个地址 巷道
|
|
|
-
|
|
|
- #region 巷道的下一个地址 堆垛机放货点
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
- new RouteInfo("TY1", new string[] { "SRM1", "2532", "1601", "1605","2534" }),
|
|
|
- new RouteInfo("TY2", new string[] { "SRM2", "2732" }),
|
|
|
- });
|
|
|
-
|
|
|
- #endregion 巷道的下一个地址 堆垛机放货点
|
|
|
-
|
|
|
- #region 堆垛机放货点的下一个地址 拆盘机
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
- new RouteInfo("1601", new string[] { "1602" }),
|
|
|
- new RouteInfo("1605", new string[] { "1606" }),
|
|
|
- });
|
|
|
-
|
|
|
- #endregion 堆垛机放货点的下一个地址 拆盘机
|
|
|
-
|
|
|
- #region 拆盘机的下一个地址 RGV
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
- new RouteInfo("1602", new string[] { "RGV1" }),
|
|
|
- new RouteInfo("1606", new string[] { "RGV1" })
|
|
|
- });
|
|
|
-
|
|
|
- #endregion 拆盘机的下一个地址 RGV
|
|
|
-
|
|
|
- #region RGV的下一个地址 码垛工位
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
- new RouteInfo("1604", new string[] { "1603" }),
|
|
|
- });
|
|
|
-
|
|
|
- #endregion RGV的下一个地址 码垛工位
|
|
|
-
|
|
|
- #endregion 出库路线
|
|
|
-
|
|
|
- #region 入库路线
|
|
|
-
|
|
|
- #region 堆垛机取货点的下一个地址 巷道
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
- new RouteInfo("2532", new string[] { "TY1" }),
|
|
|
- new RouteInfo("2732", new string[] { "TY2" }),
|
|
|
- new RouteInfo("2527", new string[] { "TY1" }),
|
|
|
- new RouteInfo("2528", new string[] { "TY1" }),
|
|
|
- new RouteInfo("2727", new string[] { "TY2" }),
|
|
|
- new RouteInfo("2728", new string[] { "TY2" }),
|
|
|
- new RouteInfo("1603", new string[] { "TY1" }),
|
|
|
- });
|
|
|
-
|
|
|
- #endregion 堆垛机取货点的下一个地址 巷道
|
|
|
-
|
|
|
- #endregion 入库路线
|
|
|
-
|
|
|
- #region 满轮主线
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
-
|
|
|
- #region 分拣库一
|
|
|
-
|
|
|
- //主线第一个扫码点--预分配点
|
|
|
+ //巷道--一楼堆垛机放货口
|
|
|
+ new RouteInfo("TY1", new string[] { "2532" }), //人工取货口
|
|
|
+ new RouteInfo("TY2", new string[] { "2732" }),
|
|
|
+ new RouteInfo("TY1", new string[] { "2534","2533" }),//AGV取货口
|
|
|
+ new RouteInfo("TY2", new string[] { "2734","2733" }),
|
|
|
+ //巷道--二楼堆垛机放货口
|
|
|
+ new RouteInfo("TY1", new string[] { "1601","1605" }),
|
|
|
+ new RouteInfo("TY2", new string[] { "1611","1615" }),
|
|
|
+ //二楼堆垛机放货口--二楼拆盘机
|
|
|
+ new RouteInfo("1601", new string[] { "1602" }),//非09拆盘机
|
|
|
+ new RouteInfo("1611", new string[] { "1612"}),
|
|
|
+ new RouteInfo("1605", new string[] { "1606" }),//09拆盘机
|
|
|
+ new RouteInfo("1615", new string[] { "1616" }),
|
|
|
+ //二楼拆盘机--RGV
|
|
|
+ new RouteInfo("1602", new string[] { "RGV1" }),//非09拆盘机
|
|
|
+ //new RouteInfo("1612", new string[] { "RGV2"}),
|
|
|
+ new RouteInfo("1606", new string[] { "RGV1" }),//09拆盘机
|
|
|
+ //new RouteInfo("1616", new string[] { "RGV2" }),
|
|
|
+ //RGV--码垛区域
|
|
|
+ new RouteInfo("RGV1", new string[] { "1661","1666" }),//北区机械臂码垛区
|
|
|
+ //new RouteInfo("RGV2", new string[] { }),//南区机械臂
|
|
|
+ new RouteInfo("RGV1", new string[] { "1662","1663","1664","1665", "1670","1671","1672","1673","1674","1675"}),//桁架北区码垛站台
|
|
|
+ //new RouteInfo("RGV2", new string[] { }),//南区桁架
|
|
|
+
|
|
|
+ #endregion 出库路径
|
|
|
+
|
|
|
+ #region 入库
|
|
|
+
|
|
|
+ //一楼人工入库口-巷道
|
|
|
+ new RouteInfo("2532", new string[] { "TY1" }),
|
|
|
+ new RouteInfo("2732", new string[] { "TY2" }),
|
|
|
+ //一楼叠盘机(堆垛机入口)--巷道
|
|
|
+ new RouteInfo("2527", new string[] { "TY1" }),
|
|
|
+ new RouteInfo("2528", new string[] { "TY1" }),
|
|
|
+ new RouteInfo("2727", new string[] { "TY2" }),
|
|
|
+ new RouteInfo("2728", new string[] { "TY2" }),
|
|
|
+ //一楼AGV入口
|
|
|
+ //主线入口--预分配点
|
|
|
new RouteInfo("1", new string[] { "18" }),
|
|
|
- //预分配点--分流点
|
|
|
+ //预分配点--主线分流点
|
|
|
new RouteInfo("18", new string[] { "22" }),
|
|
|
- //分流点--环形库分流点
|
|
|
+ //主线分流点--环形库分流点
|
|
|
new RouteInfo("22", new string[] { "418" }),
|
|
|
-
|
|
|
- #endregion 分拣库一
|
|
|
- });
|
|
|
-
|
|
|
- #endregion 满轮主线
|
|
|
-
|
|
|
- #region 满轮支线
|
|
|
-
|
|
|
- routeInfos.AddRange(new List<RouteInfo>() {
|
|
|
-
|
|
|
- #region 分拣库一
|
|
|
-
|
|
|
+ //环形库分流点--环形库取货点
|
|
|
+ new RouteInfo("418", new string[] { "424","433","442" }),
|
|
|
//环形库分流点--桁架分流点
|
|
|
new RouteInfo("418", new string[] { "455" }),
|
|
|
- //桁架分流点--异常排出点
|
|
|
- new RouteInfo("455", new string[] { "591", }),
|
|
|
- //桁架分流点--桁架取货线体缓存点
|
|
|
- new RouteInfo("455", new string[] { "466", "480", "494", "508", "522", "536" }),
|
|
|
- //桁架取货线体缓存点--桁架取货点
|
|
|
+ //桁架分流点--桁架缓存放行点
|
|
|
+ new RouteInfo("455", new string[] { "466","480","494","508", "522","536","550","564","578"}),
|
|
|
+ //桁架分流点--异常缓存放行点
|
|
|
+ new RouteInfo("455", new string[] { "491" }),
|
|
|
+ //桁架缓存放行点--桁架取货点
|
|
|
new("466", new[] { "461" }),
|
|
|
new("480", new[] { "475" }),
|
|
|
new("494", new[] { "489" }),
|
|
|
new("508", new[] { "503" }),
|
|
|
new("522", new[] { "517" }),
|
|
|
new("536", new[] { "531" }),
|
|
|
- //桁架取货点--码垛工位
|
|
|
- new("461", new[] {"1670", "1671", "1672", "1673", "1674", "1675" }),
|
|
|
- new("475", new[] { "1670", "1671", "1672", "1673", "1674", "1675" }),
|
|
|
- new("489", new[] { "1670", "1671", "1672", "1673", "1674", "1675" }),
|
|
|
- new("503", new[] { "1670", "1671", "1672", "1673", "1674", "1675" }),
|
|
|
- new("517", new[] { "1670", "1671", "1672", "1673", "1674", "1675" }),
|
|
|
- new("531", new[] { "1670", "1671", "1672", "1673", "1674", "1675" }),
|
|
|
- //桁架码垛工位--RGV
|
|
|
- new RouteInfo("1673", new string[] { "RGV1" }),
|
|
|
+ new("550", new[] { "545" }),
|
|
|
+ new("564", new[] { "559" }),
|
|
|
+ new("578", new[] { "573" }),
|
|
|
+ //桁架取货点--桁架
|
|
|
+ new("461", new[] { "Truss1" }),
|
|
|
+ new("475", new[] { "Truss1" }),
|
|
|
+ new("489", new[] { "Truss1" }),
|
|
|
+ new("503", new[] { "Truss1" }),
|
|
|
+ new("517", new[] { "Truss1" }),
|
|
|
+ new("531", new[] { "Truss1" }),
|
|
|
+ new("545", new[] { "Truss1" }),
|
|
|
+ new("559", new[] { "Truss1" }),
|
|
|
+ new("573", new[] { "Truss1" }),
|
|
|
+ //桁架--码垛工位
|
|
|
+ new("Truss1", new[] { "1662" }),
|
|
|
+ new("Truss1", new[] { "1663" }),
|
|
|
+ new("Truss1", new[] { "1664" }),
|
|
|
+ new("Truss1", new[] { "1665" }),
|
|
|
+ new("Truss1", new[] { "1670" }),
|
|
|
+ new("Truss1", new[] { "1671" }),
|
|
|
+ new("Truss1", new[] { "1672" }),
|
|
|
+ new("Truss1", new[] { "1673" }),
|
|
|
+ new("Truss1", new[] { "1674" }),
|
|
|
+ new("Truss1", new[] { "1675" }),
|
|
|
+ //码垛工位--RGV
|
|
|
+ new RouteInfo("1661", new string[] { "RGV1" }),//机械手码垛工位
|
|
|
+ new RouteInfo("1666", new string[] { "RGV1" }),
|
|
|
+ new RouteInfo("1662", new string[] { "RGV1" }),//绗架码垛工位
|
|
|
+ new RouteInfo("1663", new string[] { "RGV1" }),
|
|
|
+ new RouteInfo("1664", new string[] { "RGV1" }),
|
|
|
+ new RouteInfo("1665", new string[] { "RGV1" }),
|
|
|
+ new RouteInfo("1670", new string[] { "RGV1" }),
|
|
|
new RouteInfo("1671", new string[] { "RGV1" }),
|
|
|
new RouteInfo("1672", new string[] { "RGV1" }),
|
|
|
+ new RouteInfo("1673", new string[] { "RGV1" }),
|
|
|
new RouteInfo("1674", new string[] { "RGV1" }),
|
|
|
new RouteInfo("1675", new string[] { "RGV1" }),
|
|
|
- //RGV--码垛工位
|
|
|
- new RouteInfo("RGV1", new string[] { "1662", "1663", "1664", "1665","1604", "1661", "1675", "1674", "1673", "1672", "1671", "1670", "1669", "1668", "1667", "1666" }),
|
|
|
+ //RGV--RGV放货点
|
|
|
+ new RouteInfo("RGV1", new string[] { "1604" }),
|
|
|
+ //RGV放货点--堆垛机取货口
|
|
|
+ new RouteInfo("1604", new string[] { "1603" }),//北侧
|
|
|
|
|
|
- #endregion 分拣库一
|
|
|
+ //二楼堆垛机入库--巷道
|
|
|
+ new RouteInfo("1603", new string[] { "TY1" }),//北侧
|
|
|
+ new RouteInfo("1613", new string[] { "TY2" }),//南侧
|
|
|
+
|
|
|
+ //巷道--堆垛机
|
|
|
+ new RouteInfo("TY1", new string[] { "SRM1" }),
|
|
|
+ new RouteInfo("TY2", new string[] { "SRM2" }),
|
|
|
+
|
|
|
+ #endregion 入库
|
|
|
});
|
|
|
|
|
|
- #endregion 满轮支线
|
|
|
+ #endregion 分拣库一
|
|
|
|
|
|
foreach (var item in routeInfos)
|
|
|
{
|
|
@@ -601,6 +565,8 @@ namespace WCS.WorkEngineering
|
|
|
_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;
|
|
|
|