From 06a8b6963d6d4f229d4e196b4b09ce57e2cbf2dd Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期四, 24 七月 2025 17:21:40 +0800 Subject: [PATCH] 印尼佳通-GT服务开发 --- HH.WCS.Mobox3/HH.WCS.Mobox3.SXJK/core/Monitor.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.SXJK/core/Monitor.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.SXJK/core/Monitor.cs index 07262ce..a334c92 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.SXJK/core/Monitor.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.SXJK/core/Monitor.cs @@ -149,7 +149,7 @@ { float weight = pipelineSignalInfo.weight / trayCodes.Count; - float furWeight = WMSHelper.getFurWeight(child.LOTATT09); // 姣涚毊閲嶉噺 + float furWeight = WMSHelper.getFurWeight(child.LOTATT10); // 姣涚毊閲嶉噺 child.F_NET_WEIGHT = weight - furWeight; asnNo = child.S_ASN_NO; orientSign = child.LOTATT18; @@ -445,8 +445,14 @@ { taskTrayCode = taskTrayCode + "," + locCntrs[i].S_CNTR_CODE; } + float trayItemNum = cntrItemRels.Sum(a => a.F_QTY); + if (trayItemNum > child.N_QTY - child.COMPLETED_QTY) + { + break; + } } } + // 鏌ヨ闆嗚揣鍖鸿揣浣� Location endLoc = WMSHelper.getEndLocation(child.LOTATT18, asnNo, locCntrs.Count(), endAreaCode); -- Gitblit v1.9.1