add more information to the arrival waypoints
This commit is contained in:
@@ -5,6 +5,9 @@ class ArrivalWaypoint():
|
||||
self.Waypoint = None
|
||||
self.FlightTime = None
|
||||
self.Trackmiles = None
|
||||
self.IndicatedAirspeed = None
|
||||
self.GroundSpeed = None
|
||||
self.Altitude = None
|
||||
self.ETA = None
|
||||
self.PTA = None
|
||||
|
||||
@@ -19,6 +22,12 @@ class ArrivalWaypoint():
|
||||
self.PTA = value
|
||||
elif 'trackmiles' == key.lower():
|
||||
self.Trackmiles = value
|
||||
elif 'altitude' == key.lower():
|
||||
self.Altitude = value
|
||||
elif 'groundspeed' == key.lower():
|
||||
self.GroundSpeed = value
|
||||
elif 'indicated' == key.lower():
|
||||
self.IndicatedAirspeed = value
|
||||
else:
|
||||
raise Exception('Invalid constructor argument: ' + key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user