From a2f06e43a6f4ed3c613aefbb8bc0ccf3dd30ff8f Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期五, 26 十二月 2025 13:34:20 +0800
Subject: [PATCH] 1

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

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs"
index f270d4a..8789af7 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs"
@@ -334,13 +334,13 @@
                         {
                             operationResult = RYB_PTL.RYB_PTL_CloseDigit5(url, lightSendDTO.LOCATION);
                             // TODO: 鍏抽棴鐏厜鍥炶皟澶勭悊
-                            List<EPLightBackDTO> lightBackDTOs = new List<EPLightBackDTO>();
-                            List<TaskBackLight> taskBackLights = lightBackDTOs.Select(x => new TaskBackLight()
-                            {
-                                TagNo = "B1",
-                                TagCode = x.LOCATION,
-                            }).ToList();
-                            content = WMSLightBack(taskBackLights);
+                            //List<EPLightBackDTO> lightBackDTOs = new List<EPLightBackDTO>();
+                            //List<TaskBackLight> taskBackLights = lightSendDTOs.Select(x => new TaskBackLight()
+                            //{
+                            //    TagNo = "B1",
+                            //    TagCode = x.LOCATION,
+                            //}).ToList();
+                            //content = WMSLightBack(taskBackLights);
                         }
                         // 澶勭悊鏄剧ず鐏厜璇锋眰
                         else
@@ -361,7 +361,6 @@
                                 lightType,
                                 lightColor);
                         }
-
                         if (!operationResult)
                         {
                             allSuccess = false;
@@ -407,9 +406,9 @@
                             QUANTITY=taskSendLight.TagQunity,
                             LIGHTCOLOR=taskSendLight.Color switch
                             {
-                                "Blue" => "1",
+                                "Blue" => "4",
                                 "Green" => "2",
-                                "Red" => "4",
+                                "Red" => "1",
                                 _ => throw new Exception($"鏈壘鍒伴鑹插畾涔�")
                             },
                             ORDERTYPE="1",
@@ -849,7 +848,7 @@
                     return content.Error($"鏈壘鍒版挱绉嶅涓嬪彂鎺ュ彛,璇锋鏌ユ帴鍙i厤缃�");
                 }
                 string request = JsonConvert.SerializeObject(lightSendDTOs, settings).ToUpper();
-                //璋冪敤鎺ュ彛
+                // 璋冪敤鎺ュ彛
                 string response = HttpHelper.Post(url, request);
                 EPLightContent lightContent = JsonConvert.DeserializeObject<EPLightContent>(response) ?? throw new Exception($"鏈帴鏀跺埌鎾澧欎笅鍙戜笂鎶ヨ繑鍥炲��");
                 if (lightContent.Result != "0") throw new Exception($"鎾澧欎笅鍙戦敊璇�,淇℃伅:{lightContent.Msg}");

--
Gitblit v1.9.3