From 85094861794e433f1c99a0f571b0e2785f9d671c Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 06 五月 2024 14:17:08 +0800
Subject: [PATCH] 出库任务限制一次一条

---
 代码管理/PCS/WCS_Server/WIDESEA_WCS/Jobs/equipment/GantryJob.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Jobs/equipment/GantryJob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Jobs/equipment/GantryJob.cs"
index 51d5974..21d47a4 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Jobs/equipment/GantryJob.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Jobs/equipment/GantryJob.cs"
@@ -5,6 +5,7 @@
 using System.Reflection;
 using System.Text;
 using System.Threading.Tasks;
+using System.Xml.Linq;
 using WIDESEA_Comm.DBItem;
 using WIDESEA_Comm.ItemDB;
 using WIDESEA_Core.EFDbContext;
@@ -41,9 +42,10 @@
                 client.Connect();
                 return;
             }
+            client.WriteByOrder("W_Palpitate", client.ReadByOrder<bool>("R_Palpitate", "蹇冭烦"));
             Gantry gantry = new Gantry();
-            gantry.QueryWheeldata(client);
             gantry.QueryOrder(client);
+            gantry.QueryWheeldata(client);
             gantry.Layofflevel(client);
         }
     }

--
Gitblit v1.9.3