From af5847927931d3f491d7be5e0178cff3c37ac6f9 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 06 十一月 2025 17:20:44 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskService/Task/IDt_TaskService.cs | 32 ++++++++++++++++++++++++++------
1 files changed, 26 insertions(+), 6 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskService/Task/IDt_TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskService/Task/IDt_TaskService.cs"
index 33d0c44..ee2da21 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskService/Task/IDt_TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_IStorageTaskService/Task/IDt_TaskService.cs"
@@ -1,4 +1,6 @@
-锘縰sing WIDESEA_DTO;
+锘縰sing WIDESEA_Core.Enums;
+using WIDESEA_DTO;
+using WIDESEA_DTO.WMS;
namespace WIDESEA_IStorageTaskServices;
@@ -46,6 +48,8 @@
/// <returns></returns>
WebResponseContent GetTaskInfo();
+ Task<WebResponseContent> GetTaskData();
+
/// <summary>
/// 璇锋眰浠诲姟宸烽亾
/// </summary>
@@ -86,7 +90,7 @@
/// <param name="areaCode">鍖哄煙缂栫爜</param>
/// <param name="roadways">宸烽亾鍒楄〃</param>
/// <returns>杩斿洖缁撴灉闆�</returns>
- Task<WebResponseContent> RequestOutboundTaskAsync(RequestTaskDto taskDto);
+ Task<Dt_Task> RequestOutboundTaskAsync(RequestTaskDto taskDto);
/// <summary>
@@ -94,7 +98,15 @@
/// </summary>
/// <param name="palletCode"></param>
/// <returns></returns>
- Task<WebResponseContent> OtherOutBoundTaskAsync(string palletCode);
+ Task<WebResponseContent> OutBoundTaskAsync(string palletCode);
+
+ Task<WebResponseContent> OtherOutBoundTaskAsync(List<DtStockInfoDetail> details);
+
+ Task<WebResponseContent> HandAllocateOutBoundTaskAsync(List<DtStockInfoDetail> details);
+
+ (List<DtLocationStatusChangeRecord>, List<DtLocationInfo>) GetlcoationState(List<Dt_Task> tasks, int StatusChangeTypeEnum);
+
+ (List<DtLocationStatusChangeRecord>, List<DtLocationInfo>) GetlcoationState(Dt_Task task, int StatusChangeTypeEnum);
/// <summary>
@@ -119,7 +131,7 @@
/// <param name="TargetAddress"></param>
/// <returns></returns>
- Dt_Task RequestAcrossFloorTask(DtLocationInfo StartAddress, DtLocationInfo EndAddress, int TaskType, string palletCode);
+ Dt_Task RequestAcrossFloorTask(DtLocationInfo StartAddress, DtLocationInfo EndAddress, int TaskType, RequestTaskDto taskDto);
/// <summary>
@@ -127,7 +139,7 @@
/// </summary>
/// <param name="taskDto"></param>
/// <returns></returns>
- Dt_Task RequestAGVCarryTask(DtLocationInfo StartAddress, DtLocationInfo EndAddress, int TaskType, string palletCode);
+ Dt_Task RequestAGVCarryTask(DtLocationInfo StartAddress, DtLocationInfo EndAddress, int TaskType, RequestTaskDto taskDto);
@@ -146,5 +158,13 @@
Task<WebResponseContent> AGVIsNeedRelocationAsync(RequestTaskDto taskDto);
- Task<WebResponseContent> SendERPTaskCompletion(string palletCode);
+
+ Task<WebResponseContent> SendWCSTask(List<WMSTaskDTO> taskDTO);
+
+ (List<DtLocationStatusChangeRecord>, List<DtLocationInfo>) UpdateLocationStatus(DtLocationInfo location, LocationEnum locationStatus, int taskNum, int StatusChangeType);
+
+ (List<DtLocationStatusChangeRecord>, List<DtLocationInfo>) UpdateLocationStatus(string locationCode, LocationEnum locationStatus, int taskNum, int StatusChangeType);
+
+
+ bool LocationIsOutBound(DtLocationInfo location);
}
\ No newline at end of file
--
Gitblit v1.9.3