From 9e579eda4601ed7b492b9d19a24e8146f6ebdf8d Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期六, 19 四月 2025 19:50:43 +0800
Subject: [PATCH] 优化空托出入库逻辑

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
index e671b1a..6b843a6 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
@@ -4,8 +4,12 @@
 using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
 using WIDESEAWCS_DTO.AGVInfo;
+using WIDESEAWCS_DTO.TaskInfo;
+using WIDESEAWCS_ITaskInfoService;
+using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob;
 using WIDESEAWCS_QuartzJob.DeviceBase;
+using WIDESEAWCS_Tasks;
 using WIDESEAWCS_Tasks.ConveyorLineJob.ConveyorLineExtend;
 
 namespace WIDESEAWCS_Server.Controllers
@@ -14,7 +18,7 @@
     /// AGV鎺ュ彛
     /// </summary>
     [Route("api/AGV")]
-    [ApiController]
+    [ApiController, AllowAnonymous]
     public class AGVController : Controller
     {
         /// <summary>
@@ -22,10 +26,19 @@
         /// </summary>
         /// <param name="saveModel">璇锋眰鍙傛暟</param>
         /// <returns></returns>
-        [HttpPost, Route("AGVRequestin"), AllowAnonymous]
+        [HttpPost, Route("AGVRequestin")]
         public WebResponseContent AGVRequestin([FromBody] ConveyorLineDTO saveModel)
         {
             return AGVsignal.AGVRequestin(saveModel);
         }
+        /// <summary>
+        /// 杈撻�佺嚎鍏ュ彛鏀捐揣瀹屾垚
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("ReleaseCompleted")]
+        public WebResponseContent ReleaseCompleted()
+        {
+            return AGVsignal.ReleaseCompleted();
+        }
     }
 }

--
Gitblit v1.9.3