From 0864509e1eb593c3dedb66196ec19fe51437922b Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 26 五月 2025 10:25:42 +0800
Subject: [PATCH] 新增货位管理,PDA扫码生成任务烘烤出料,烘烤回炉,空托回流

---
 代码管理/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs"
index b8dc811..ff5666d 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs"
@@ -39,9 +39,26 @@
         }
 
         [HttpPost, Route("AddCZTask"), AllowAnonymous]
-        public WebResponseContent AddCZTask([FromBody] CZTaskDto czTaskDto)
+        public Task<WebResponseContent> AddCZTask([FromBody] CZTaskDto czTaskDto)
         {
-            return WebResponseContent.Instance.OK();
+            return _taskCZService.AddTaskCZAsync(czTaskDto);
+        }
+
+        [HttpPost, Route("EmptyTask"), AllowAnonymous]
+        public Task<WebResponseContent> EmptyTask([FromBody] SaveModel saveModel)
+        {
+            return _taskCZService.EmptyTask(saveModel);
+        }
+        [HttpPost, Route("OutBoundTask"), AllowAnonymous]
+        public Task<WebResponseContent> OutBoundTask([FromBody] string sourceAddress)
+        {
+            return _taskCZService.OutBoundTask(sourceAddress);
+        }
+
+        [HttpPost, Route("OutBoundTasks"), AllowAnonymous]
+        public Task<WebResponseContent> OutBoundTasks([FromBody] SaveModel saveModel)
+        {
+            return _taskCZService.OutBoundTasks(saveModel);
         }
     }
 }

--
Gitblit v1.9.3