diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs index cefa342a..dfaa1117 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs @@ -340,13 +340,13 @@ namespace Tnb.WarehouseMgr //呼梯操作 //获取目标库位为电梯库位的任务 - //var endLocCodes = disTasks.Select(it => (it.endlocation_code, it.device_id, it.id)).Where(it => it.endlocation_code.StartsWith("DT", StringComparison.OrdinalIgnoreCase)).ToList(); - //if (endLocCodes?.Count > 0) - //{ - // await CallingLanding(endLocCodes); - //} + var endLocCodes = disTasks.Select(it => (it.endlocation_code, it.device_id, it.id)).Where(it => it.endlocation_code.StartsWith("DT", StringComparison.OrdinalIgnoreCase)).ToList(); + if (endLocCodes?.Count > 0) + { + await CallingLanding(endLocCodes); + } ////调用AGV创建任务链接口 - //await AgvDispatch(disTasks, agvCts.Token); + await AgvDispatch(disTasks, agvCts.Token); } }