From 84ebbaf5bcb24a7b283c7aee38879b16f262b7c6 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 05 十二月 2025 10:14:31 +0800
Subject: [PATCH] 更新

---
 项目代码/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
index 72a97af..64f2b29 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
@@ -107,10 +107,21 @@
         /// </summary>
         /// <param name="taskNum"></param>
         /// <returns></returns>
-        [HttpPost, HttpGet, Route("RecWMSTaskCompleted"), AllowAnonymous]
-        public WebResponseContent RecWMSTaskCompleted(int taskNum)
+        [HttpPost, HttpGet, Route("RecTaskCompleted"), AllowAnonymous]
+        public WebResponseContent RecTaskCompleted(int taskNum)
         {
             return Service.TaskCompleted(taskNum);
         }
+
+        /// <summary>
+        /// WMS浠诲姟鍙栨秷鍚屾
+        /// </summary>
+        /// <param name="taskNum"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("CancelTask"), AllowAnonymous]
+        public WebResponseContent CancelTask(List<TaskCancel> taskCancels)
+        {
+            return WebResponseContent.Instance.Error();
+        }
     }
 }

--
Gitblit v1.9.3