add a function to register a new inbound

This commit is contained in:
Sven Czarnian
2021-12-22 13:28:56 +01:00
parent 4f69df6cc7
commit f83febab3a
3 changed files with 21 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class Colony:
node.Inbound.PlannedArrivalTime = eta
node.Inbound.InitialArrivalTime = node.ArrivalCandidates[rwy.Name].InitialArrivalTime
node.Inbound.PlannedTrackmiles = node.ArrivalCandidates[rwy.Name].Trackmiles
rwyManager.RunwayInbounds[rwy.Name] = node
rwyManager.registerNode(node, rwy.Name)
return True