From 885092869d8a27a0b77d6e55d3dd3f00f29e8002 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期四, 04 十二月 2025 15:45:48 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs |   29 ++++++++++++++++++++---------
 1 files changed, 20 insertions(+), 9 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs"
index 70ab2b1..d88993d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs"
@@ -1,4 +1,5 @@
-锘縰sing WIDESEA_DTO;
+锘縰sing Org.BouncyCastle.Asn1.Mozilla;
+using WIDESEA_DTO;
 
 namespace WIDESEA_WMSServer.Controllers.Task;
 
@@ -62,6 +63,13 @@
         return await Service.RequestInboundTaskAsync(input);
     }
 
+    [HttpPost, HttpGet, AllowAnonymous, Route("RequestRelocationTaskAsync")]
+    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })]
+    public Task<WebResponseContent> RequestRelocationTaskAsync(string SourceAddress, string TargetAddress)
+    {
+        return Service.RequestRelocationTaskAsync(SourceAddress, TargetAddress);
+    }
+
     /// <summary>
     /// 绌烘墭鐩樻弧鐩樺嚭搴撹姹�
     /// </summary>
@@ -81,9 +89,9 @@
     /// <returns></returns>
     [HttpPost, HttpGet, AllowAnonymous, Route("OutBoundTaskAsync")]
     [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })]
-    public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark)
+    public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark, int doubleTray)
     {
-        return Service.OutBoundTaskAsync(palletCode, remark);
+        return Service.OutBoundTaskAsync(palletCode, remark, doubleTray);
     }
 
     [HttpPost, HttpGet, AllowAnonymous, Route("OtherOutBoundTaskAsync")]
@@ -151,12 +159,6 @@
         return await Service.AGVIsNeedRelocationAsync(taskDto);
     }
 
-    [HttpPost, AllowAnonymous, Route("GetTaskData")]
-    public async Task<WebResponseContent> GetTaskData()
-    {
-        return await Service.GetTaskData();
-    }
-
     [HttpPost, AllowAnonymous, Route("UpdateStartLocationInfo")]
     public async Task<WebResponseContent> UpdateStartLocationInfo([FromBody]Dt_Task task)
     {
@@ -167,4 +169,13 @@
     {
         return Service.RequestLocation(palletCode);
     }
+
+    /// <summary>
+    /// 鍒濆鍖栨彁鍗囨満
+    /// </summary>
+    [HttpGet, HttpPost, AllowAnonymous, Route("elevator")]
+    public Task<WebResponseContent> InitializationElevator()
+    {
+         return Service.InitializationElevator();
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3