From a5fec958ef86371826ed4eb947ea0ebd476cd0ed Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期五, 04 七月 2025 15:10:37 +0800 Subject: [PATCH] 修复方法声明并重构命令发送逻辑在 ITaskService.cs中QueryExecutingConveyorLineTask方法的声明末尾添加了分号。注释掉了多处 conveyorLine.SendCommand的调用,并替换为 SendCommand方法,确保在发送命令时设置了必要的值。 在 RequestInbound.cs中,进行了类似的重构,更新了任务状态。 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/IRouterService.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/IRouterService.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/IRouterService.cs index f6e78bb..e55f905 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/IRouterService.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/IRouterService.cs @@ -34,5 +34,12 @@ List<object> GetAllWholeRouters(); WebResponseContent AddRouters(List<RoutersAddDTO> routersAddDTOs, int routerType); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿鑾峰彇瀵瑰簲鐨勫嚭绔欒矾鐢辩偣浣嶇紪鍙�(杈撻�佺嚎绔欏彴缂栧彿)淇℃伅 + /// </summary> + /// <param name="deviceCode">璁惧缂栧彿</param> + /// <returns>杩斿洖璺敱鐐逛綅缂栧彿(杈撻�佺嚎绔欏彴缂栧彿)闆嗗悎</returns> + List<string> QueryOutDeviceCodes(string deviceCode); } } -- Gitblit v1.9.3