From d9c99e0480b4910cdb134778dd5c314b35ec4cf2 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 29 九月 2025 10:05:23 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs"
index d10438b..872fbbf 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/WCSInterfaceController.cs"
@@ -1,5 +1,6 @@
 锘縰sing Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Common;
 using WIDESEA_Core;
 using WIDESEA_IBasicService;
 using WIDESEA_ITaskInfoService;
@@ -25,9 +26,9 @@
         /// <param name="position"></param>
         /// <returns></returns>
         [HttpPost, Route("GetPosition")]
-        public WebResponseContent GetPosition(string position)
+        public WebResponseContent GetPosition(string position, string position1)
         {
-            return _locationInfoService.GetPosition(position);
+            return _locationInfoService.GetPosition(position, position1);
         }
         /// <summary>
         /// 淇敼浠诲姟鐘舵��
@@ -57,8 +58,17 @@
         [HttpPost, Route("StackerCraneRequestInbound")]
         public WebResponseContent StackerCraneRequestInbound([FromBody] ConveyorLineDTO lineDTO)
         {
-            return _taskService.StackerCraneRequestInbound(lineDTO);
+            return _taskService.NewStackerCraneRequestInbound(lineDTO);
         }
-        ///AGV鐢宠鍑哄簱鍦板潃
+        /// <summary>
+        /// AGV鍙栨秷浠诲姟
+        /// </summary>
+        /// <param name="task"></param>
+        /// <returns></returns>
+        [HttpPost, Route("CancelTask")]
+        public WebResponseContent CancelTask([FromBody] WMSTaskDTO task)
+        {
+            return _taskService.CancelTask(task);
+        }
     }
 }

--
Gitblit v1.9.3