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