From f2392d984123a1402d6c9bab9e5452c7becc8d22 Mon Sep 17 00:00:00 2001
From: 雷神教育集团 <2244205553@qq.com>
Date: 星期五, 06 三月 2026 09:10:48 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhiHuiQiCe/LongDeLiLiKu

---
 项目代码/WCS/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs"
index ccfabbc..ca7c9b5 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs"
@@ -243,7 +243,7 @@
                             //鍏ュ簱
                             if (taskTypeGroup == TaskTypeGroup.InboundGroup)
                             {
-                                if (router.NextPosi == "AGV" && router.StartPosi=="AGV")
+                                if (router.NextPosi == "AGV" && router.StartPosi=="AGV") //鍙夎溅AGV鎼繍鍏ュ簱
                                 {
                                     task.CurrentAddress = item.SourceAddress;
                                     task.NextAddress = item.TargetAddress;
@@ -265,8 +265,7 @@
                         }
                         else
                         {
-                            //鎴愬搧鐮佸灈浠诲姟鐢熸垚
-                            if (taskTypeGroup == TaskTypeGroup.InboundGroup && !task.Roadway.Contains("YL"))
+                            if (taskTypeGroup == TaskTypeGroup.InboundGroup && !task.Roadway.Contains("YL")) //鎴愬搧鐮佸灈浠诲姟鐢熸垚
                             {
                                 task.CurrentAddress = router.StartPosi;
                                 task.NextAddress = "";
@@ -299,7 +298,10 @@
                             if (routers.Count == 1)
                             {
                                 task.NextAddress = router.NextPosi;
-                                task.DeviceCode = router.ChildPosi;
+                                if (task.Roadway.Contains("StackPlate"))
+                                    task.DeviceCode = router.ChildPosiDeviceCode;
+                                else
+                                    task.DeviceCode = router.ChildPosi;
                             }
                         }
                         

--
Gitblit v1.9.3