Changeset 1087:73fbd444b7fe for src/mlx/acft.py
- Timestamp:
- 03/19/23 13:28:59 (14 months ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- hg-amend_source:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, '0d69ca1836814137b601f24493e4d718c56b12b7')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r1043 r1087 87 87 class SimBriefData(object): 88 88 """Data to be used when creating SimBrief briefings.""" 89 def __init__(self, climbProfiles, cruiseProfiles, descentProfiles): 90 """Construct the SimBrief data with the given profiles.""" 89 def __init__(self, climbProfiles, cruiseProfiles, descentProfiles, 90 cruiseParameters = {}): 91 """Construct the SimBrief data with the given profiles. 92 93 cruiseParameters is a dictionary keyed by the cruise profile index. It 94 contains a tuple of: 95 - a boolean indicating if the parameter is mandatory, 96 - the name of the parameter for the SimBrief API 97 """ 91 98 self.climbProfiles = climbProfiles 92 99 self.cruiseProfiles = cruiseProfiles 93 100 self.descentProfiles = descentProfiles 101 self.cruiseParameters = cruiseParameters 94 102 95 103 #--------------------------------------------------------------------------------------- … … 743 751 self.simBriefData = SimBriefData(["250/280/78"], 744 752 ["CI", "M75", "M78", "M79", "M80", "LRC"], 745 ["78/280/250"]) 753 ["78/280/250"], 754 cruiseParameters = {0: (False, "civalue")}) 746 755 747 756 #--------------------------------------------------------------------------------------- … … 760 769 self.simBriefData = SimBriefData(["250/280/78"], 761 770 ["CI", "M75", "M78", "M79", "M80", "LRC"], 762 ["78/280/250", "78/250/250"]) 771 ["78/280/250", "78/250/250"], 772 cruiseParameters = {0: (False, "civalue")}) 763 773 764 774 #--------------------------------------------------------------------------------------- … … 777 787 self.simBriefData = SimBriefData(["250/280/78"], 778 788 ["CI", "M76", "M78", "M79", "M80", "LRC"], 779 ["78/280/250", "78/250/250"]) 789 ["78/280/250", "78/250/250"], 790 cruiseParameters = {0: (False, "civalue")}) 780 791 781 792 #---------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.