Changeset 709:44177c159b98 for src/mlx
- Timestamp:
- 10/25/15 10:01:43 (9 years ago)
- Branch:
- cef
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r644 r709 85 85 #--------------------------------------------------------------------------------------- 86 86 87 class SimBriefData(object): 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.""" 91 self.climbProfiles = climbProfiles 92 self.cruiseProfiles = cruiseProfiles 93 self.descentProfiles = descentProfiles 94 95 #--------------------------------------------------------------------------------------- 96 87 97 class Aircraft(object): 88 98 """Base class for aircraft.""" … … 123 133 self.maxTouchDownPitch = 15.0 124 134 self.brakeCoolTime = 10.0 135 136 self.simBriefData = None 125 137 126 138 self._checkers = [] … … 720 732 self.maxTakeOffPitch = 16.2 721 733 self.maxTouchDownPitch = 14.7 734 self.simBriefData = SimBriefData(["250/280/78"], 735 ["CI", "M75", "M78", "M79", "M80", "LRC"], 736 ["78/280/250"]) 722 737 723 738 #--------------------------------------------------------------------------------------- … … 733 748 self.maxTakeOffPitch = 14.7 734 749 self.maxTouchDownPitch = 13.2 750 self.simBriefData = SimBriefData(["250/280/78"], 751 ["CI", "M75", "M78", "M79", "M80", "LRC"], 752 ["78/280/250", "78/250/250"]) 735 753 736 754 #--------------------------------------------------------------------------------------- … … 746 764 self.maxTakeOffPitch = 11 747 765 self.maxTouchDownPitch = 9.5 766 self.simBriefData = SimBriefData(["250/280/78"], 767 ["CI", "M76", "M78", "M79", "M80", "LRC"], 768 ["78/280/250", "78/250/250"]) 748 769 749 770 #--------------------------------------------------------------------------------------- … … 754 775 super(B738Charter, self).__init__(flight) 755 776 self.mtow = 77791 777 self.simBriefData = SimBriefData(["AUTO"], 778 ["280/M74"], 779 ["AUTO"]) 756 780 757 781 #--------------------------------------------------------------------------------------- … … 826 850 self.maxTakeOffPitch = 8.0 827 851 self.maxTouchDownPitch = 7.0 852 self.simBriefData = SimBriefData(["I-900", "II-900", "III-900", 853 "I-850", "II-850", "III-850"], 854 ["MCR", "ISC", "LRC", "HSC"], 855 ["I-850", "II-850", "III-850"]) 828 856 829 857 #--------------------------------------------------------------------------------------- … … 878 906 self.maxTakeOffPitch = 9.6 879 907 self.maxTouchDownPitch = 8.1 908 self.simBriefData = SimBriefData(["250/290/78"], 909 ["CI", "M76", "M78", "M80", "M82", "M84", "LRC"], 910 ["78/290/250"]) 880 911 881 912 #--------------------------------------------------------------------------------------- … … 902 933 self.maxTakeOffPitch = 18.0 903 934 self.maxTouchDownPitch = 18.0 935 self.simBriefData = SimBriefData(["250/70", "290/74"], 936 ["CI", "LRC", "M70", "M72", "M74", "M77", "M80"], 937 ["74/290/250", "77/320/250"]) 904 938 905 939 #--------------------------------------------------------------------------------------- … … 1045 1079 self.maxTakeOffPitch = 16.0 1046 1080 self.maxTouchDownPitch = 16.0 1081 self.simBriefData = SimBriefData(["AUTO"], 1082 ["300/M80"], 1083 ["AUTO"]) 1047 1084 1048 1085 @property
Note:
See TracChangeset
for help on using the changeset viewer.