From 8ab19ae17dc98d3c79f87ca54aa4cdc75d174b12 Mon Sep 17 00:00:00 2001 From: cjs <2216046164@qq.com> Date: 星期三, 18 六月 2025 17:10:30 +0800 Subject: [PATCH] 111 --- ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/EnentListen.cs | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/EnentListen.cs b/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/EnentListen.cs index 56acb2c..07db68e 100644 --- a/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/EnentListen.cs +++ b/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/EnentListen.cs @@ -166,15 +166,7 @@ { list.ForEach(a => { - if(a.deviceType == "1") - { - PLCControl.PickUpBlank(a); - } - else - { - PLCControl.PickUpBlankTwo(a); - } - + PLCControl.PickUpBlankTwo(a); }); } } @@ -322,7 +314,7 @@ list.ForEach(a => { // 鍖呰鏈哄惎鍔ㄦ椂璇诲彇銆愮炕椤甸�閬撱�锛屾牴鎹〉鍙疯幏鍙栦簲鏉℃暟鎹紝鐒跺悗鍐欏叆鍖呰鏈�- //ERPService.WriteItemInfo(a); + //ERPService.WriteItemInfoTwo(a); PLCControl.CheckPackingMachineTetracobalt(a); }); @@ -338,7 +330,7 @@ { lock (lock10015) { - ERPService.insertMidTable(); + //ERPService.insertMidTable(); } } #endregion @@ -352,7 +344,7 @@ { if (CheckStartFree(plc.location)) { - PLCControl.CheckPackingLineFullTwo(plc); + PLCControl.CheckPackingLineFullThree(plc); } } //Thread.Sleep(500); -- Gitblit v1.9.1