From a3014a01e07619105d597d0c51cf195217b0806f Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期二, 29 七月 2025 10:47:01 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs |   66 ++++++++++++++------------------
 1 files changed, 29 insertions(+), 37 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs
index 42a1524..d48e352 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs
@@ -29,6 +29,7 @@
 using WIDESEA_Core.BaseServices;
 using WIDESEA_Core.Enums;
 using WIDESEA_DTO.Stock;
+using WIDESEA_DTO.Task;
 using WIDESEA_ITaskInfoRepository;
 using WIDESEA_Model.Models;
 
@@ -37,60 +38,51 @@
     public interface ITaskService : IService<Dt_Task>
     {
         ITaskRepository Repository { get; }
+        WebResponseContent InboundRequest(string stationCode, string roadwayNo, string palletCode);
 
-        WebResponseContent GenerateInboundTask(string stationCode, int taskType, string palletCode);
-        WebResponseContent InboundRequest(SaveModel saveModel);
+        WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode, int heightType);
 
-        WebResponseContent TaskCompleted(int taskNum);
+        Task<WebResponseContent> TaskCompleted(int taskNum);
+
+        WebResponseContent UpdateTaskStatus(int tasknum, int tasktype);
+        
 
         WebResponseContent GenerateOutboundTask(int orderDetailId, List<StockSelectViewDTO> stockSelectViews);
-        //WebResponseContent GenerateOutboundTasks(int orderDetailId, List<StockSelectViewDTO> stockSelectViews);
 
-        WebResponseContent GenerateOutboundTask(int[] keys);
+        WebResponseContent WMSGenerateOutboundTask(int[] keys);
 
-        WebResponseContent PalletOutboundTask(string roadwayNo, string endStation);
 
         WebResponseContent CallMateriel(string endPoint);
 
         WebResponseContent MaterielCarry(string startPoint);
         WebResponseContent IsRelocations(int TaskNum, string SourceAddress);
-
-        //WebResponseContent GenerateInventoryInformation(GenerateInv generate);
-        WebResponseContent ManualOutbound(SaveModel saveModel);
-        WebResponseContent ManualOutbound2(SaveModel saveModel);
-        WebResponseContent ManualOutbound3(SaveModel saveModel);
-        WebResponseContent ManualOutbound4(SaveModel saveModel);
-        WebResponseContent ManualOutboundDeleteinventory(SaveModel saveModel);
-        //WebResponseContent Empty_outbound(GenerateInv generate);
-        //WebResponseContent Queryinventory(GenerateInv generate);
-        WebResponseContent PalletQueryinventory();
-        //WebResponseContent RelocationTaskCompleted(GenerateInv2 generate);
-        //WebResponseContent Rawmaterialout(GenerateInv3 generate);
         WebResponseContent Cancelinventory(int taskNum);
         WebResponseContent InboundTaskCompleted(int taskNum);
         WebResponseContent OutboundTaskCompleted(int taskNum);
         WebResponseContent AddOutboundOrders(Houseounbound orderAddDTO);
         WebResponseContent InventoryOut(HouseCancelOut houseInventoryOut);
         WebResponseContent InventoryIn(string name, int qty);
+        /// <summary>
+        /// 鍒嗛厤宸烽亾
+        /// </summary>
+        /// <param name="taskNum"></param>
+        /// <param name="roadwayNos"></param>
+        /// <returns></returns>
+        WebResponseContent AssignRoadway(int taskNum, List<string> roadwayNos, int heightType);
+        /// <summary>
+        /// 鍏ュ簱浠诲姟鐢宠鍒嗛厤璐т綅
+        /// </summary>
+        /// <param name="taskNum">浠诲姟鍙�</param>
+        /// <param name="roadwayNo">宸烽亾鍙�</param>
+        /// <param name="palletType">鎵樼洏绫诲瀷</param>
+        /// <returns></returns>
+        WebResponseContent AssignInboundTaskLocation(int taskNum, string roadwayNo);
 
-        //public class GenerateInv
-        //{
-        //    public string SourceAddress { get; set; }
-        //    public string PalletCode { get; set; }
-        //}
-
-        //public class GenerateInv2
-        //{
-        //    public string PalletCode { get; set; }
-        //    public string SourceAddress { get; set; }
-        //    public string TargetAddress { get; set; }
-        //}
-
-        //public class GenerateInv3
-        //{
-        //    public string PalletCode { get; set; }
-        //    public int outCount { get; set; }
-        //    public string TargetAddress { get; set; }
-        //}
+        /// <summary>
+        /// 淇敼浠诲姟鐘舵��
+        /// </summary>
+        /// <param name="task"></param>
+        /// <returns></returns>
+        WebResponseContent UpdateTaskInfo(WCSTaskDTO task);
     }
 }

--
Gitblit v1.9.3