Changes in / [917:803dc6bacfa5:916:4f738ffc3596]
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
MLXMANIFEST
r900 r890 4 4 library/fnmatch.pyc 3414 4d50000f78e903598af06ef1c5cfb3ef 5 5 library/multiprocessing/managers.pyc 36290 ca35d24d87467303c5e94a0de51e9593 6 library/gtk/_gtk.pyc 549 ccdd4be123a0909d44052f30869b38d86 library/gtk/_gtk.pyc 549 fe4816d7315373754a9c2a78c1cb910d 7 7 library/encodings/cp858.pyc 7591 02054a0b8e91b9758826eb70cddf096f 8 8 library/encodings/cp1254.pyc 2678 17ff2ac86f90886d5c73ed789f0499f3 9 9 library/encodings/unicode_internal.pyc 2022 1e902113491e0c334b44deb0c8940e01 10 library/lxml/etree.pyc 555 8f2c530f47011cee9a5f642ef3df8d7110 library/lxml/etree.pyc 555 4cedd864ad5b158d44762634ecc002c9 11 11 library/encodings/gbk.pyc 1622 71c1e7fe25116114241829a60e57c5f4 12 12 sounds/speed.mp3 26331 3d64da0eea9f48fa73be82d385354bf6 … … 17 17 doc/manual/hu/pirepViewer.png 26835 267e4325e550ed14ed22f86a2c7e8e9d 18 18 doc/manual/hu/prefsGeneral.png 25601 a33faad4d576b080ae0c040f5a1a5404 19 library/mlx/gui/statusbar.pyc 4812 490a882b53429fa18f317e146f0c70c019 library/mlx/gui/statusbar.pyc 4812 b6448dd0f6077bc70527ee0c39c330e1 20 20 doc/manual/hu/mainWindow.png 29545 489097bf9f0d72ba0cb2661c0dfe881b 21 21 library/lxml.etree.pyd 2977792 d9f46391d4eeb719304a07b1ddaa72d9 … … 32 32 library/WINHTTP.dll 354304 d29f2889baa10e19ad9ff70c8d5ecf50 33 33 locales/ca.pak 7484 6490335e2837ffefb296ff1fabb50372 34 library/mlx/gui/timetable.pyc 27480 9 2ebb8630c797b4235b54ecf205ed34434 library/mlx/gui/timetable.pyc 27480 9ef0c7c9b50df08d7c1bc75d14dac825 35 35 library/encodings/cp720.pyc 2736 a0f8bdcf6477a00166d2a38b1ba3ce7c 36 36 library/xml/sax/_exceptions.pyc 5829 9f1abe12a091b6808b131a0b4e179b5a … … 41 41 library/encodings/big5hkscs.pyc 1670 0ff54e70f21b5e4a359d3779367cba85 42 42 library/encodings/utf_8.pyc 1806 4b8dee0284ea2f55c4142fcde7463524 43 locale/hu/LC_MESSAGES/mlx.mo 90 718 d3f06c29211edf37a14045d9345e4d0b43 locale/hu/LC_MESSAGES/mlx.mo 90385 b4cc05ef2d0e7afff8adea144d3533c3 44 44 library/encodings/mac_roman.pyc 2716 4b4745eccfcb77860b70b374ac07fbcc 45 45 library/py_compile.pyc 6292 425da7ee065aa158fd274946204a4a77 … … 52 52 library/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo 21895 a932ead453f04de30e348c1689a4d896 53 53 locales/fil.pak 7790 38cdea149d120d8e9a8a0b0a90ac5dfd 54 library/mlx/gui/dcdata.pyc 19919 a37ad72d994b8a523da07130970c2f0b54 library/mlx/gui/dcdata.pyc 19919 9ea5897e2b27e087ff36f16c77a09487 55 55 library/encodings/iso8859_5.pyc 2679 58a290e94b0266ef8ff4ee52da00e257 56 56 library/encodings/iso2022_kr.pyc 1683 ef9549932514d2deda6c4676e5e5f1db 57 57 library/libglib-2.0-0.dll 1242929 18e88b04da123bf05b07ff60a4e96654 58 58 library/base64.pyc 10528 39abec9c60dc011d3c763f443f9b1a11 59 library/mlx/gui/bugreport.pyc 4602 a32ca4d644f316b3d120ae3dc2597eba59 library/mlx/gui/bugreport.pyc 4602 99c9fc4da49ca115a5bd140a8405b87d 60 60 doc/manual/en/flightSelection.png 32104 68b94da285951d84fd15ec40d809751a 61 61 library/multiprocessing/pool.pyc 19766 3a4d776f05a59e31df0218fcf52b9a6d … … 100 100 library/encodings/koi8_r.pyc 2700 fff1b35002b9e938b7ea6fd0fbe824ae 101 101 sounds/737taxi.mp3 157362 846c403e5cb660be53c8b6da16b68234 102 library/mlx/const.pyc 7 781 ca412d026807bd7532a49e6f40d63833102 library/mlx/const.pyc 7504 d661c08870a0056cb2b4bab198de8c34 103 103 python27.dll 2206720 f8f39495ed4a813e8f3049a4b9f5cff4 104 104 locales/th.pak 13637 7262d0f5e1877212a45a1ef1ccc4c777 105 library/mlx/gui/cef.pyc 13567 4e4065185decfc2a23900a45b112a896105 library/mlx/gui/cef.pyc 13567 b11c3bd18b59392a8a828d8ae904d2d1 106 106 library/encodings/punycode.pyc 7570 335ff94e207934ae64e6f5fc07a5cacc 107 107 library/encodings/shift_jisx0213.pyc 1710 1ec0383aafb1dcadb5f9b6afff16eb7f … … 118 118 library/email/header.pyc 13339 f741f4c3543a278fec30f4d9bdd0f859 119 119 library/share/locale/hu/LC_MESSAGES/atk10.mo 8465 e3f3466da367215aad971d7b0394229d 120 library/select.pyc 543 49de99d20755a51a448c47694aabf924120 library/select.pyc 543 64632c3b8962883ab952e483a722d0f9 121 121 library/encodings/uu_codec.pyc 4646 5282a5fcb676851224d2924aa3e48a9e 122 122 library/ConfigParser.pyc 23857 1d17020dd0000ce0f73de812effa152f … … 129 129 icudt.dll 9956864 5434e18b933e03f274d8da59fda4c676 130 130 doc/manual/hu/simbriefSetup.png 32497 b287886107be21b6695897085b218fd4 131 library/mlx/soundsched.pyc 9185 4211730170fddb82b5683ce1849234ee132 library/mlx/logger.pyc 13109 a70c061d36cf6b4e540f5610133466d3131 library/mlx/soundsched.pyc 9185 5d9c36cbf8971ad0e91adff5f9c4ab54 132 library/mlx/logger.pyc 13109 78ca8e8f2b0b51e228a32fcca6f50fb7 133 133 library/email/charset.pyc 13200 771aee9802116e673d08b44bc0450f99 134 134 library/xplra.pyc 32012 50a1d9f19c0cc88783d264909ad1c678 … … 158 158 doc/manual/hu/flightSelection.png 32828 68562091faef606b1247e5d3a40c488e 159 159 library/win32pipe.pyd 24064 de374eded459293b2a7eb8ed8fb38eaa 160 library/win32pipe.pyc 552 70f5476d7ed103cb22b901a81e2d62fc160 library/win32pipe.pyc 552 481d263642893856d1c992f484f380aa 161 161 doc/manual/hu/cruise.png 27925 f7045d9150a756f487e3ae3d08b4c1a5 162 162 library/encodings/iso2022_jp_2004.pyc 1723 66376e788f3819e781897268c1100986 163 163 library/cefpython3.cefpython_py27.pyd 968192 58161b73feae974f560d2c9f416adf3b 164 164 library/encodings/cp866.pyc 8103 f36418dcf93b17b3ced63bd544f44159 165 library/gio/_gio.pyc 549 63dbf557dc3df483aa6a0bae37a2d472165 library/gio/_gio.pyc 549 ce68d42eef1532c1ec170b997a7fdebd 166 166 library/encodings/cp437.pyc 7874 63f1278c0a66129c6fb4f504d6b61b66 167 167 doc/manual/hu/prefsSounds.png 22667 452c396c2bda9684bf052c98fd7870d1 168 library/mlx/gates.pyc 7002 20aca1eaf3de122eda51883b5b518f6f168 library/mlx/gates.pyc 7002 5c82c4c4dd0918bf385497549f14767f 169 169 library/mimetools.pyc 7837 c9accd6ef795bf71c90630be0161cadc 170 170 doc/manual/en/pirepLoaded.png 9887 e27a7c87e134944787e29874c455380d … … 175 175 doc/manual/hu/acarsTab.png 305091 489953210460410f2ec9d281b7ad6868 176 176 library/encodings/utf_32_be.pyc 1747 3e8c9ef8145de502320202b1688fd2ee 177 library/cefpython3/cefpython_py27.pyc 600 542ae3754fe3029d9fffe5ac7f9bd374177 library/cefpython3/cefpython_py27.pyc 600 22895e1b76e628cfe1126552651999d4 178 178 library/encodings/mac_romanian.pyc 2756 a3b2a0892236bc80c8efe8940e33339e 179 179 library/multiprocessing/connection.pyc 13385 c86567e4a002e8beca2301d1110b887c 180 library/_ctypes.pyc 546 21922d74db381df8923d751a6ccef8eb180 library/_ctypes.pyc 546 ea964009a19c93c9b7e6d5a0952d740b 181 181 Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest 1856 a1328f4f5ae0580ce72b0717893c9072 182 182 library/encodings/iso8859_2.pyc 2678 da65f42e1be5bec97161e8c1cc4f0fb7 … … 191 191 library/quopri.pyc 6352 87c42d94f753dd4c8a761cfa79453bb8 192 192 library/htmlentitydefs.pyc 6347 814dc784fdb3d998dccee4c3f4c0394f 193 library/mlx/gui/monitor.pyc 13015 adcdde553f6ef5956faa6856489c6b0b193 library/mlx/gui/monitor.pyc 13015 506dbdd642eea450bb2cd7bb0c397caa 194 194 library/encodings/latin_1.pyc 2111 52427573ccbfd06220b67d5a9dd1376e 195 library/mlx/update.pyc 17632 e27fbb1e86d28e99f493c83ae1dae57d195 library/mlx/update.pyc 17632 a3cb8734519c01a74e628f78c1eac5ce 196 196 library/bdb.pyc 17708 9a8fdcaa65f595c842689247847879d9 197 197 library/unittest/case.pyc 37758 1d2235e74c246b562c5c00ddf73c621a 198 198 library/subprocess.pyc 38648 c9f749db06dfc9fb32079de51d6efd01 199 library/mlx/acft.pyc 4 3831 4bb1ff76aca2130bed92b093a1749116199 library/mlx/acft.pyc 42418 ab4080e74ed57c8608a662d38dd9f5c2 200 200 library/gobject._gobject.pyd 113152 3d05dd191361f83aa247b62c700fa04e 201 201 doc/manual/hu/checklistEditor.png 27863 8c750892a52dc10ca654a9d0b2765358 202 202 library/bisect.pyc 2971 ad8ce3e265b404ed3971b842106f8179 203 library/mlx/gui/acars.pyc 1054 6467ef4c361a74b4c2a289cba55761c3203 library/mlx/gui/acars.pyc 1054 f1ac7c30434908114c49343eca6dfd32 204 204 library/gtk/_lazyutils.pyc 2772 93f9aa41ad4223106d99340cd539a566 205 library/mlx/mlx.pyc 3027 062ba9eaf26e78de62ed20f4ab91cc79205 library/mlx/mlx.pyc 3027 6acdd392d3f3095bac42108db71a7f63 206 206 library/encodings/cp864.pyc 7999 ca90afae086cb6b8f69b8419cc3cd1cb 207 207 library/pyexpat.pyd 152576 5a82e9ec95005aca6130751e5b961cc3 208 library/pyexpat.pyc 546 331b065065412d197efb50068f1b11b0208 library/pyexpat.pyc 546 c0175ad3bb5cd86249bf1cef3e3a560f 209 209 library/unittest/loader.pyc 10884 591a785be23fba35582ce33bdd3d7acd 210 210 library/ftplib.pyc 32043 5a1925388a0874e459aed6891f4cf0c1 … … 214 214 library/unittest/suite.pyc 9838 bf2c79bd4a6b6032f1ea53fa4908748f 215 215 library/encodings/mac_arabic.pyc 7824 820deef79b02e1f7e52eb18e9be655bf 216 library/mlx/gui/prefs.pyc 2 7921 2d3de746b632866251dccb5b1eb63f23216 library/mlx/gui/prefs.pyc 28139 1e2b4ccb44bc09700582f3e3cd2e44fa 217 217 library/encodings/tis_620.pyc 2748 5969b4db4f967b11ae7992cdfbf5890e 218 218 library/encodings/cp855.pyc 8071 0a4259ba854c24186f2ce61d85883b4a … … 224 224 sounds/ding.wav 80856 18e639792d3767436ac6955eb60e4f54 225 225 doc/manual/en/simbriefResult.png 32136 c55b3f649ca19cbbef738feaee26d639 226 library/mlx/checks.pyc 62721 3af0d317e94f7220e1ea224d43cfa4d8226 library/mlx/checks.pyc 62721 18a21eeaf1e699d8928877ea074e04fa 227 227 doc/manual/en/student.png 27531 5cc3fbe19909e31ecf82b764d17a6766 228 228 doc/manual/en/pirepViewer.png 25098 7c545e70b995ac0f9fcae93fe5d0e899 … … 230 230 library/gobject/constants.pyc 1957 2e9cdc605e7c449ef4fc23f56128acec 231 231 doc/manual/hu/calloutsEditor.png 16026 fede870894a85e5d21ca16a026aa6a98 232 library/mlx/xplane.pyc 67 548 6ede9cf8fe1651636b499142797b4f6e232 library/mlx/xplane.pyc 67128 8e7c7ec2b3b222768fe77c418db1002e 233 233 library/ssl.pyc 13785 d90c880699ecbedb3182f556b9733868 234 234 library/tempfile.pyc 18526 e2cc2d63c29e15f20ee9325e790643a3 … … 256 256 locales/pt-PT.pak 7270 731a9c54bd2331f411a5a2976d1f3622 257 257 library/encodings/iso8859_10.pyc 2693 5e6cc8f721486ddbc1c99da285e13191 258 library/mlx/config.pyc 3 2932 2c787fa0d592ff65e6e890e45e7f4731259 library/atk.pyc 534 ce47437fcb9187bb74723200c98838fa258 library/mlx/config.pyc 33266 a7d9c1089d89b2eae06344b4eb62b515 259 library/atk.pyc 534 696d668cfdc42d4ddb0973dec25e43af 260 260 library/gio._gio.pyd 263168 acb8c95fdc391079bebdf7d8685b0dbc 261 261 library/encodings/cp861.pyc 7868 c97a8970ce4d9f40cbafbea6576fbdca … … 269 269 library/zlib1.dll 100352 d90dad5eea33a178bac56fff2847d4c2 270 270 locales/en-GB.pak 6364 2a92f4fc905c2743129ccbcdf80d443a 271 library/mlx/gui/delaycodes.pyc 13323 67bd0762b1242b4dae043546155187c2271 library/mlx/gui/delaycodes.pyc 13323 5d2e3c3064fdfc49404973b22a629130 272 272 library/encodings/raw_unicode_escape.pyc 2048 8138045029da04bf45204ab756d1bcd4 273 273 sounds/TOD.mp3 174707 92176d53d948fbfebd08c011b063179a … … 284 284 locales/pt-BR.pak 7211 d0542b9b325ea58be590d021aeb7333d 285 285 library/libexpat-1.dll 143096 701659d3689bf4a8265b669b7d774255 286 library/mlx/gui/info.pyc 7374 7431efd8a70bb0b8f485f8ec758576a5286 library/mlx/gui/info.pyc 7374 a4e2d54b4f7acf65b29ff20393e5d2c8 287 287 library/encodings/iso8859_6.pyc 2723 c8f9aa14a6a2ebf05d977317114bc65d 288 288 library/libpango-1.0-0.dll 333729 5a14efd93ee27cfe960220fe4a904911 289 library/mlx/gui/gui.pyc 64 705 83d22920b5e0b2433d399ba0c91e09f9289 library/mlx/gui/gui.pyc 64506 1ef86c765984abf3a3ef6f4f39a12b36 290 290 library/stat.pyc 2503 d3b6dc7a54e705219f04d0be75a212de 291 291 locales/ru.pak 10392 1b66f03dd656a2433ce643d0259fca6f … … 293 293 locales/sr.pak 10790 fd63b700458a187aca8dde86c160a059 294 294 doc/manual/hu/registration.png 31260 877f209cc012ce6b3335368276babcc6 295 library/gobject/_gobject.pyc 573 5692421648da2f24e72d0dd23cddd9c2295 library/gobject/_gobject.pyc 573 9c208b5682178410d144235e4e0dc566 296 296 libcef.dll 38585344 4dfb8a77f35c41bdbe8469877d4af853 297 297 library/encodings/utf_7.pyc 1747 2beeb059236527197d6c640396476ce8 … … 306 306 doc/manual/hu/monitorWindow.png 21499 c8296e51e14588ac5b037b4832161dfc 307 307 library/pangocairo.pyd 17920 5fc69a7d29a6d3127710c64de440daa4 308 library/pangocairo.pyc 555 c9b1bfcfc52d98e171d8aef36d276bb1308 library/pangocairo.pyc 555 28af83fc19cded4fc98ec58484387a76 309 309 library/zipfile.pyc 37345 568c6ee7e0404625f47248340afb4524 310 310 locales/it.pak 7188 10ae10d8bfcffbfa1160574134e14edb 311 311 doc/manual/en/acarsTab.png 198944 3ec162b7e6b077ab62d673c335929fb3 312 library/mlx/rpccommon.pyc 3956 e6db84bdf8a987dc7c35294673ecfb1d312 library/mlx/rpccommon.pyc 3956 5ff33f58a6bee5a753dde2421cf938b2 313 313 doc/manual/hu/helpTab.png 29126 88f236f84b1b520c60653f4665fd10e2 314 314 library/sre.pyc 499 92bb633daa0bab6550ec0e3677673b5b 315 315 library/tokenize.pyc 13565 354d02cd79df187a28c1851a1e3bad96 316 316 library/win32con.pyc 140797 84d2d064066cfbcc219230f7e9c6e0b0 317 library/mlx/gui/flight.pyc 18 3734 9e63c9c96171c2df91ce7e36f98da1e9317 library/mlx/gui/flight.pyc 182603 683c1e711e9614a6bdb7e6fcb840989e 318 318 library/xmlrpclib.pyc 40724 d4f819f9199ea21236a74c967e335c43 319 319 library/lib/gtk-2.0/2.10.0/engines/libwimp.dll 97984 a5bbbe46e1363aba9020a76f2d58e9d6 … … 328 328 locales/fi.pak 7098 70c7e2fb26c7abf09cb0f9972fb6c93a 329 329 doc/manual/en/monitorWindow.png 20886 42e08d10c758e21209c4c021f391dee7 330 library/_hashlib.pyc 549 9a5d5dc1c1e02eddb61723be3c81d39b330 library/_hashlib.pyc 549 1165d901defce2ba71812217e87d6f91 331 331 library/copy.pyc 11674 30d1745c5e38ab170f8a0486fbebf305 332 332 locales/et.pak 6856 18a0a857e46c28b7f1cd8ff639a24aec 333 333 library/unittest/result.pyc 7444 aefbb3cc79c0ff17787ce84faed7f5e8 334 library/mlx/gui/__init__.pyc 107 3494fc6a671a7b8a9dc72ea93948ae52335 library/mlx/pirep.pyc 11862 77ce612c43f8356f164f2d6dbba54071334 library/mlx/gui/__init__.pyc 107 22f268cac1c5be2f3a058810b6caead3 335 library/mlx/pirep.pyc 11862 8590e401f3d6a84091913b6e4d390318 336 336 library/json/scanner.pyc 2169 e19ee185b7c79ab5cc433b39fcd33faa 337 337 library/traceback.pyc 11223 50ace5c2c6c040a923082442da94cd78 338 library/mlx/flight.pyc 21 771 942d1b3cc815f1775d7829e7d5986d6d338 library/mlx/flight.pyc 21369 025c6f2183b19adb20e604a1cda0366b 339 339 library/urllib2.pyc 43566 7eb57ea0dcd1086d1d9073a5cefb0903 340 340 library/encodings/mac_farsi.pyc 2659 df751a61510129a25f7a43ae3aace4f7 341 341 library/encodings/iso2022_jp_3.pyc 1699 ee1c3aa11bbe19eeb4deafa238563133 342 342 library/cefpython3/__init__.pyc 556 38a652a0209e49e323bee4dd54a018af 343 library/mlx/common.pyc 444 6befa042b541293b90ca3b7caf281e6d343 library/mlx/common.pyc 444 81a72ceff029e4be88de252226d0f2b4 344 344 doc/manual/en/simbriefSetup.png 30414 9788762f9a23ffd71a66cbd90a23f13b 345 345 library/ctypes/__init__.pyc 18846 2bd183962453ae93d6887b303d3fd338 346 library/mlx/acars.pyc 2352 9 1494421b7612bb60560eecc985d5aab346 library/mlx/acars.pyc 2352 9396f366c1d2958204ceadf4e5b4eb7a 347 347 library/encodings/cp865.pyc 7868 7d40a7ba053ac23339218be8799e5397 348 348 locales/bn.pak 14431 f402d363b8a07649b6787b745434daf7 349 349 sounds/taps.mp3 16614 d4a019c7e9342ae329aee6932d6a43c3 350 350 library/markupbase.pyc 9010 b33ff430e9b1adba3d540b5394ff289a 351 library/cairo/_cairo.pyc 561 01892a78d8cdbfcfc71fb98ea17f8f08351 library/cairo/_cairo.pyc 561 5f0ebf0e8ff791c32ffb875ada20d672 352 352 locales/te.pak 16110 c3af85e60b78273a93970cf8805ded04 353 353 library/lxml/cssselect.pyc 3861 2e693f0c25ab04b1d130646cddd4e081 … … 359 359 library/winerror.pyc 112982 4986a8f2df094dddedd12c9fddf4966d 360 360 library/encodings/cp775.pyc 7888 25bf7dd514dff294aa02d5119399b2b7 361 library/mlx/fsuipc.pyc 75964 d5345164190acf18b2bb8a291415ff55361 library/mlx/fsuipc.pyc 75964 7ccb88cac4ea838538647400b3b2a0ae 362 362 library/xml/sax/__init__.pyc 3579 c78222ad1fd4f3dbdea06666fe74e84e 363 363 doc/manual/en/connect.png 29728 191520526caf0fa58efcd97d597c9247 … … 365 365 library/libgdk-win32-2.0-0.dll 931390 a2b46daac3d4140efdf86429f7aea476 366 366 doc/manual/hu/pendingFlights.png 20945 2ce8d177aea079b21582704e38c68371 367 library/mlx/gui/common.pyc 20 998 c4a79324478fadd4754707e1cca0b38a367 library/mlx/gui/common.pyc 20876 45e8cc2a1c41ba7091e7845fc51fbd0a 368 368 library/dummy_threading.pyc 1265 5ab5c897721aeb346b5bccb84066c5bd 369 369 doc/manual/hu/index.html 67085 0008be8482043be070db2c2c4f2c3046 … … 379 379 library/encodings/iso8859_16.pyc 2695 85e819a29dec2b601ce978dcd5a040fc 380 380 sounds/cpt_takeoff.mp3 8255 254edcf79b8b3752d1a7c191c57f615a 381 library/bz2.pyc 534 3fc098070fd71f141def09bf7e420ab1381 library/bz2.pyc 534 7b01882aa537ced5392bfd6a05c92bee 382 382 library/email/utils.pyc 8840 a7be428df6fddee6121cfce55382d1f8 383 383 doc/manual/en/prefsGeneral.png 25633 a5ef76b874f4ad5384b519a11bdf9c47 384 384 library/encodings/iso2022_jp_2.pyc 1699 4b917caa926e5779176612409c66be39 385 385 library/_ssl.pyd 720896 90826a140137efd0d806038828e16f8e 386 library/pango.pyc 540 21cec340f978ffee00f37a02d495d61b386 library/pango.pyc 540 1c0e90e57415e1e74c0b496cce34a7f5 387 387 doc/manual/en/flightBooking.png 37170 266bd9c93de3a1449b51854a05b98366 388 388 library/glib/__init__.pyc 187 d44c8c2772b263a36726ac0dcfc04b42 … … 390 390 library/libgobject-2.0-0.dll 341594 356d697647a480562c4e2e921b13f8ed 391 391 doc/manual/hu/acceptedFlights.png 43527 6c52b86433a227efed500f27769aef97 392 mlxupdate.exe 19456 1d7bb33aea239a041e1ae6a9ea67445a392 mlxupdate.exe 19456 9b19d587509c61dcc52b91a871d0f675 393 393 library/email/errors.pyc 3229 cdb78ab237e195ad69f059128bc03b1d 394 394 library/linecache.pyc 3091 666e6f81b0ea9a7637f8068493f738d5 … … 401 401 library/getopt.pyc 6454 8f8cd6763f5339988d157d153c910bf5 402 402 library/encodings/cp857.pyc 7611 1b46c8959ac097b73e1c680d464cdc32 403 library/_ssl.pyc 537 d4812f8f7f922f63cdc1340e179b7f84403 library/_ssl.pyc 537 244c691a5e5f65839b6a8dcba79e2e88 404 404 library/os2emxpath.pyc 4312 0c35794eeb4739ebb4eb28b9a1daf0ca 405 405 library/pprint.pyc 9852 6b4724e14285c257116655b1d4ba6db1 … … 411 411 library/ntpath.pyc 11407 533c9331a1b72cc80dd3f88145ba4466 412 412 library/json/__init__.pyc 12974 d7e08774d4fee83dd2a6d3868855a800 413 library/mlx/gui/checklist.pyc 12279 555775aaed42b3d0687e1b0f501a9f61413 library/mlx/gui/checklist.pyc 12279 0d648433bc36dd90e70dbd27c094733a 414 414 locales/de.pak 7420 18ba99b07536017ed8b87cb4f77aee1c 415 415 library/encodings/cp1252.pyc 2676 b4c43cc72650c911cf3654dbaf565df9 416 416 library/unicodedata.pyd 688128 c856c31a03dc892e4f2aee93d0bfee44 417 library/unicodedata.pyc 558 f8c55c5d1ca43879e328efe26742ccec417 library/unicodedata.pyc 558 1d02ca413783825aeb8e6b3976f0add4 418 418 library/multiprocessing/sharedctypes.pyc 8069 0b5a57d8a8a1562a9d562edabd5065c1 419 419 library/encodings/cp1256.pyc 2675 c1bf26ed9c9b5ee0eec495138993cffb … … 422 422 logo.png 69816 4a7517b22cfd75cc9c15e3fc1b7ebeec 423 423 library/libpangoft2-1.0-0.dll 815421 1dbfead06e26edb81f0849490210e3ff 424 library/mlx/util.pyc 5026 e 28805b72a8df264fd03df201653c221424 library/mlx/util.pyc 5026 ee65b78fc430008ce301eee1155d85b1 425 425 doc/manual/hu/student.png 28297 1e72329a3a463d4c50f1b9d91c3aeacc 426 426 library/_LWPCookieJar.pyc 5440 3782ae675165b232a3f78608ac2dbccd 427 427 library/libfontconfig-1.dll 279059 dd583bedc5efe7bbd21a8ef107dec88d 428 428 library/_strptime.pyc 14347 ad17a449b54061177a080e3a21507a39 429 library/mlx/singleton.pyc 9184 9eec2ed5b230e043afc56592fb13a684430 library/mlx/airports.pyc 4350 c91293cee62158e0b57827f7da2b0b3a429 library/mlx/singleton.pyc 9184 3b71000d428959ab355db2658cea9557 430 library/mlx/airports.pyc 4350 95dddcb84b0fb7dc4342c69a45ab20b6 431 431 library/Queue.pyc 8848 4a5b98abcb80aaf94e6de1eb41ec66fa 432 432 sounds/notify.wav 119384 108025b17f67e61946df5d7fbf713cdb … … 443 443 doc/manual/en/flightBookingRegular.png 10987 46a0cd0f77d8f4c286196752c6cf1b37 444 444 library/encodings/palmos.pyc 2876 9284ad53dcfd82dfae0a79923b1cf91d 445 library/mlx/web.pyc 50085 0d3f05478f11de55def73551a5803590446 library/mlx/gui/gates.pyc 5635 ea478376f306ce9d6d0ed2e759407c00445 library/mlx/web.pyc 49987 6f9d6f859938b4e4f3e5c4004e6e5194 446 library/mlx/gui/gates.pyc 5635 541e695d5acf90721e523c5513fe7d0d 447 447 library/gobject/propertyhelper.pyc 8878 cc3598dab17d31ff46a6dee669ccb5ed 448 448 library/intl.dll 152489 eb2d4c4d4a527bc88a69a16cc99afcf5 … … 465 465 library/multiprocessing/heap.pyc 6104 71b50576901ea09d8e4666a9a80724d3 466 466 library/encodings/unicode_escape.pyc 1996 32990583f1caf874e556087da7b92971 467 library/_multiprocessing.pyc 573 85faa60bc8d8b3d69345f10292e39005467 library/_multiprocessing.pyc 573 75d775fe0fe2d2285eb0f31de28bacc4 468 468 doc/manual/hu/logTab.png 28908 25b9aceb760189c177a5562c0cfa2a04 469 library/win32event.pyc 555 9d23ca715afe49593db8c754a663114d470 library/win32file.pyc 552 c3ed345f1e6540e4f2a5991b293595ed469 library/win32event.pyc 555 d92a7808ed1848a5f745893510cb9249 470 library/win32file.pyc 552 3b5fe9c088871cf707f54153c8680507 471 471 library/_multiprocessing.pyd 28672 edd174951a2233941c8d2064c0f69a68 472 472 library/encodings/shift_jis_2004.pyc 1710 f8bb22a8b02dba2b66b7f77122c98fd6 473 473 library/encodings/cp856.pyc 2701 8b6649490089bedd87e9b8c56985f6b3 474 474 locales/hu.pak 7647 7a37ba9f9113e4f7e9de5b5b9643a48c 475 library/mlx/gui/weighthelp.pyc 1 4211 e3f70a4883c77f65d41a06b3b04500e2475 library/mlx/gui/weighthelp.pyc 13179 09924037c8e067c96c1e7acd88671ed1 476 476 library/encodings/cp850.pyc 7621 20d776af743fa7acf090fbd575eea143 477 477 library/gio/__init__.pyc 809 bc9332556e93183a58be5c10cba18557 478 478 doc/manual/hu/debugLogTab.png 32687 9280a72a7c4d4dc5d93a133410505402 479 479 library/weakref.pyc 13028 5d1c14275f47e8cf6d40bc6877fde976 480 library/mlx/fs.pyc 11967 1 0fe7e01a3569b609698be97ab21dd5b480 library/mlx/fs.pyc 11967 1ee8179acadd281b9e9141fa241192bd 481 481 locales/he.pak 8198 2486731ee9bedc244d41143a2741775f 482 482 library/nturl2path.pyc 1755 7835082f2dd6806f99cc25bed13ff7dc 483 483 library/email/message.pyc 27764 493826f529d17f5a21080a4c98b49369 484 library/mlx/gui/pirep.pyc 41544 e7917f01c2960e4e75f9c2100c2c099b484 library/mlx/gui/pirep.pyc 41544 35d195acdae021797e1630406d501a43 485 485 library/mimetypes.pyc 17806 927ce6a7079707aaee925e855ed23454 486 library/mlx/gui/faultexplain.pyc 10129 f e284c4445ac283cdbce34e81522e8ca486 library/mlx/gui/faultexplain.pyc 10129 f21b2f7b30d736b986b96356587c4810 487 487 sounds/F70taxi.mp3 154854 51332dc691d3519355f61ed06c959d8d 488 488 doc/manual/hu/statusIcon1.png 6920 614cde237a5b4e2678ed15d9cd01088e … … 500 500 library/libgdk_pixbuf-2.0-0.dll 285194 e4c64b0e7e4c6606f3973a16c0c1ee84 501 501 library/encodings/big5.pyc 1630 a21b45d3e487bf09f40a08448040c97d 502 library/mlx/gui/update.pyc 11482 e53b2ce9e7650dc6ba852436d111b318502 library/mlx/gui/update.pyc 11482 0253f16c44bb29de314f25c9a5f57e64 503 503 library/encodings/cp1250.pyc 2676 c92e287a2aa6a1c924df287d826aa3b7 504 504 doc/manual/en/gatesTab.png 31516 7078e7c5adff9ee39816d2c3855d8523 … … 508 508 locales/vi.pak 7990 f0d8ddd9bdabaef79a9c92f3fd021f25 509 509 library/encodings/cp862.pyc 8003 261df6dd1a6e5ad90a83dfc739a25e0a 510 library/mlx/gui/statusicon.pyc 5616 03e079307c1f83f36284e1b32887b28e510 library/mlx/gui/statusicon.pyc 5616 72e7f1f435bced8727eecc708d69de12 511 511 library/lxml/__init__.pyc 708 4e6d5e156fb2fe6a8103dd02a1037634 512 512 library/encodings/cp863.pyc 7868 fc7ff06dab536b93c68fcb8e7bac713f 513 library/mlx/gui/flightlist.pyc 27053 31a0362eefea63d7c0d561b2630e1db2513 library/mlx/gui/flightlist.pyc 27053 b046e01f173832414d29324cf463731e 514 514 library/codecs.pyc 34722 339dc90c17d548887dbcf1bbbcae5d5b 515 515 doc/manual/hu/gateSelection.png 31891 937dc56457188df05056c0f9f3a53975 516 516 library/cmd.pyc 13512 808f813d5e354b7073a1356e44c7b554 517 library/mlx/rpc.pyc 2 5576 d1676892ee7b5ba7eb78fabc6a0d95ad517 library/mlx/rpc.pyc 24596 1c6827ff7711034037cc8755f8dca8af 518 518 locales/ko.pak 7278 41ecc83d5eef5887c7c288b3b570c7b4 519 519 library/jsonrpclib/history.pyc 1662 2e0e6d5c26e2794085d62feb524e4542 … … 536 536 library/_socket.pyd 38400 5d273be76603399e88cf57f2605004bf 537 537 library/plistlib.pyc 18067 d8d36573e80bfdde7c73e47828f6e710 538 library/_socket.pyc 546 c1e4db0a21a801b9b80f832160a478f0538 library/_socket.pyc 546 e20437226441ba8d2569ed7e3a281b50 539 539 library/encodings/hex_codec.pyc 3520 a8b8d5b7c8810379c7007bcbc253951c 540 library/mlx/sound.pyc 12511 0140b1775a6b22439d9b493788a4a2ff541 library/glib/_glib.pyc 555 9 9e673a25af3353b819a0075fb815ad5542 library/win32api.pyc 549 f4736268be4f2daada705d764dafc4f7540 library/mlx/sound.pyc 12511 1cb833d4bb47c63572bef0fc1e0a675d 541 library/glib/_glib.pyc 555 964f3f75bc28dfdca564030e97b8ea1a 542 library/win32api.pyc 549 7feab59155c5af902ecbe162cdd768b5 543 543 library/encodings/iso8859_13.pyc 2696 f901ae0bbcfbb78f0c1783e89b2e2dc5 544 544 doc/manual/en/index.html 59898 7a24695cf320678b5995a390ad369d4c 545 library/mlx/gui/callouts.pyc 16060 7a3055f313e693779e9d2df22bb7568a545 library/mlx/gui/callouts.pyc 16060 2e120c6e554d8d68459a52791e374789 546 546 library/encodings/iso8859_15.pyc 2693 b892f358bbc25ae9d3824be158aabe28 547 547 doc/manual/en/flightBookingVIP.png 11944 49f18078475994d8268bcf7dadc725dd 548 548 doc/manual/hu/prefsMessages.png 22980 6e60ec51305e95e5d057c0dd82b69460 549 549 library/xml/parsers/__init__.pyc 294 83f6a77ed8cd962b3c75c4779dc557ac 550 locale/en/LC_MESSAGES/mlx.mo 84 747 68a4b4efba3da4c128ad05027d9d2d8a550 locale/en/LC_MESSAGES/mlx.mo 84371 5900f6fe7e5fdb4fabfa99a2c751c9d1 551 551 library/_abcoll.pyc 19891 a5c1881934f1533c22b22b9317ac1d68 552 552 library/encodings/iso8859_11.pyc 2787 a31e6d0d34e35259d7183cc9437eacca … … 555 555 locales/da.pak 6631 1bf496bcde38f3f2899cd0fab6986959 556 556 library/encodings/mac_latin2.pyc 4717 564dbaf5c296a147203eb821dc2466ba 557 library/mlx/__init__.pyc 103 877b8715b7e58440a0e8f212cab6035e558 library/mlx/i18n.pyc 1972 fe45816e49cf5e380bc39942a9dfa875557 library/mlx/__init__.pyc 103 029f80bd80f880e6ca70ef4ba46f7d06 558 library/mlx/i18n.pyc 1972 141a57905a2597e5ced25866d032d3a4 559 559 library/xml/sax/saxutils.pyc 12382 32ed045b3b520234ebea6a508a6569fe 560 560 locales/sw.pak 7078 5406f21a67934bbf0e6c633d2ca573f9 … … 562 562 doc/manual/hu/gatesTab.png 32840 316fb040e358c79b2a846b1eed4651c6 563 563 library/webbrowser.pyc 18138 c85009edebad6d278fe786fec10ebbbe 564 library/mlx/pyuipc_sim.pyc 57371 956c32d114beb4e05f81a39929ed7e8d564 library/mlx/pyuipc_sim.pyc 57371 aa5ce6859748277fc6268bda9c88c115 565 565 library/encodings/cp875.pyc 2636 c72faa5d1cb6105ae81c971448fea479 566 566 library/dis.pyc 6068 3934ab23d64f3da393305b19df0f1fd0 … … 575 575 locales/sk.pak 7622 dfdff6206e5a79aef8b46d0d9c2a8367 576 576 library/select.pyd 11776 d90bf525f9f6c9c3aa6532fa6e569b4f 577 library/pyuipc.pyc 543 bd02fb3882060c583980f63884e6f82e577 library/pyuipc.pyc 543 9cfd3ec36a463e39df7baa62f6b971e8 578 578 library/locale.pyc 48754 a51d20267132acc6bc66ac6252cf870f 579 579 doc/manual/en/logTab.png 28120 b92cf63420e59e0c48da4f0b3baae040 … … 585 585 library/distutils/errors.pyc 5885 fbeaddf5d59ea781ec63197dd950aa89 586 586 library/logging/__init__.pyc 54813 7bcdf2e8da474f5e94d8e499f6fc3ed4 587 runmlx.exe 64000 3d56abfb42aab80561691e290df1fcbd587 runmlx.exe 64000 010b7fa1b6da6f77072342815123917e 588 588 locales/zh-CN.pak 6386 36e1df83611aef6fbfeeafd067dd4241 589 589 locales/hi.pak 13321 4b6b27ab4421c94685fc09051a2339f8 … … 603 603 library/unittest/main.pyc 7701 82258a486f5133466c9cf10323814fbf 604 604 library/encodings/iso2022_jp_ext.pyc 1715 97eda1c1468f65445951b0bf23a89570 605 library/mlx/watchdog.pyc 3957 4b6c34d79e730066e8af7cf71689f9ad605 library/mlx/watchdog.pyc 3957 8dd7d882e0716f1c6c9054e5009bcc1e -
locale/en/mlx.po
r899 r869 70 70 msgstr "British Aerospace 146-200" 71 71 72 msgid "aircraft_il62"73 msgstr "Ilyushin Il-62"74 75 72 msgid "aircraft_family_b737ng" 76 73 msgstr "Boeing 737NG" … … 105 102 msgid "aircraft_family_b462" 106 103 msgstr "British Aerospace 146-200" 107 108 msgid "aircraft_family_il62"109 msgstr "Ilyushin Il-62"110 104 111 105 msgid "file_filter_all" … … 642 636 "You can also query the ZFW reported by the simulator." 643 637 644 msgid "payload_cockpit_crew" 645 msgstr "Cockpit c_rew:" 646 647 msgid "payload_cockpit_crew_tooltip" 648 msgstr "The number of the cockpit crew members on your flight." 649 650 msgid "payload_cabin_crew" 651 msgstr "Cabin cr_ew:" 652 653 msgid "payload_cabin_crew_tooltip" 654 msgstr "The number of the cabin crew members on your flight." 638 msgid "payload_crew" 639 msgstr "C_rew:" 640 641 msgid "payload_crew_tooltip" 642 msgstr "The number of the crew members on your flight." 655 643 656 644 msgid "payload_pax" … … 1506 1494 "<b><span foreground=\"orange\">yellow</span></b>." 1507 1495 1508 msgid "weighthelp_cockpit_crew" 1509 msgstr "Cockpit crew (%s):" 1510 1511 msgid "weighthelp_cabin_crew" 1512 msgstr "Cabin crew (%s):" 1496 msgid "weighthelp_crew" 1497 msgstr "Crew (%s):" 1513 1498 1514 1499 msgid "weighthelp_pax" -
locale/hu/mlx.po
r899 r870 70 70 msgstr "British Aerospace 146-200" 71 71 72 msgid "aircraft_il62"73 msgstr "Iljusin Il-62"74 75 72 msgid "aircraft_family_b737ng" 76 73 msgstr "Boeing 737NG" … … 105 102 msgid "aircraft_family_b462" 106 103 msgstr "British Aerospace 146-200" 107 108 msgid "aircraft_family_il62"109 msgstr "Iljusin Il-62"110 104 111 105 msgid "file_filter_all" … … 646 640 "Azt is ellenőrizheted, hogy a szimulátor milyen ZFW-t jelent." 647 641 648 msgid "payload_cockpit_crew" 649 msgstr "_Pilóták:" 650 651 msgid "payload_cockpit_crew_tooltip" 652 msgstr "A pilóták létszáma." 653 654 msgid "payload_cabin_crew" 655 msgstr "_Utaskísérők:" 656 657 msgid "payload_cabin_crew_tooltip" 658 msgstr "A légiutaskísérők létszáma." 642 msgid "payload_crew" 643 msgstr "_Legénység:" 644 645 msgid "payload_crew_tooltip" 646 msgstr "A legénység létszáma." 659 647 660 648 msgid "payload_pax" … … 1509 1497 "<b><span foreground=\"orange\">sárga</span></b> színben olvasható." 1510 1498 1511 msgid "weighthelp_cockpit_crew" 1512 msgstr "Pilóták (%s):" 1513 1514 msgid "weighthelp_cabin_crew" 1515 msgstr "Utaskísérők (%s):" 1499 msgid "weighthelp_crew" 1500 msgstr "Legénység (%s):" 1516 1501 1517 1502 msgid "weighthelp_pax" -
src/mlx/acft.py
r917 r905 97 97 class Aircraft(object): 98 98 """Base class for aircraft.""" 99 dowCockpit = 2100 dowCabin = 3101 102 99 @staticmethod 103 100 def create(flight, bookedFlight): … … 128 125 self._landingAntiIceLineID = None 129 126 130 self.cockpitCrewWeight = 85.0 131 self.cabinCrewWeight = 75.0 132 self.humanWeight = 84.0 127 self.humanWeight = 82.0 133 128 134 129 self.initialClimbSpeedAltitude = 1500 … … 834 829 class B734(Boeing737CL): 835 830 """Boeing 737-400 aircraft.""" 836 dow = 35100837 838 831 def __init__(self, flight): 839 832 super(B734, self).__init__(flight) 833 self.dow = 35100 840 834 self.mtow = 62822 841 835 self.mlw = 54885 … … 1249 1243 """Get the derate type for this type.""" 1250 1244 return DERATE_B462 1251 1252 #---------------------------------------------------------------------------------------1253 1254 class IL62(Aircraft):1255 """Ilyushin IL-62 aircraft.1256 1257 The aircraft type-specific values in the aircraft state have the following1258 structure:1259 - fuel: left, centre, right1260 - n1: left outer, left inner, right inner, right outer1261 - reverser: empty (the plane has no reversers)"""1262 dow = 695001263 1264 def __init__(self, flight):1265 super(B462, self).__init__(flight)1266 self.mtow = 1650001267 self.mlw = 1650001268 self.mzfw = 1650001269 self.gearSpeedLimit = 2101270 self.flapSpeedLimits = { 18 : 217,1271 24 : 180,1272 30 : 170,1273 33 : 150 }1274 1275 @property1276 def derateType(self):1277 """Get the derate type for this type."""1278 return DERATE_NONE1279 1245 1280 1246 #--------------------------------------------------------------------------------------- … … 1305 1271 const.AIRCRAFT_T154 : T154, 1306 1272 const.AIRCRAFT_YK40 : YK40, 1307 const.AIRCRAFT_B462 : B462, 1308 const.AIRCRAFT_IL62 : IL62 } 1273 const.AIRCRAFT_B462 : B462 } 1309 1274 1310 1275 #--------------------------------------------------------------------------------------- … … 1316 1281 #--------------------------------------------------------------------------------------- 1317 1282 1318 def setupTypes(aircraftTypes):1319 """Setup the values in the given types using the info retrieved1320 from the server."""1321 for aircraftTypeInfo in aircraftTypes:1322 clazz = getClass(aircraftTypeInfo.aircraftType)1323 1324 clazz.dow = aircraftTypeInfo.dow1325 clazz.dowCockpit = aircraftTypeInfo.dowCockpit1326 clazz.dowCabin = aircraftTypeInfo.dowCabin1327 1328 #---------------------------------------------------------------------------------------1329 1330 1283 if __name__ == "__main__": 1331 1284 value = SmoothedValue() -
src/mlx/checks.py
r917 r912 1415 1415 class PayloadChecker(SimpleFaultChecker): 1416 1416 """Check if the payload matches the specification.""" 1417 TOLERANCE=5 01417 TOLERANCE=550 1418 1418 1419 1419 @staticmethod -
src/mlx/common.py
r908 r800 18 18 #--------------------------------------------------------------------------------------- 19 19 20 #MAVA_BASE_URL = os.environ.get("MAVA_BASE_URL", "http://virtualairlines.hu") 21 MAVA_BASE_URL = os.environ.get("MAVA_BASE_URL", "http://oldmava.mavasystems.hu") 20 MAVA_BASE_URL = os.environ.get("MAVA_BASE_URL", "http://virtualairlines.hu") 22 21 23 22 #------------------------------------------------------------------------------- -
src/mlx/config.py
r897 r738 673 673 """Determine if RPC calls should be used.""" 674 674 return self._useRPC 675 676 @useRPC.setter 677 def useRPC(self, useRPC): 678 """Set whether RPC calls should be used.""" 679 if useRPC!=self._useRPC: 680 self._useRPC = useRPC 681 self._modified = True 675 682 676 683 def getChecklist(self, aircraftType): … … 781 788 Config.DEFAULT_UPDATE_URL + 782 789 ("/exp" if secondaryInstallation else "")) 790 self._useRPC = self._getBoolean(config, "general", "useRPC", True) 783 791 784 792 for aircraftType in const.aircraftTypes: … … 873 881 config.set("update", "url", self._updateURL) 874 882 883 config.set("general", "useRPC", 884 "yes" if self._useRPC else "no") 885 875 886 config.add_section(Checklist.SECTION) 876 887 config.add_section(ApproachCallouts.SECTION) … … 1007 1018 print " autoUpdate:", self._autoUpdate 1008 1019 print " updateURL:", self._updateURL 1020 print " useRPC:", self._useRPC 1009 1021 1010 1022 print " messageTypeLevels:" -
src/mlx/const.py
r917 r911 12 12 13 13 ## The version of the program 14 VERSION="0. 40.1"14 VERSION="0.39.6" 15 15 16 16 #------------------------------------------------------------------------------- … … 108 108 ## Aircraft type: British Aerospace BAe-146 109 109 AIRCRAFT_B462 = 17 110 111 ## Aircraft type: British Aerospace BAe-146112 AIRCRAFT_IL62 = 19113 110 114 111 #------------------------------------------------------------------------------- … … 125 122 AIRCRAFT_T154, AIRCRAFT_T134, 126 123 AIRCRAFT_YK40, AIRCRAFT_DC3, 127 AIRCRAFT_B462 , AIRCRAFT_IL62]124 AIRCRAFT_B462] 128 125 129 126 #------------------------------------------------------------------------------- … … 161 158 ## Aircraft type family: British Aerospace BAe-146 162 159 AIRCRAFT_FAMILY_B462 = 11 163 164 ## Aircraft type family: Ilyushin IL-62165 AIRCRAFT_FAMILY_IL62 = 12166 160 167 161 #------------------------------------------------------------------------------- … … 191 185 AIRCRAFT_FAMILY_YK40: [AIRCRAFT_YK40], 192 186 193 AIRCRAFT_FAMILY_B462: [AIRCRAFT_B462], 194 195 AIRCRAFT_FAMILY_IL62: [AIRCRAFT_IL62] 187 AIRCRAFT_FAMILY_B462: [AIRCRAFT_B462] 196 188 197 189 } … … 227 219 AIRCRAFT_T154 : "T154", 228 220 AIRCRAFT_YK40 : "YK40", 229 AIRCRAFT_B462 : "B462", 230 AIRCRAFT_IL62 : "IL62" } 231 232 #------------------------------------------------------------------------------- 233 234 ## A mapping from ICAO codes to the corresponding aircraft types 235 icao2Type = { "B736" : AIRCRAFT_B736, 236 "B737" : AIRCRAFT_B737, 237 "B738" : AIRCRAFT_B738, 238 "B732" : AIRCRAFT_B732, 239 "B733" : AIRCRAFT_B733, 240 "B734" : AIRCRAFT_B734, 241 "B735" : AIRCRAFT_B735, 242 "DH8D" : AIRCRAFT_DH8D, 243 "B762" : AIRCRAFT_B762, 244 "B763" : AIRCRAFT_B763, 245 "CRJ2" : AIRCRAFT_CRJ2, 246 "F70" : AIRCRAFT_F70, 247 "DC3" : AIRCRAFT_DC3, 248 "T134" : AIRCRAFT_T134, 249 "T154" : AIRCRAFT_T154, 250 "YK40" : AIRCRAFT_YK40, 251 "B462" : AIRCRAFT_B462, 252 "IL62" : AIRCRAFT_IL62 } 221 AIRCRAFT_B462 : "B462" } 253 222 254 223 #------------------------------------------------------------------------------- -
src/mlx/flight.py
r899 r846 152 152 153 153 @property 154 def numCockpitCrew(self):155 """Get the number of cockpit crew members on the flight."""156 return self._gui.numCockpitCrew157 158 @property159 def numCabinCrew(self):160 """Get the number of cabon crew members on the flight."""161 return self._gui.numCabinCrew162 163 @property164 154 def numCrew(self): 165 155 """Get the number of crew members on the flight.""" 166 return self. numCockpitCrew + self.numCabinCrew156 return self._gui.numCrew 167 157 168 158 @property -
src/mlx/gui/common.py
r895 r863 547 547 _const.AIRCRAFT_T154 : xstr("aircraft_t154"), 548 548 _const.AIRCRAFT_YK40 : xstr("aircraft_yk40"), 549 _const.AIRCRAFT_B462 : xstr("aircraft_b462"), 550 _const.AIRCRAFT_IL62 : xstr("aircraft_il62") } 549 _const.AIRCRAFT_B462 : xstr("aircraft_b462") } 551 550 552 551 #------------------------------------------------------------------------------ … … 573 572 _const.AIRCRAFT_FAMILY_YK40: xstr("aircraft_family_yk40"), 574 573 575 _const.AIRCRAFT_FAMILY_B462: xstr("aircraft_family_b462"), 576 577 _const.AIRCRAFT_FAMILY_IL62: xstr("aircraft_family_il62") 574 _const.AIRCRAFT_FAMILY_B462: xstr("aircraft_family_b462") 578 575 } 579 576 -
src/mlx/gui/flight.py
r908 r872 32 32 # 33 33 # This module implements the main tab of the application, the flight 34 # wizard. The wizard consists of \ref Page "pages", that come one yafter the34 # wizard. The wizard consists of \ref Page "pages", that come one after the 35 35 # other. As some pages might be skipped, the pages dynamically store the index 36 36 # of the previous page so that going back to it is simpler. The \ref … … 2125 2125 xscale = 0.0, yscale = 0.0) 2126 2126 2127 table = gtk.Table( 8, 3)2127 table = gtk.Table(7, 3) 2128 2128 table.set_row_spacings(4) 2129 2129 table.set_col_spacings(16) … … 2132 2132 self.setMainWidget(alignment) 2133 2133 2134 label = gtk.Label(xstr("payload_c ockpit_crew"))2134 label = gtk.Label(xstr("payload_crew")) 2135 2135 label.set_use_underline(True) 2136 2136 label.set_alignment(0.0, 0.5) 2137 2137 table.attach(label, 0, 1, 0, 1) 2138 2138 2139 self._numC ockpitCrew = IntegerEntry(defaultValue = 0)2140 self._numC ockpitCrew.set_width_chars(6)2141 self._numC ockpitCrew.connect("integer-changed", self._weightChanged)2142 self._numC ockpitCrew.set_tooltip_text(xstr("payload_cockpit_crew_tooltip"))2143 table.attach(self._numC ockpitCrew, 1, 2, 0, 1)2144 label.set_mnemonic_widget(self._numC ockpitCrew)2145 2146 label = gtk.Label(xstr("payload_ cabin_crew"))2139 self._numCrew = IntegerEntry(defaultValue = 0) 2140 self._numCrew.set_width_chars(6) 2141 self._numCrew.connect("integer-changed", self._weightChanged) 2142 self._numCrew.set_tooltip_text(xstr("payload_crew_tooltip")) 2143 table.attach(self._numCrew, 1, 2, 0, 1) 2144 label.set_mnemonic_widget(self._numCrew) 2145 2146 label = gtk.Label(xstr("payload_pax")) 2147 2147 label.set_use_underline(True) 2148 2148 label.set_alignment(0.0, 0.5) 2149 2149 table.attach(label, 0, 1, 1, 2) 2150 2151 self._numCabinCrew = IntegerEntry(defaultValue = 0)2152 self._numCabinCrew.set_width_chars(6)2153 self._numCabinCrew.connect("integer-changed", self._weightChanged)2154 self._numCabinCrew.set_tooltip_text(xstr("payload_cabin_crew_tooltip"))2155 table.attach(self._numCabinCrew, 1, 2, 1, 2)2156 label.set_mnemonic_widget(self._numCabinCrew)2157 2158 label = gtk.Label(xstr("payload_pax"))2159 label.set_use_underline(True)2160 label.set_alignment(0.0, 0.5)2161 table.attach(label, 0, 1, 2, 3)2162 2150 2163 2151 self._numPassengers = IntegerEntry(defaultValue = 0) … … 2165 2153 self._numPassengers.connect("integer-changed", self._weightChanged) 2166 2154 self._numPassengers.set_tooltip_text(xstr("payload_pax_tooltip")) 2167 table.attach(self._numPassengers, 1, 2, 2, 3)2155 table.attach(self._numPassengers, 1, 2, 1, 2) 2168 2156 label.set_mnemonic_widget(self._numPassengers) 2169 2157 … … 2171 2159 label.set_use_underline(True) 2172 2160 label.set_alignment(0.0, 0.5) 2173 table.attach(label, 0, 1, 3, 4)2161 table.attach(label, 0, 1, 2, 3) 2174 2162 2175 2163 self._bagWeight = IntegerEntry(defaultValue = 0) … … 2177 2165 self._bagWeight.connect("integer-changed", self._weightChanged) 2178 2166 self._bagWeight.set_tooltip_text(xstr("payload_bag_tooltip")) 2179 table.attach(self._bagWeight, 1, 2, 3, 4)2167 table.attach(self._bagWeight, 1, 2, 2, 3) 2180 2168 label.set_mnemonic_widget(self._bagWeight) 2181 2169 2182 table.attach(gtk.Label("kg"), 2, 3, 3, 4)2170 table.attach(gtk.Label("kg"), 2, 3, 2, 3) 2183 2171 2184 2172 label = gtk.Label(xstr("payload_cargo")) 2185 2173 label.set_use_underline(True) 2186 2174 label.set_alignment(0.0, 0.5) 2187 table.attach(label, 0, 1, 4, 5)2175 table.attach(label, 0, 1, 3, 4) 2188 2176 2189 2177 self._cargoWeight = IntegerEntry(defaultValue = 0) … … 2191 2179 self._cargoWeight.connect("integer-changed", self._weightChanged) 2192 2180 self._cargoWeight.set_tooltip_text(xstr("payload_cargo_tooltip")) 2193 table.attach(self._cargoWeight, 1, 2, 4, 5)2181 table.attach(self._cargoWeight, 1, 2, 3, 4) 2194 2182 label.set_mnemonic_widget(self._cargoWeight) 2195 2183 2196 table.attach(gtk.Label("kg"), 2, 3, 4, 5)2184 table.attach(gtk.Label("kg"), 2, 3, 3, 4) 2197 2185 2198 2186 label = gtk.Label(xstr("payload_mail")) 2199 2187 label.set_use_underline(True) 2200 2188 label.set_alignment(0.0, 0.5) 2201 table.attach(label, 0, 1, 5, 6)2189 table.attach(label, 0, 1, 4, 5) 2202 2190 2203 2191 self._mailWeight = IntegerEntry(defaultValue = 0) … … 2205 2193 self._mailWeight.connect("integer-changed", self._weightChanged) 2206 2194 self._mailWeight.set_tooltip_text(xstr("payload_mail_tooltip")) 2207 table.attach(self._mailWeight, 1, 2, 5, 6)2195 table.attach(self._mailWeight, 1, 2, 4, 5) 2208 2196 label.set_mnemonic_widget(self._mailWeight) 2209 2197 2210 table.attach(gtk.Label("kg"), 2, 3, 5, 6)2198 table.attach(gtk.Label("kg"), 2, 3, 4, 5) 2211 2199 2212 2200 label = gtk.Label("<b>" + xstr("payload_zfw") + "</b>") 2213 2201 label.set_alignment(0.0, 0.5) 2214 2202 label.set_use_markup(True) 2215 table.attach(label, 0, 1, 6, 7)2203 table.attach(label, 0, 1, 5, 6) 2216 2204 2217 2205 self._calculatedZFW = gtk.Label() 2218 2206 self._calculatedZFW.set_width_chars(6) 2219 2207 self._calculatedZFW.set_alignment(1.0, 0.5) 2220 table.attach(self._calculatedZFW, 1, 2, 6, 7)2221 2222 table.attach(gtk.Label("kg"), 2, 3, 6, 7)2208 table.attach(self._calculatedZFW, 1, 2, 5, 6) 2209 2210 table.attach(gtk.Label("kg"), 2, 3, 5, 6) 2223 2211 2224 2212 self._zfwButton = gtk.Button(xstr("payload_fszfw")) … … 2226 2214 self._zfwButton.connect("clicked", self._zfwRequested) 2227 2215 self._zfwButton.set_tooltip_text(xstr("payload_fszfw_tooltip")) 2228 table.attach(self._zfwButton, 0, 1, 7, 8)2216 table.attach(self._zfwButton, 0, 1, 6, 7) 2229 2217 2230 2218 self._simulatorZFW = gtk.Label("-") 2231 2219 self._simulatorZFW.set_width_chars(6) 2232 2220 self._simulatorZFW.set_alignment(1.0, 0.5) 2233 table.attach(self._simulatorZFW, 1, 2, 7, 8)2221 table.attach(self._simulatorZFW, 1, 2, 6, 7) 2234 2222 self._simulatorZFWValue = None 2235 2223 2236 table.attach(gtk.Label("kg"), 2, 3, 7, 8)2224 table.attach(gtk.Label("kg"), 2, 3, 6, 7) 2237 2225 2238 2226 self.addCancelFlightButton() … … 2241 2229 2242 2230 @property 2243 def numCockpitCrew(self): 2244 """The number of the cockpit crew members on the flight.""" 2245 return self._numCockpitCrew.get_int() 2246 2247 @property 2248 def numCabinCrew(self): 2249 """The number of the cabin crew members on the flight.""" 2250 return self._numCabinCrew.get_int() 2231 def numCrew(self): 2232 """The number of the crew members on the flight.""" 2233 return self._numCrew.get_int() 2251 2234 2252 2235 @property … … 2273 2256 """Setup the information.""" 2274 2257 bookedFlight = self._wizard._bookedFlight 2275 aircraft = self._wizard.gui._flight.aircraft 2276 2277 numCockpitCrew = bookedFlight.numCockpitCrew 2278 numCabinCrew = bookedFlight.numCabinCrew 2279 numCrew = numCockpitCrew + numCabinCrew 2280 2281 self._numCockpitCrew.set_int(numCockpitCrew) 2282 self._numCockpitCrew.set_sensitive(True) 2283 self._numCabinCrew.set_int(numCabinCrew) 2284 self._numCabinCrew.set_sensitive(True) 2258 2259 self._numCrew.set_int(bookedFlight.numCrew) 2260 self._numCrew.set_sensitive(True) 2285 2261 self._numPassengers.set_int(bookedFlight.numPassengers) 2286 2262 self._numPassengers.set_sensitive(True) … … 2300 2276 def finalize(self): 2301 2277 """Finalize the payload page.""" 2302 self._numCockpitCrew.set_sensitive(False) 2303 self._numCabinCrew.set_sensitive(False) 2278 self._numCrew.set_sensitive(False) 2304 2279 self._numPassengers.set_sensitive(False) 2305 2280 self._bagWeight.set_sensitive(False) … … 2310 2285 def calculateZFW(self): 2311 2286 """Calculate the ZFW value.""" 2312 aircraft = self._wizard.gui._flight.aircraft2313 2287 zfw = self._wizard.gui._flight.aircraft.dow 2314 zfw += (self.numCockpitCrew - aircraft.dowCockpit) * aircraft.cockpitCrewWeight 2315 zfw += (self.numCabinCrew - aircraft.dowCabin) * aircraft.cabinCrewWeight 2316 zfw += (self._numPassengers.get_int()) * aircraft.humanWeight 2288 zfw += (self._numCrew.get_int() + self._numPassengers.get_int()) * 82 2317 2289 zfw += self._bagWeight.get_int() 2318 2290 zfw += self._cargoWeight.get_int() 2319 2291 zfw += self._mailWeight.get_int() 2320 zfw = int(zfw)2321 2292 return zfw 2322 2293 … … 5570 5541 5571 5542 @property 5572 def numCockpitCrew(self): 5573 """Get the number of cockpit crew members.""" 5574 return self._payloadPage.numCockpitCrew 5575 5576 @property 5577 def numCabinCrew(self): 5578 """Get the number of cabin crew members.""" 5579 return self._payloadPage.numCabinCrew 5543 def numCrew(self): 5544 """Get the number of crew members.""" 5545 return self._payloadPage.numCrew 5580 5546 5581 5547 @property … … 5925 5891 self._loginResult = result 5926 5892 self.gui.loginSuccessful() 5927 acft.setupTypes(result.aircraftTypes)5928 5893 else: 5929 5894 if isReload: -
src/mlx/gui/gui.py
r899 r869 264 264 265 265 @property 266 def numCockpitCrew(self): 267 """Get the number of cockpit crew members.""" 268 return self._wizard.numCockpitCrew 269 270 @property 271 def numCabinCrew(self): 272 """Get the number of cabin crew members.""" 273 return self._wizard.numCabinCrew 266 def numCrew(self): 267 """Get the number of crew members.""" 268 return self._wizard.numCrew 274 269 275 270 @property -
src/mlx/gui/prefs.py
r897 r738 276 276 277 277 self._updateURL.set_text(config.updateURL) 278 279 self._useRPC.set_active(config.useRPC) 278 280 279 281 self._settingFromConfig = False … … 320 322 config.autoUpdate = self._autoUpdate.get_active() 321 323 config.updateURL = self._updateURL.get_text() 324 config.useRPC = self._useRPC.get_active() 322 325 323 326 def _buildGeneral(self): … … 814 817 updateURLBox.pack_start(self._updateURL, True, True, 4) 815 818 819 self._useRPC = gtk.CheckButton(xstr("prefs_use_rpc")) 820 mainBox.pack_start(self._useRPC, False, False, 16) 821 822 self._useRPC.set_use_underline(True) 823 self._useRPC.set_tooltip_text(xstr("prefs_use_rpc_tooltip")) 824 816 825 return mainAlignment 817 826 -
src/mlx/gui/weighthelp.py
r899 r303 56 56 57 57 58 self._weightsTable = table = gtk.Table(1 7, 5)58 self._weightsTable = table = gtk.Table(16, 5) 59 59 table.set_homogeneous(False) 60 60 table.set_row_spacings(4) … … 91 91 92 92 93 self._cockpitCrewLabel = \ 94 gtk.Label(xstr("weighthelp_cockpit_crew") % ("99",)) 95 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 96 xscale = 0.0, yscale = 0.0) 97 alignment.add(self._cockpitCrewLabel) 93 self._crewLabel = gtk.Label(xstr("weighthelp_crew") % ("99",)) 94 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 95 xscale = 0.0, yscale = 0.0) 96 alignment.add(self._crewLabel) 98 97 table.attach(alignment, 0, 1, 1, 2) 99 98 100 self._c ockpitCrewWeight = gtk.Label("0")101 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 102 xscale = 0.0, yscale = 0.0) 103 alignment.add(self._c ockpitCrewWeight)99 self._crewWeight = gtk.Label("0") 100 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 101 xscale = 0.0, yscale = 0.0) 102 alignment.add(self._crewWeight) 104 103 table.attach(alignment, 1, 2, 1, 2) 105 104 106 105 table.attach(gtk.Label("kg"), 2, 3, 1, 2) 107 108 self._cabinCrewLabel = \109 gtk.Label(xstr("weighthelp_cabin_crew") % ("99",))110 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5,111 xscale = 0.0, yscale = 0.0)112 alignment.add(self._cabinCrewLabel)113 table.attach(alignment, 0, 1, 2, 3)114 115 self._cabinCrewWeight = gtk.Label("0")116 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5,117 xscale = 0.0, yscale = 0.0)118 alignment.add(self._cabinCrewWeight)119 table.attach(alignment, 1, 2, 2, 3)120 121 table.attach(gtk.Label("kg"), 2, 3, 2, 3)122 106 123 107 text = xstr("weighthelp_pax") % ("999",) … … 128 112 xscale = 0.0, yscale = 0.0) 129 113 alignment.add(self._paxLabel) 114 table.attach(alignment, 0, 1, 2, 3) 115 116 self._paxWeight = gtk.Label("20000") 117 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 118 xscale = 0.0, yscale = 0.0) 119 alignment.add(self._paxWeight) 120 table.attach(alignment, 1, 2, 2, 3) 121 122 table.attach(gtk.Label("kg"), 2, 3, 2, 3) 123 124 label = gtk.Label(xstr("weighthelp_baggage")) 125 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 126 xscale = 0.0, yscale = 0.0) 127 alignment.add(label) 130 128 table.attach(alignment, 0, 1, 3, 4) 131 129 132 self._ paxWeight = gtk.Label("20000")133 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 134 xscale = 0.0, yscale = 0.0) 135 alignment.add(self._ paxWeight)130 self._bagWeight = gtk.Label("2000") 131 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 132 xscale = 0.0, yscale = 0.0) 133 alignment.add(self._bagWeight) 136 134 table.attach(alignment, 1, 2, 3, 4) 137 135 138 136 table.attach(gtk.Label("kg"), 2, 3, 3, 4) 139 137 140 label = gtk.Label(xstr("weighthelp_ baggage"))138 label = gtk.Label(xstr("weighthelp_cargo")) 141 139 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 142 140 xscale = 0.0, yscale = 0.0) … … 144 142 table.attach(alignment, 0, 1, 4, 5) 145 143 146 self._ bagWeight = gtk.Label("2000")147 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 148 xscale = 0.0, yscale = 0.0) 149 alignment.add(self._ bagWeight)144 self._cargoWeight = gtk.Label("2000") 145 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 146 xscale = 0.0, yscale = 0.0) 147 alignment.add(self._cargoWeight) 150 148 table.attach(alignment, 1, 2, 4, 5) 151 149 152 150 table.attach(gtk.Label("kg"), 2, 3, 4, 5) 153 151 154 label = gtk.Label(xstr("weighthelp_ cargo"))152 label = gtk.Label(xstr("weighthelp_mail")) 155 153 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 156 154 xscale = 0.0, yscale = 0.0) … … 158 156 table.attach(alignment, 0, 1, 5, 6) 159 157 160 self._ cargoWeight = gtk.Label("2000")161 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 162 xscale = 0.0, yscale = 0.0) 163 alignment.add(self._ cargoWeight)158 self._mailWeight = gtk.Label("2000") 159 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 160 xscale = 0.0, yscale = 0.0) 161 alignment.add(self._mailWeight) 164 162 table.attach(alignment, 1, 2, 5, 6) 165 163 166 164 table.attach(gtk.Label("kg"), 2, 3, 5, 6) 167 168 label = gtk.Label(xstr("weighthelp_mail")) 169 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 170 xscale = 0.0, yscale = 0.0) 171 alignment.add(label) 172 table.attach(alignment, 0, 1, 6, 7) 173 174 self._mailWeight = gtk.Label("2000") 175 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 176 xscale = 0.0, yscale = 0.0) 177 alignment.add(self._mailWeight) 178 table.attach(alignment, 1, 2, 6, 7) 179 180 table.attach(gtk.Label("kg"), 2, 3, 6, 7) 181 182 table.attach(gtk.HSeparator(), 1, 2, 7, 8) 165 166 table.attach(gtk.HSeparator(), 1, 2, 6, 7) 183 167 184 168 label = gtk.Label("<b>" + xstr("weighthelp_payload") + "</b>") … … 187 171 xscale = 0.0, yscale = 0.0) 188 172 alignment.add(label) 189 table.attach(alignment, 0, 1, 8, 9)173 table.attach(alignment, 0, 1, 7, 8) 190 174 191 175 self._payload = gtk.Label("<b>32000</b>") … … 194 178 xscale = 0.0, yscale = 0.0) 195 179 alignment.add(self._payload) 196 table.attach(alignment, 1, 2, 8, 9)197 198 table.attach(gtk.Label("kg"), 2, 3, 8, 9)180 table.attach(alignment, 1, 2, 7, 8) 181 182 table.attach(gtk.Label("kg"), 2, 3, 7, 8) 199 183 200 184 self._fsPayload = gtk.Label("<b>32001</b>") … … 203 187 xscale = 0.0, yscale = 0.0) 204 188 alignment.add(self._fsPayload) 189 table.attach(alignment, 3, 4, 7, 8) 190 191 table.attach(gtk.Label("kg"), 4, 5, 7, 8) 192 193 label = gtk.Label(xstr("weighthelp_dow")) 194 label.set_use_markup(True) 195 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 196 xscale = 0.0, yscale = 0.0) 197 alignment.add(label) 198 table.attach(alignment, 0, 1, 8, 9) 199 200 self._dow = gtk.Label("35000") 201 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 202 xscale = 0.0, yscale = 0.0) 203 alignment.add(self._dow) 204 table.attach(alignment, 1, 2, 8, 9) 205 206 table.attach(gtk.Label("kg"), 2, 3, 8, 9) 207 208 self._fsDOW = gtk.Label("33012") 209 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 210 xscale = 0.0, yscale = 0.0) 211 alignment.add(self._fsDOW) 205 212 table.attach(alignment, 3, 4, 8, 9) 206 213 207 214 table.attach(gtk.Label("kg"), 4, 5, 8, 9) 208 215 209 label = gtk.Label(xstr("weighthelp_dow")) 210 label.set_use_markup(True) 211 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 212 xscale = 0.0, yscale = 0.0) 213 alignment.add(label) 214 table.attach(alignment, 0, 1, 9, 10) 215 216 self._dow = gtk.Label("35000") 217 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 218 xscale = 0.0, yscale = 0.0) 219 alignment.add(self._dow) 220 table.attach(alignment, 1, 2, 9, 10) 221 222 table.attach(gtk.Label("kg"), 2, 3, 9, 10) 223 224 self._fsDOW = gtk.Label("33012") 225 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 226 xscale = 0.0, yscale = 0.0) 227 alignment.add(self._fsDOW) 228 table.attach(alignment, 3, 4, 9, 10) 229 230 table.attach(gtk.Label("kg"), 4, 5, 9, 10) 231 232 table.attach(gtk.HSeparator(), 1, 2, 10, 11) 233 234 table.attach(gtk.HSeparator(), 3, 4, 10, 11) 216 table.attach(gtk.HSeparator(), 1, 2, 9, 10) 217 218 table.attach(gtk.HSeparator(), 3, 4, 9, 10) 235 219 236 220 label = gtk.Label("<b>" + xstr("weighthelp_zfw") + "</b>") … … 239 223 xscale = 0.0, yscale = 0.0) 240 224 alignment.add(label) 241 table.attach(alignment, 0, 1, 1 1, 12)225 table.attach(alignment, 0, 1, 10, 11) 242 226 243 227 self._zfw = gtk.Label("<b>122000</b>") … … 246 230 xscale = 0.0, yscale = 0.0) 247 231 alignment.add(self._zfw) 248 table.attach(alignment, 1, 2, 1 1, 12)249 250 table.attach(gtk.Label("kg"), 2, 3, 1 1, 12)232 table.attach(alignment, 1, 2, 10, 11) 233 234 table.attach(gtk.Label("kg"), 2, 3, 10, 11) 251 235 252 236 self._fsZFW = gtk.Label("<b>124000</b>") … … 255 239 xscale = 0.0, yscale = 0.0) 256 240 alignment.add(self._fsZFW) 257 table.attach(alignment, 3, 4, 1 1, 12)258 259 table.attach(gtk.Label("kg"), 4, 5, 1 1, 12)260 261 table.attach(gtk.HSeparator(), 0, 5, 1 2, 13)241 table.attach(alignment, 3, 4, 10, 11) 242 243 table.attach(gtk.Label("kg"), 4, 5, 10, 11) 244 245 table.attach(gtk.HSeparator(), 0, 5, 11, 12) 262 246 263 247 label = gtk.Label(xstr("weighthelp_gross")) … … 266 250 xscale = 0.0, yscale = 0.0) 267 251 alignment.add(label) 252 table.attach(alignment, 0, 1, 12, 13) 253 254 self._fsGross = gtk.Label("124000") 255 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 256 xscale = 0.0, yscale = 0.0) 257 alignment.add(self._fsGross) 258 table.attach(alignment, 3, 4, 12, 13) 259 260 table.attach(gtk.Label("kg"), 4, 5, 12, 13) 261 262 label = gtk.Label(xstr("weighthelp_mzfw")) 263 label.set_use_markup(True) 264 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 265 xscale = 0.0, yscale = 0.0) 266 alignment.add(label) 268 267 table.attach(alignment, 0, 1, 13, 14) 269 268 270 self._ fsGross = gtk.Label("124000")271 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 272 xscale = 0.0, yscale = 0.0) 273 alignment.add(self._ fsGross)274 table.attach(alignment, 3, 4, 13, 14)275 276 table.attach(gtk.Label("kg"), 4, 5, 13, 14)277 278 label = gtk.Label(xstr("weighthelp_m zfw"))269 self._mzfw = gtk.Label("35000") 270 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 271 xscale = 0.0, yscale = 0.0) 272 alignment.add(self._mzfw) 273 table.attach(alignment, 1, 2, 13, 14) 274 275 table.attach(gtk.Label("kg"), 2, 3, 13, 14) 276 277 label = gtk.Label(xstr("weighthelp_mtow")) 279 278 label.set_use_markup(True) 280 279 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, … … 283 282 table.attach(alignment, 0, 1, 14, 15) 284 283 285 self._m zfw = gtk.Label("35000")286 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 287 xscale = 0.0, yscale = 0.0) 288 alignment.add(self._m zfw)284 self._mtow = gtk.Label("35000") 285 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 286 xscale = 0.0, yscale = 0.0) 287 alignment.add(self._mtow) 289 288 table.attach(alignment, 1, 2, 14, 15) 290 289 291 290 table.attach(gtk.Label("kg"), 2, 3, 14, 15) 292 291 293 label = gtk.Label(xstr("weighthelp_m tow"))292 label = gtk.Label(xstr("weighthelp_mlw")) 294 293 label.set_use_markup(True) 295 294 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, … … 298 297 table.attach(alignment, 0, 1, 15, 16) 299 298 300 self._m tow = gtk.Label("35000")301 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 302 xscale = 0.0, yscale = 0.0) 303 alignment.add(self._m tow)299 self._mlw = gtk.Label("35000") 300 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 301 xscale = 0.0, yscale = 0.0) 302 alignment.add(self._mlw) 304 303 table.attach(alignment, 1, 2, 15, 16) 305 304 306 305 table.attach(gtk.Label("kg"), 2, 3, 15, 16) 307 308 label = gtk.Label(xstr("weighthelp_mlw"))309 label.set_use_markup(True)310 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.5,311 xscale = 0.0, yscale = 0.0)312 alignment.add(label)313 table.attach(alignment, 0, 1, 16, 17)314 315 self._mlw = gtk.Label("35000")316 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5,317 xscale = 0.0, yscale = 0.0)318 alignment.add(self._mlw)319 table.attach(alignment, 1, 2, 16, 17)320 321 table.attach(gtk.Label("kg"), 2, 3, 16, 17)322 306 323 307 self.show_all() … … 338 322 self._weightsTable.set_sensitive(False) 339 323 340 self._cockpitCrew = -1 341 self._cabinCrew = -1 324 self._crew = -1 342 325 self._pax = -1 343 self._dowCockpit = 2 344 self._cockpitCrewMemberWeight = 85.0 345 self._dowCabin = 2 346 self._cabinCrewMemberWeight = 75.0 347 self._humanWeight = 84.0 326 self._humanWeight = 82.0 348 327 self._bag = -1 349 328 self._cargo = -1 … … 364 343 def _setupCalculated(self): 365 344 """Setup the labels for the calculated values.""" 366 if self._cockpitCrew<0: 367 self._cockpitCrewLabel.set_text(xstr("weighthelp_cockpit_crew") % ("-",)) 368 self._cockpitCrewWeight.set_text("-") 369 else: 370 self._cockpitCrewLabel.set_text(xstr("weighthelp_cockpit_crew") % 371 (str(self._cockpitCrew),)) 372 crewWeight = (self._cockpitCrew - self._dowCockpit) * self._cockpitCrewMemberWeight 373 self._cockpitCrewWeight.set_text("%.0f" % (crewWeight,)) 374 375 if self._cabinCrew<0: 376 self._cabinCrewLabel.set_text(xstr("weighthelp_cabin_crew") % ("-",)) 377 self._cabinCrewWeight.set_text("-") 378 else: 379 self._cabinCrewLabel.set_text(xstr("weighthelp_cabin_crew") % 380 (str(self._cabinCrew),)) 381 crewWeight = (self._cabinCrew - self._dowCabin) * self._cabinCrewMemberWeight 382 self._cabinCrewWeight.set_text("%.0f" % (crewWeight,)) 345 if self._crew<0: 346 self._crewLabel.set_text(xstr("weighthelp_crew") % ("-",)) 347 self._crewWeight.set_text("-") 348 else: 349 self._crewLabel.set_text(xstr("weighthelp_crew") % (str(self._crew),)) 350 crewWeight = self._crew * self._humanWeight 351 self._crewWeight.set_text("%.0f" % (crewWeight,)) 383 352 384 353 if self._pax<0: … … 454 423 It returns a tuple with these two items. If any of the items cannot be 455 424 calculated, that is -1.""" 456 if self._c ockpitCrew<0 or self._cabinCrew<0 or self._pax<0 or \425 if self._crew<0 or self._pax<0 or \ 457 426 self._bag<0 or self._cargo<0 or self._mail<0: 458 427 payload = -1 459 428 else: 460 payload = \ 461 (self._cockpitCrew - self._dowCockpit) * \ 462 self._cockpitCrewMemberWeight + \ 463 (self._cabinCrew - self._dowCabin) * \ 464 self._cabinCrewMemberWeight + \ 465 self._pax * self._humanWeight + \ 466 self._bag + self._cargo + self._mail 429 payload = (self._crew + self._pax) * self._humanWeight + \ 430 self._bag + self._cargo + self._mail 467 431 468 432 if payload<0 or self._dowValue<0: … … 480 444 self._gui.logger.untimedMessage("The weight calculation help function was used by the pilot") 481 445 482 self._cockpitCrew = self._gui.numCockpitCrew 483 self._cabinCrew = self._gui.numCabinCrew 446 self._crew = self._gui.numCrew 484 447 self._pax = self._gui.numPassengers 485 448 self._bag = self._gui.bagWeight … … 488 451 489 452 aircraft = self._gui.flight.aircraft 490 self._dowCockpit = aircraft.dowCockpit491 self._cockpitCrewMemberWeight = aircraft.cockpitCrewWeight492 self._dowCabin = aircraft.dowCabin493 self._cabinCrewMemberWeight = aircraft.cabinCrewWeight494 453 self._humanWeight = aircraft.humanWeight 495 454 self._dowValue = aircraft.dow -
src/mlx/pirep.py
r908 r856 136 136 self.bookedFlight = flight.bookedFlight 137 137 138 self.numCockpitCrew = flight.numCockpitCrew139 self.numCabinCrew = flight.numCabinCrew140 138 self.numCrew = flight.numCrew 141 139 self.numPassengers = flight.numPassengers … … 184 182 self.bookedFlight = bookedFlight 185 183 186 self.numCockpitCrew = int(pirepData["numCockpitCrew"]) 187 self.numCabinCrew = int(pirepData["numCabinCrew"]) 188 self.numCrew = self.numCockpitCrew + self.numCabinCrew 184 self.numCrew = int(pirepData["numCrew"]) 189 185 self.numPassengers = int(pirepData["numPassengers"]) 190 186 self.bagWeight = int(pirepData["bagWeight"]) … … 385 381 attrs["arrivalICAO"] = self.bookedFlight.arrivalICAO 386 382 attrs["numPassengers"] = self.numPassengers 387 attrs["numCockpitCrew"] = self.numCockpitCrew388 attrs["numCabinCrew"] = self.numCabinCrew389 383 attrs["numCrew"] = self.numCrew 390 384 attrs["cargoWeight"] = self.cargoWeight -
src/mlx/rpc.py
r908 r889 208 208 "TU5" : const.AIRCRAFT_T154, 209 209 "YK4" : const.AIRCRAFT_YK40, 210 "146" : const.AIRCRAFT_B462, 211 "IL6" : const.AIRCRAFT_IL62 } 210 "146" : const.AIRCRAFT_B462 } 212 211 213 212 # FIXME: copied from web.BookedFlight … … 229 228 const.AIRCRAFT_T154 : "TU5", 230 229 const.AIRCRAFT_YK40 : "YK4", 231 const.AIRCRAFT_B462 : "146", 232 const.AIRCRAFT_IL62 : "IL6" } 230 const.AIRCRAFT_B462 : "146" } 233 231 234 232 # FIXME: copied from web.BookedFlight … … 236 234 def _decodeAircraftType(typeCode): 237 235 """Decode the aircraft type from the given typeCode.""" 238 if typeCode in const.icao2Type:239 return const.icao2Type[typeCode]236 if typeCode in BookedFlight.TYPECODE2TYPE: 237 return BookedFlight.TYPECODE2TYPE[typeCode] 240 238 else: 241 239 raise Exception("Invalid aircraft type code: '" + typeCode + "'") … … 277 275 _instructions = { 278 276 "numPassengers" : int, 279 "numCockpitCrew" : int, 280 "numCabinCrew" : int, 277 "numCrew" : int, 281 278 "bagWeight" : int, 282 279 "cargoWeight" : int, … … 310 307 print >> f, "tail_nr=%s" % (self.tailNumber,) 311 308 print >> f, "passenger=%d" % (self.numPassengers,) 312 print >> f, "crew=%d" % (self.numC ockpitrew + self.numCabinCrew,)309 print >> f, "crew=%d" % (self.numCrew,) 313 310 print >> f, "bag=%d" % (self.bagWeight,) 314 311 print >> f, "cargo=%d" % (self.cargoWeight,) … … 379 376 for planeValue in value: 380 377 self._addPlane(Plane(planeValue)) 381 382 #---------------------------------------------------------------------------------------383 384 class AircraftTypeInfo(RPCObject):385 """Information about an aircraft type."""386 # The instructions for the construction387 _instructions = {388 "dow" : int,389 "dowCockpit" : int,390 "dowCabin" : int,391 }392 393 def __init__(self, value):394 """Construct the booked flight object from the given RPC result395 value."""396 super(AircraftTypeInfo, self).__init__(value,397 AircraftTypeInfo._instructions)398 self.aircraftType = const.icao2Type[value["typeCode"]]399 378 400 379 #--------------------------------------------------------------------------------------- … … 519 498 self._sessionID = reply.value["sessionID"] 520 499 521 types = [ const.icao2Type[typeCode]500 types = [BookedFlight.TYPECODE2TYPE[typeCode] 522 501 for typeCode in reply.value["typeCodes"]] 523 502 … … 525 504 else: 526 505 return None 527 528 def getTypes(self):529 """Get the data of the aircraft types supported by us."""530 value = self._performCall(lambda sessionID:531 self._server.getTypes(sessionID))532 533 return [AircraftTypeInfo(t) for t in value]534 506 535 507 def getFlights(self): … … 627 599 of type codes, if any.""" 628 600 typeCodes = None if types is None else \ 629 [const.icaoCodes[type] for type in types]601 [BookedFlight.TYPE2TYPECODE[type] for type in types] 630 602 631 603 values = self._performCall(lambda sessionID: -
src/mlx/web.py
r908 r859 73 73 "TU5" : const.AIRCRAFT_T154, 74 74 "YK4" : const.AIRCRAFT_YK40, 75 "146" : const.AIRCRAFT_B462, 76 "IL6" : const.AIRCRAFT_IL62 } 75 "146" : const.AIRCRAFT_B462 } 77 76 78 77 TYPE2TYPECODE = { const.AIRCRAFT_B736 : "736", … … 93 92 const.AIRCRAFT_T154 : "TU5", 94 93 const.AIRCRAFT_YK40 : "YK4", 95 const.AIRCRAFT_B462 : "146", 96 const.AIRCRAFT_IL62 : "IL6" } 94 const.AIRCRAFT_B462 : "146" } 97 95 98 96 checkFlightTypes = [ const.AIRCRAFT_B736, const.AIRCRAFT_B737, … … 130 128 131 129 flight.numPassengers = 0 132 flight.numCockpitCrew = 2133 flight.numCabinCrew = 2134 130 flight.numCrew = 2 135 131 flight.bagWeight = 0 … … 250 246 arrivalTime) 251 247 252 self.numCockpitCrew = self.numCrew253 self.numCabinCrew = 0254 255 248 d = dir(self) 256 249 for attribute in ["callsign", "departureICAO", "arrivalICAO", 257 "aircraftType", "tailNumber", "numPassengers",258 "num Crew", "numCockpitCrew", "numCabinCrew",250 "aircraftType", "tailNumber", 251 "numPassengers", "numCrew", 259 252 "bagWeight", "cargoWeight", "mailWeight", 260 253 "route", "departureTime", "arrivalTime"]: … … 286 279 287 280 self.aircraftType = \ 288 self._decodeAircraft ICAOType(bookedFlightData["aircraftType"])281 self._decodeAircraftType(bookedFlightData["aircraftType"]) 289 282 self.tailNumber = bookedFlightData["tailNumber"] 290 283 self.numPassengers = int(bookedFlightData["numPassengers"]) 291 self.numCockpitCrew = int(bookedFlightData["numCockpitCrew"]) 292 self.numCabinCrew = int(bookedFlightData["numCabinCrew"]) 293 self.numCrew = self.numCockpitCrew + self.numCabinCrew 284 self.numCrew = int(bookedFlightData["numCrew"]) 294 285 self.bagWeight = int(bookedFlightData["bagWeight"]) 295 286 self.cargoWeight = int(bookedFlightData["cargoWeight"]) … … 336 327 raise Exception("Invalid aircraft type code: '" + typeCode + "'") 337 328 338 def _decodeAircraftICAOType(self, typeCode):339 """Decode the aircraft type from the given typeCode."""340 if typeCode in const.icao2Type:341 return const.icao2Type[typeCode]342 else:343 raise Exception("Invalid aircraft type code: '" + typeCode + "'")344 345 329 def __repr__(self): 346 330 """Get a representation of the flight.""" … … 831 815 result.types = loginResult[2] 832 816 result.password = password 833 834 result.aircraftTypes = client.getTypes()835 836 817 flights = client.getFlights() 837 818 result.flights = flights[0] 838 819 result.reportedFlights = flights[1] 839 820 result.rejectedFlights = flights[2] 840 841 821 if result.rank=="STU": 842 822 reply = client.getEntryExamStatus()
Note:
See TracChangeset
for help on using the changeset viewer.