From 46e6fa47d1fd07ab5803fb7732095c2d680b38f6 Mon Sep 17 00:00:00 2001
From: zongzhibin <zongzhibin@weben-smart.com>
Date: 周日, 24 11月 2024 14:19:36 +0800
Subject: [PATCH] add

---
 CC/iWareCC_ASRS/ThreadService/03_BZ12(机器人码包工位)/DataProcess_BZ12.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/CC/iWareCC_ASRS/ThreadService/03_BZ12\050\346\234\272\345\231\250\344\272\272\347\240\201\345\214\205\345\267\245\344\275\215\051/DataProcess_BZ12.cs" "b/CC/iWareCC_ASRS/ThreadService/03_BZ12\050\346\234\272\345\231\250\344\272\272\347\240\201\345\214\205\345\267\245\344\275\215\051/DataProcess_BZ12.cs"
index 0d53e87..563d8d4 100644
--- "a/CC/iWareCC_ASRS/ThreadService/03_BZ12\050\346\234\272\345\231\250\344\272\272\347\240\201\345\214\205\345\267\245\344\275\215\051/DataProcess_BZ12.cs"
+++ "b/CC/iWareCC_ASRS/ThreadService/03_BZ12\050\346\234\272\345\231\250\344\272\272\347\240\201\345\214\205\345\267\245\344\275\215\051/DataProcess_BZ12.cs"
@@ -26,7 +26,7 @@
                 SystemWarningMsg._lbl_alert_DataProcess_BZ12 = string.Empty;
                 try
                 {
-                    if (SystemValue.isAllowRuning_DataProcess_BZ39 && SystemValue.isStartedModel)
+                    if ( SystemValue.isStartedModel)
                     {
                         var rgvLocation = StationLocationEnum.BZ12.ToString();
                         /*
@@ -75,7 +75,7 @@
                                     //鏌ヨ鏄惁娣锋壒
                                     if (!string.IsNullOrEmpty(wms_rbline_runmode.PalletizingUPI))
                                     {
-                                        if (upiCode != wms_rbline_runmode.PalletizingUPI)
+                                        if (upiObj.PackageCode != wms_rbline_runmode.PalletizingUPI)
                                         {
                                             SystemWarningMsg._lbl_alert_DataProcess_BZ12 = $"{rgvLocation.ToString()},UPI:{upiCode}鐮佸寘閮ㄤ欢娣锋壒 ";
                                             continue;
@@ -88,6 +88,7 @@
                                     }
                                     else
                                     {
+                                        wms_rbline_runmode.PalletizingUPI=upiObj.PackageCode
                                         if (obj.R_PalletizingStation1 == 1)
                                         {
                                             place = "1";

--
Gitblit v1.9.3