From 35256ce6d0226c23f31306df7c609d96755d2871 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 10 三月 2026 18:55:26 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/RuiShengZhiNeng/GaoPuLiTiKu

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs"
index 8994873..99bb24d 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs"
@@ -71,10 +71,10 @@
                     if (task == null) throw new Exception($"鏈壘鍒颁换鍔�,浠诲姟缂栧彿銆恵hIKROBOT.robotTaskCode}銆�");
                     switch (hIKROBOT.extra.values.method)
                     {
-                        case "start":
+                        case "end":
                             TaskCompleted(task, deviceTypeEnum);
                             break;
-                        case "end":
+                        case "outbin":
                             TaskFromCompleted(task, deviceTypeEnum);
                             break;
                         default:
@@ -124,11 +124,11 @@
                         }
                     }
                 }
-                return content.OK();
+                content.OK();
             }
             catch (Exception ex)
             {
-                return content.Error(ex.Message);
+                 content.Error(ex.Message);
             }
             finally
             {
@@ -157,6 +157,7 @@
                     _trackloginfoService.AddTrackLog(logObject, content, $"涓嬪彂{deviceName}浠诲姟", "", "");
                 }
             }
+            return content;
         }
         #endregion
 

--
Gitblit v1.9.3