From ddde374afc8ac3c526850bd9de588d4b44696fee Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 29 四月 2026 14:24:24 +0800
Subject: [PATCH] feat(出库任务): MoveToNextStatus调用CheckSourceLineAndCreateRobotTask决策机械手任务创建方式

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/IRobotTaskService.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/IRobotTaskService.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/IRobotTaskService.cs
index 26cf6df..267ef99 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/IRobotTaskService.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/IRobotTaskService.cs
@@ -54,6 +54,7 @@
         /// </summary>
         public List<int> TaskRobotTypes { get; }
 
+        public bool DeleteRobotTask(int id);
 
         public Dt_RobotTask? QueryRobotCraneTask(string deviceCode);
 
@@ -88,6 +89,14 @@
         /// <returns>鎿嶄綔缁撴灉</returns>
         WebResponseContent CreateLocalRobotTask(Dt_Task task);
 
+        /// <summary>
+        /// 妫�鏌ユ簮绾夸綋鏄惁鏈夋墭鐩樺彿锛屽苟鏍规嵁缁撴灉鍒涘缓鏈烘鎵嬩换鍔°��
+        /// 鏈夋墭鐩樺彿鏃惰皟鐢� CreateLocalRobotTask锛屾棤鎵樼洏鍙锋椂浠� WMS 鑾峰彇浠诲姟銆�
+        /// </summary>
+        /// <param name="task">鍑哄簱浠诲姟瀹炰綋</param>
+        /// <returns>鎿嶄綔缁撴灉</returns>
+        WebResponseContent CheckSourceLineAndCreateRobotTask(Dt_Task task);
+
         int MapWarehouseIdConfigKey(string? targetAddress);
         string ResolveRobotRuleValue(string? targetAddress, string addressSectionName, string? fallback);
     }

--
Gitblit v1.9.3