From 58a1b8b7db72225e0c2acca4f76399899f1bda4f Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期五, 09 一月 2026 15:14:41 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   35 +++++++++++++++++++++++++++++++++--
 1 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index 287f0e4..f8c3ced 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -41,6 +41,19 @@
         {
             return Service.WMSGenerateOutboundTask(keys);
         }
+
+        [HttpPost, Route("WMSGenerateNewOutboundTask"), AllowAnonymous]
+        public WebResponseContent WMSGenerateNewOutboundTask([FromBody] int[] keys)
+        {
+            return Service.WMSGenerateNewOutboundTask(keys);
+        }
+
+        [HttpPost, Route("WMSGenerateSTOutboundTask"), AllowAnonymous]
+        public WebResponseContent WMSGenerateSTOutboundTask([FromBody] int[] keys)
+        {
+            return Service.WMSGenerateSTOutboundTask(keys);
+        }
+
         /// <summary>
         /// WCS鐢宠鍏ュ簱浠诲姟
         /// </summary>
@@ -62,6 +75,24 @@
         {
             return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode, heightType);
         }
+
+        [HttpPost, HttpGet, Route("CPDeviceRequestInboundTaskSimple"), AllowAnonymous]
+        public WebResponseContent CPDeviceRequestInboundTaskSimple(string stationCode, string palletCode, int heightType, string courceAddress)
+        {
+            return Service.CPDeviceRequestInboundTaskSimple(stationCode, palletCode, heightType, courceAddress);
+        }
+
+        /// <summary>
+        /// 鐢宠宸烽亾
+        /// </summary>
+        /// <param name="palletCode"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("ApplyLocation"), AllowAnonymous]
+        public WebResponseContent ApplyLocation(string palletCode)
+        {
+            return Service.ApplyLocation(palletCode);
+        }
+
         /// <summary>
         /// 鍒ゆ柇宸烽亾鍐呯Щ搴�
         /// </summary>
@@ -177,9 +208,9 @@
         }
 
         [HttpPost, Route("FeedBackInboundERP"), AllowAnonymous]
-        public WebResponseContent FeedBackInboundERP(string upperOrderNo,string linId)
+        public WebResponseContent FeedBackInboundERP(string upperOrderNo, string linId)
         {
-            return Service.FeedBackInboundERP(upperOrderNo , linId);
+            return Service.FeedBackInboundERP(upperOrderNo, linId);
         }
 
         /// <summary>

--
Gitblit v1.9.3