任务预任务,新增批量删除工嗯呢
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user