111
cjs
2025-06-16 67e758f3477eb057e3458a0a3e8a2e8c6e94592e
ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/EnentListen.cs
@@ -201,12 +201,15 @@
            #region 10006-叠盘机满托下线(3楼叠盘下线)-3楼叠盘下线--已完成(待测试)
            if (currActionModel.CN_N_ACTION_CODE == 10006)
            {
                var plc = Settings.GetPlcInfo().Where(a => a.enable == 1 && (a.deviceType == "15" || a.deviceType == "25")).FirstOrDefault();
                if (plc != null)
                var plc = Settings.GetPlcInfo().Where(a => a.enable == 1 && (a.deviceType == "15" || a.deviceType == "25")).ToList();
                if (plc.Count >0 )
                {
                    if (PickUpStartFree(plc.location))
                    foreach(var a in plc)
                    {
                        PLCControl.StackingLineEmpty(plc);
                        if (PickUpStartFree(a.location))
                        {
                            PLCControl.StackingLineEmpty(a);
                        }
                    }
                }
                //Thread.Sleep(500);