ArrivalRoute.py 351 B

1234567891011
  1. #!/usr/bin/env python
  2. class ArrivalRoute:
  3. def __init__(self, name : str, runway : str, waypoints : list):
  4. self.Name = name
  5. self.Runway = runway
  6. self.Iaf = waypoints[0]
  7. self.Route = waypoints
  8. def __str__(self):
  9. return 'Name: ' + self.Name + ', IAF: ' + self.Iaf.Name + ', RWY: ' + self.Runway