initialize all required information to avoid race conditions between in plugins and the web interface

This commit is contained in:
Sven Czarnian
2021-12-23 16:29:25 +01:00
parent 64fcb8ed01
commit 8ac4977c08

View File

@@ -217,3 +217,11 @@ class Node:
if True == setEnrouteTime and (None == self.Inbound.EnrouteArrivalTime or ita < self.Inbound.EnrouteArrivalTime):
self.Inbound.EnrouteArrivalTime = ita
self.Inbound.PlannedRunway = identifier.Runway.Name
self.Inbound.PlannedStar = star
self.Inbound.PlannedArrivalRoute = arrivalRoute
self.Inbound.PlannedArrivalTime = earliest
self.Inbound.InitialArrivalTime = earliest
self.Inbound.PlannedTrackmiles = trackmiles
self.Inbound.AssignmentMode = 'other'
self.Inbound.ExpectedRunway = None