diff --git a/aman/types/Inbound.py b/aman/types/Inbound.py index f6a2733..cd55aff 100644 --- a/aman/types/Inbound.py +++ b/aman/types/Inbound.py @@ -1,6 +1,5 @@ #!/usr/bin/env python -import json import pytz import sys @@ -84,13 +83,6 @@ class Inbound: self.PlannedRunway = runway break - def toJSON(self): - pta = str(self.PlannedArrivalTime) - delimiter = pta.find('.') - if -1 == delimiter: - delimiter = pta.find('+') - return json.dumps({ 'callsign' : self.Callsign, 'runway' : self.PlannedRunway.Name, 'pta' : pta[0:delimiter] }, ensure_ascii=True) - def arrivalEstimation(self, runway : Runway, star : ArrivalRoute, weather : WeatherModel): # calculate remaining trackmiles trackmiles = self.Report.distanceToIAF