任务预任务,新增批量删除工嗯呢

This commit is contained in:
yang.lee
2023-12-15 10:50:53 +08:00
parent 6ce793ea5c
commit 1a5e38b9d9
5 changed files with 26 additions and 13 deletions

View File

@@ -451,17 +451,7 @@ namespace Tnb.WarehouseMgr
task.device_id = e.device_id;
}
}
/*foreach (var at in agvDTTasks)
{
var ele = elevatorList.Find(x => x.location_code == at.endlocation_code);
Logger.Information($"ele.elevator_id:{ele?.elevator_id},elevator_code:{ele?.elevator_code}");
if (ele != null)
{
at.device_id = ele.elevator_id;
}
}*/
List<(string endlocation_code, string device_id, string id, int start_floor)> endLocCodes = agvDTTasks
.Select(it => (it.endlocation_code, it.device_id, it.id, it.start_floor)).ToList();
var callLiftCnt = endLocCodes?.Count ?? 0;