Changes in / [916:4f738ffc3596:917:803dc6bacfa5]
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
MLXMANIFEST
r890 r900 4 4 library/fnmatch.pyc 3414 4d50000f78e903598af06ef1c5cfb3ef 5 5 library/multiprocessing/managers.pyc 36290 ca35d24d87467303c5e94a0de51e9593 6 library/gtk/_gtk.pyc 549 fe4816d7315373754a9c2a78c1cb910d6 library/gtk/_gtk.pyc 549 ccdd4be123a0909d44052f30869b38d8 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 4cedd864ad5b158d44762634ecc002c910 library/lxml/etree.pyc 555 8f2c530f47011cee9a5f642ef3df8d71 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 b6448dd0f6077bc70527ee0c39c330e119 library/mlx/gui/statusbar.pyc 4812 490a882b53429fa18f317e146f0c70c0 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 ef0c7c9b50df08d7c1bc75d14dac82534 library/mlx/gui/timetable.pyc 27480 92ebb8630c797b4235b54ecf205ed344 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 385 b4cc05ef2d0e7afff8adea144d3533c343 locale/hu/LC_MESSAGES/mlx.mo 90718 d3f06c29211edf37a14045d9345e4d0b 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 9ea5897e2b27e087ff36f16c77a0948754 library/mlx/gui/dcdata.pyc 19919 a37ad72d994b8a523da07130970c2f0b 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 99c9fc4da49ca115a5bd140a8405b87d59 library/mlx/gui/bugreport.pyc 4602 a32ca4d644f316b3d120ae3dc2597eba 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 504 d661c08870a0056cb2b4bab198de8c34102 library/mlx/const.pyc 7781 ca412d026807bd7532a49e6f40d63833 103 103 python27.dll 2206720 f8f39495ed4a813e8f3049a4b9f5cff4 104 104 locales/th.pak 13637 7262d0f5e1877212a45a1ef1ccc4c777 105 library/mlx/gui/cef.pyc 13567 b11c3bd18b59392a8a828d8ae904d2d1105 library/mlx/gui/cef.pyc 13567 4e4065185decfc2a23900a45b112a896 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 64632c3b8962883ab952e483a722d0f9120 library/select.pyc 543 49de99d20755a51a448c47694aabf924 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 5d9c36cbf8971ad0e91adff5f9c4ab54132 library/mlx/logger.pyc 13109 78ca8e8f2b0b51e228a32fcca6f50fb7131 library/mlx/soundsched.pyc 9185 4211730170fddb82b5683ce1849234ee 132 library/mlx/logger.pyc 13109 a70c061d36cf6b4e540f5610133466d3 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 481d263642893856d1c992f484f380aa160 library/win32pipe.pyc 552 70f5476d7ed103cb22b901a81e2d62fc 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 ce68d42eef1532c1ec170b997a7fdebd165 library/gio/_gio.pyc 549 63dbf557dc3df483aa6a0bae37a2d472 166 166 library/encodings/cp437.pyc 7874 63f1278c0a66129c6fb4f504d6b61b66 167 167 doc/manual/hu/prefsSounds.png 22667 452c396c2bda9684bf052c98fd7870d1 168 library/mlx/gates.pyc 7002 5c82c4c4dd0918bf385497549f14767f168 library/mlx/gates.pyc 7002 20aca1eaf3de122eda51883b5b518f6f 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 22895e1b76e628cfe1126552651999d4177 library/cefpython3/cefpython_py27.pyc 600 542ae3754fe3029d9fffe5ac7f9bd374 178 178 library/encodings/mac_romanian.pyc 2756 a3b2a0892236bc80c8efe8940e33339e 179 179 library/multiprocessing/connection.pyc 13385 c86567e4a002e8beca2301d1110b887c 180 library/_ctypes.pyc 546 ea964009a19c93c9b7e6d5a0952d740b180 library/_ctypes.pyc 546 21922d74db381df8923d751a6ccef8eb 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 506dbdd642eea450bb2cd7bb0c397caa193 library/mlx/gui/monitor.pyc 13015 adcdde553f6ef5956faa6856489c6b0b 194 194 library/encodings/latin_1.pyc 2111 52427573ccbfd06220b67d5a9dd1376e 195 library/mlx/update.pyc 17632 a3cb8734519c01a74e628f78c1eac5ce195 library/mlx/update.pyc 17632 e27fbb1e86d28e99f493c83ae1dae57d 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 2418 ab4080e74ed57c8608a662d38dd9f5c2199 library/mlx/acft.pyc 43831 4bb1ff76aca2130bed92b093a1749116 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 f1ac7c30434908114c49343eca6dfd32203 library/mlx/gui/acars.pyc 1054 6467ef4c361a74b4c2a289cba55761c3 204 204 library/gtk/_lazyutils.pyc 2772 93f9aa41ad4223106d99340cd539a566 205 library/mlx/mlx.pyc 3027 6acdd392d3f3095bac42108db71a7f63205 library/mlx/mlx.pyc 3027 062ba9eaf26e78de62ed20f4ab91cc79 206 206 library/encodings/cp864.pyc 7999 ca90afae086cb6b8f69b8419cc3cd1cb 207 207 library/pyexpat.pyd 152576 5a82e9ec95005aca6130751e5b961cc3 208 library/pyexpat.pyc 546 c0175ad3bb5cd86249bf1cef3e3a560f208 library/pyexpat.pyc 546 331b065065412d197efb50068f1b11b0 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 8139 1e2b4ccb44bc09700582f3e3cd2e44fa216 library/mlx/gui/prefs.pyc 27921 2d3de746b632866251dccb5b1eb63f23 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 18a21eeaf1e699d8928877ea074e04fa226 library/mlx/checks.pyc 62721 3af0d317e94f7220e1ea224d43cfa4d8 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 128 8e7c7ec2b3b222768fe77c418db1002e232 library/mlx/xplane.pyc 67548 6ede9cf8fe1651636b499142797b4f6e 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 3266 a7d9c1089d89b2eae06344b4eb62b515259 library/atk.pyc 534 696d668cfdc42d4ddb0973dec25e43af258 library/mlx/config.pyc 32932 2c787fa0d592ff65e6e890e45e7f4731 259 library/atk.pyc 534 ce47437fcb9187bb74723200c98838fa 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 5d2e3c3064fdfc49404973b22a629130271 library/mlx/gui/delaycodes.pyc 13323 67bd0762b1242b4dae043546155187c2 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 a4e2d54b4f7acf65b29ff20393e5d2c8286 library/mlx/gui/info.pyc 7374 7431efd8a70bb0b8f485f8ec758576a5 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 506 1ef86c765984abf3a3ef6f4f39a12b36289 library/mlx/gui/gui.pyc 64705 83d22920b5e0b2433d399ba0c91e09f9 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 9c208b5682178410d144235e4e0dc566295 library/gobject/_gobject.pyc 573 5692421648da2f24e72d0dd23cddd9c2 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 28af83fc19cded4fc98ec58484387a76308 library/pangocairo.pyc 555 c9b1bfcfc52d98e171d8aef36d276bb1 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 5ff33f58a6bee5a753dde2421cf938b2312 library/mlx/rpccommon.pyc 3956 e6db84bdf8a987dc7c35294673ecfb1d 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 2603 683c1e711e9614a6bdb7e6fcb840989e317 library/mlx/gui/flight.pyc 183734 9e63c9c96171c2df91ce7e36f98da1e9 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 1165d901defce2ba71812217e87d6f91330 library/_hashlib.pyc 549 9a5d5dc1c1e02eddb61723be3c81d39b 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 22f268cac1c5be2f3a058810b6caead3335 library/mlx/pirep.pyc 11862 8590e401f3d6a84091913b6e4d390318334 library/mlx/gui/__init__.pyc 107 3494fc6a671a7b8a9dc72ea93948ae52 335 library/mlx/pirep.pyc 11862 77ce612c43f8356f164f2d6dbba54071 336 336 library/json/scanner.pyc 2169 e19ee185b7c79ab5cc433b39fcd33faa 337 337 library/traceback.pyc 11223 50ace5c2c6c040a923082442da94cd78 338 library/mlx/flight.pyc 21 369 025c6f2183b19adb20e604a1cda0366b338 library/mlx/flight.pyc 21771 942d1b3cc815f1775d7829e7d5986d6d 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 81a72ceff029e4be88de252226d0f2b4343 library/mlx/common.pyc 444 6befa042b541293b90ca3b7caf281e6d 344 344 doc/manual/en/simbriefSetup.png 30414 9788762f9a23ffd71a66cbd90a23f13b 345 345 library/ctypes/__init__.pyc 18846 2bd183962453ae93d6887b303d3fd338 346 library/mlx/acars.pyc 2352 9 396f366c1d2958204ceadf4e5b4eb7a346 library/mlx/acars.pyc 2352 91494421b7612bb60560eecc985d5aab 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 5f0ebf0e8ff791c32ffb875ada20d672351 library/cairo/_cairo.pyc 561 01892a78d8cdbfcfc71fb98ea17f8f08 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 7ccb88cac4ea838538647400b3b2a0ae361 library/mlx/fsuipc.pyc 75964 d5345164190acf18b2bb8a291415ff55 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 876 45e8cc2a1c41ba7091e7845fc51fbd0a367 library/mlx/gui/common.pyc 20998 c4a79324478fadd4754707e1cca0b38a 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 7b01882aa537ced5392bfd6a05c92bee381 library/bz2.pyc 534 3fc098070fd71f141def09bf7e420ab1 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 1c0e90e57415e1e74c0b496cce34a7f5386 library/pango.pyc 540 21cec340f978ffee00f37a02d495d61b 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 9b19d587509c61dcc52b91a871d0f675392 mlxupdate.exe 19456 1d7bb33aea239a041e1ae6a9ea67445a 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 244c691a5e5f65839b6a8dcba79e2e88403 library/_ssl.pyc 537 d4812f8f7f922f63cdc1340e179b7f84 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 0d648433bc36dd90e70dbd27c094733a413 library/mlx/gui/checklist.pyc 12279 555775aaed42b3d0687e1b0f501a9f61 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 1d02ca413783825aeb8e6b3976f0add4417 library/unicodedata.pyc 558 f8c55c5d1ca43879e328efe26742ccec 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 e65b78fc430008ce301eee1155d85b1424 library/mlx/util.pyc 5026 e28805b72a8df264fd03df201653c221 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 3b71000d428959ab355db2658cea9557430 library/mlx/airports.pyc 4350 95dddcb84b0fb7dc4342c69a45ab20b6429 library/mlx/singleton.pyc 9184 9eec2ed5b230e043afc56592fb13a684 430 library/mlx/airports.pyc 4350 c91293cee62158e0b57827f7da2b0b3a 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 49987 6f9d6f859938b4e4f3e5c4004e6e5194446 library/mlx/gui/gates.pyc 5635 541e695d5acf90721e523c5513fe7d0d445 library/mlx/web.pyc 50085 0d3f05478f11de55def73551a5803590 446 library/mlx/gui/gates.pyc 5635 ea478376f306ce9d6d0ed2e759407c00 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 75d775fe0fe2d2285eb0f31de28bacc4467 library/_multiprocessing.pyc 573 85faa60bc8d8b3d69345f10292e39005 468 468 doc/manual/hu/logTab.png 28908 25b9aceb760189c177a5562c0cfa2a04 469 library/win32event.pyc 555 d92a7808ed1848a5f745893510cb9249470 library/win32file.pyc 552 3b5fe9c088871cf707f54153c8680507469 library/win32event.pyc 555 9d23ca715afe49593db8c754a663114d 470 library/win32file.pyc 552 c3ed345f1e6540e4f2a5991b293595ed 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 3179 09924037c8e067c96c1e7acd88671ed1475 library/mlx/gui/weighthelp.pyc 14211 e3f70a4883c77f65d41a06b3b04500e2 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 ee8179acadd281b9e9141fa241192bd480 library/mlx/fs.pyc 11967 10fe7e01a3569b609698be97ab21dd5b 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 35d195acdae021797e1630406d501a43484 library/mlx/gui/pirep.pyc 41544 e7917f01c2960e4e75f9c2100c2c099b 485 485 library/mimetypes.pyc 17806 927ce6a7079707aaee925e855ed23454 486 library/mlx/gui/faultexplain.pyc 10129 f 21b2f7b30d736b986b96356587c4810486 library/mlx/gui/faultexplain.pyc 10129 fe284c4445ac283cdbce34e81522e8ca 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 0253f16c44bb29de314f25c9a5f57e64502 library/mlx/gui/update.pyc 11482 e53b2ce9e7650dc6ba852436d111b318 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 72e7f1f435bced8727eecc708d69de12510 library/mlx/gui/statusicon.pyc 5616 03e079307c1f83f36284e1b32887b28e 511 511 library/lxml/__init__.pyc 708 4e6d5e156fb2fe6a8103dd02a1037634 512 512 library/encodings/cp863.pyc 7868 fc7ff06dab536b93c68fcb8e7bac713f 513 library/mlx/gui/flightlist.pyc 27053 b046e01f173832414d29324cf463731e513 library/mlx/gui/flightlist.pyc 27053 31a0362eefea63d7c0d561b2630e1db2 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 4596 1c6827ff7711034037cc8755f8dca8af517 library/mlx/rpc.pyc 25576 d1676892ee7b5ba7eb78fabc6a0d95ad 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 e20437226441ba8d2569ed7e3a281b50538 library/_socket.pyc 546 c1e4db0a21a801b9b80f832160a478f0 539 539 library/encodings/hex_codec.pyc 3520 a8b8d5b7c8810379c7007bcbc253951c 540 library/mlx/sound.pyc 12511 1cb833d4bb47c63572bef0fc1e0a675d541 library/glib/_glib.pyc 555 9 64f3f75bc28dfdca564030e97b8ea1a542 library/win32api.pyc 549 7feab59155c5af902ecbe162cdd768b5540 library/mlx/sound.pyc 12511 0140b1775a6b22439d9b493788a4a2ff 541 library/glib/_glib.pyc 555 99e673a25af3353b819a0075fb815ad5 542 library/win32api.pyc 549 f4736268be4f2daada705d764dafc4f7 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 2e120c6e554d8d68459a52791e374789545 library/mlx/gui/callouts.pyc 16060 7a3055f313e693779e9d2df22bb7568a 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 371 5900f6fe7e5fdb4fabfa99a2c751c9d1550 locale/en/LC_MESSAGES/mlx.mo 84747 68a4b4efba3da4c128ad05027d9d2d8a 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 029f80bd80f880e6ca70ef4ba46f7d06558 library/mlx/i18n.pyc 1972 141a57905a2597e5ced25866d032d3a4557 library/mlx/__init__.pyc 103 877b8715b7e58440a0e8f212cab6035e 558 library/mlx/i18n.pyc 1972 fe45816e49cf5e380bc39942a9dfa875 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 aa5ce6859748277fc6268bda9c88c115564 library/mlx/pyuipc_sim.pyc 57371 956c32d114beb4e05f81a39929ed7e8d 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 9cfd3ec36a463e39df7baa62f6b971e8577 library/pyuipc.pyc 543 bd02fb3882060c583980f63884e6f82e 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 010b7fa1b6da6f77072342815123917e587 runmlx.exe 64000 3d56abfb42aab80561691e290df1fcbd 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 8dd7d882e0716f1c6c9054e5009bcc1e605 library/mlx/watchdog.pyc 3957 4b6c34d79e730066e8af7cf71689f9ad -
locale/en/mlx.po
r869 r899 70 70 msgstr "British Aerospace 146-200" 71 71 72 msgid "aircraft_il62" 73 msgstr "Ilyushin Il-62" 74 72 75 msgid "aircraft_family_b737ng" 73 76 msgstr "Boeing 737NG" … … 102 105 msgid "aircraft_family_b462" 103 106 msgstr "British Aerospace 146-200" 107 108 msgid "aircraft_family_il62" 109 msgstr "Ilyushin Il-62" 104 110 105 111 msgid "file_filter_all" … … 636 642 "You can also query the ZFW reported by the simulator." 637 643 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." 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." 643 655 644 656 msgid "payload_pax" … … 1494 1506 "<b><span foreground=\"orange\">yellow</span></b>." 1495 1507 1496 msgid "weighthelp_crew" 1497 msgstr "Crew (%s):" 1508 msgid "weighthelp_cockpit_crew" 1509 msgstr "Cockpit crew (%s):" 1510 1511 msgid "weighthelp_cabin_crew" 1512 msgstr "Cabin crew (%s):" 1498 1513 1499 1514 msgid "weighthelp_pax" -
locale/hu/mlx.po
r870 r899 70 70 msgstr "British Aerospace 146-200" 71 71 72 msgid "aircraft_il62" 73 msgstr "Iljusin Il-62" 74 72 75 msgid "aircraft_family_b737ng" 73 76 msgstr "Boeing 737NG" … … 102 105 msgid "aircraft_family_b462" 103 106 msgstr "British Aerospace 146-200" 107 108 msgid "aircraft_family_il62" 109 msgstr "Iljusin Il-62" 104 110 105 111 msgid "file_filter_all" … … 640 646 "Azt is ellenőrizheted, hogy a szimulátor milyen ZFW-t jelent." 641 647 642 msgid "payload_crew" 643 msgstr "_Legénység:" 644 645 msgid "payload_crew_tooltip" 646 msgstr "A legénység létszáma." 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." 647 659 648 660 msgid "payload_pax" … … 1497 1509 "<b><span foreground=\"orange\">sárga</span></b> színben olvasható." 1498 1510 1499 msgid "weighthelp_crew" 1500 msgstr "Legénység (%s):" 1511 msgid "weighthelp_cockpit_crew" 1512 msgstr "Pilóták (%s):" 1513 1514 msgid "weighthelp_cabin_crew" 1515 msgstr "Utaskísérők (%s):" 1501 1516 1502 1517 msgid "weighthelp_pax" -
src/mlx/acft.py
r905 r917 97 97 class Aircraft(object): 98 98 """Base class for aircraft.""" 99 dowCockpit = 2 100 dowCabin = 3 101 99 102 @staticmethod 100 103 def create(flight, bookedFlight): … … 125 128 self._landingAntiIceLineID = None 126 129 127 self.humanWeight = 82.0 130 self.cockpitCrewWeight = 85.0 131 self.cabinCrewWeight = 75.0 132 self.humanWeight = 84.0 128 133 129 134 self.initialClimbSpeedAltitude = 1500 … … 829 834 class B734(Boeing737CL): 830 835 """Boeing 737-400 aircraft.""" 836 dow = 35100 837 831 838 def __init__(self, flight): 832 839 super(B734, self).__init__(flight) 833 self.dow = 35100834 840 self.mtow = 62822 835 841 self.mlw = 54885 … … 1243 1249 """Get the derate type for this type.""" 1244 1250 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 following 1258 structure: 1259 - fuel: left, centre, right 1260 - n1: left outer, left inner, right inner, right outer 1261 - reverser: empty (the plane has no reversers)""" 1262 dow = 69500 1263 1264 def __init__(self, flight): 1265 super(B462, self).__init__(flight) 1266 self.mtow = 165000 1267 self.mlw = 165000 1268 self.mzfw = 165000 1269 self.gearSpeedLimit = 210 1270 self.flapSpeedLimits = { 18 : 217, 1271 24 : 180, 1272 30 : 170, 1273 33 : 150 } 1274 1275 @property 1276 def derateType(self): 1277 """Get the derate type for this type.""" 1278 return DERATE_NONE 1245 1279 1246 1280 #--------------------------------------------------------------------------------------- … … 1271 1305 const.AIRCRAFT_T154 : T154, 1272 1306 const.AIRCRAFT_YK40 : YK40, 1273 const.AIRCRAFT_B462 : B462 } 1307 const.AIRCRAFT_B462 : B462, 1308 const.AIRCRAFT_IL62 : IL62 } 1274 1309 1275 1310 #--------------------------------------------------------------------------------------- … … 1281 1316 #--------------------------------------------------------------------------------------- 1282 1317 1318 def setupTypes(aircraftTypes): 1319 """Setup the values in the given types using the info retrieved 1320 from the server.""" 1321 for aircraftTypeInfo in aircraftTypes: 1322 clazz = getClass(aircraftTypeInfo.aircraftType) 1323 1324 clazz.dow = aircraftTypeInfo.dow 1325 clazz.dowCockpit = aircraftTypeInfo.dowCockpit 1326 clazz.dowCabin = aircraftTypeInfo.dowCabin 1327 1328 #--------------------------------------------------------------------------------------- 1329 1283 1330 if __name__ == "__main__": 1284 1331 value = SmoothedValue() -
src/mlx/checks.py
r912 r917 1415 1415 class PayloadChecker(SimpleFaultChecker): 1416 1416 """Check if the payload matches the specification.""" 1417 TOLERANCE=5 501417 TOLERANCE=50 1418 1418 1419 1419 @staticmethod -
src/mlx/common.py
r800 r908 18 18 #--------------------------------------------------------------------------------------- 19 19 20 MAVA_BASE_URL = os.environ.get("MAVA_BASE_URL", "http://virtualairlines.hu") 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") 21 22 22 23 #------------------------------------------------------------------------------- -
src/mlx/config.py
r738 r897 673 673 """Determine if RPC calls should be used.""" 674 674 return self._useRPC 675 676 @useRPC.setter677 def useRPC(self, useRPC):678 """Set whether RPC calls should be used."""679 if useRPC!=self._useRPC:680 self._useRPC = useRPC681 self._modified = True682 675 683 676 def getChecklist(self, aircraftType): … … 788 781 Config.DEFAULT_UPDATE_URL + 789 782 ("/exp" if secondaryInstallation else "")) 790 self._useRPC = self._getBoolean(config, "general", "useRPC", True)791 783 792 784 for aircraftType in const.aircraftTypes: … … 881 873 config.set("update", "url", self._updateURL) 882 874 883 config.set("general", "useRPC",884 "yes" if self._useRPC else "no")885 886 875 config.add_section(Checklist.SECTION) 887 876 config.add_section(ApproachCallouts.SECTION) … … 1018 1007 print " autoUpdate:", self._autoUpdate 1019 1008 print " updateURL:", self._updateURL 1020 print " useRPC:", self._useRPC1021 1009 1022 1010 print " messageTypeLevels:" -
src/mlx/const.py
r911 r917 12 12 13 13 ## The version of the program 14 VERSION="0. 39.6"14 VERSION="0.40.1" 15 15 16 16 #------------------------------------------------------------------------------- … … 108 108 ## Aircraft type: British Aerospace BAe-146 109 109 AIRCRAFT_B462 = 17 110 111 ## Aircraft type: British Aerospace BAe-146 112 AIRCRAFT_IL62 = 19 110 113 111 114 #------------------------------------------------------------------------------- … … 122 125 AIRCRAFT_T154, AIRCRAFT_T134, 123 126 AIRCRAFT_YK40, AIRCRAFT_DC3, 124 AIRCRAFT_B462 ]127 AIRCRAFT_B462, AIRCRAFT_IL62] 125 128 126 129 #------------------------------------------------------------------------------- … … 158 161 ## Aircraft type family: British Aerospace BAe-146 159 162 AIRCRAFT_FAMILY_B462 = 11 163 164 ## Aircraft type family: Ilyushin IL-62 165 AIRCRAFT_FAMILY_IL62 = 12 160 166 161 167 #------------------------------------------------------------------------------- … … 185 191 AIRCRAFT_FAMILY_YK40: [AIRCRAFT_YK40], 186 192 187 AIRCRAFT_FAMILY_B462: [AIRCRAFT_B462] 193 AIRCRAFT_FAMILY_B462: [AIRCRAFT_B462], 194 195 AIRCRAFT_FAMILY_IL62: [AIRCRAFT_IL62] 188 196 189 197 } … … 219 227 AIRCRAFT_T154 : "T154", 220 228 AIRCRAFT_YK40 : "YK40", 221 AIRCRAFT_B462 : "B462" } 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 } 222 253 223 254 #------------------------------------------------------------------------------- -
src/mlx/flight.py
r846 r899 152 152 153 153 @property 154 def numCockpitCrew(self): 155 """Get the number of cockpit crew members on the flight.""" 156 return self._gui.numCockpitCrew 157 158 @property 159 def numCabinCrew(self): 160 """Get the number of cabon crew members on the flight.""" 161 return self._gui.numCabinCrew 162 163 @property 154 164 def numCrew(self): 155 165 """Get the number of crew members on the flight.""" 156 return self. _gui.numCrew166 return self.numCockpitCrew + self.numCabinCrew 157 167 158 168 @property -
src/mlx/gui/common.py
r863 r895 547 547 _const.AIRCRAFT_T154 : xstr("aircraft_t154"), 548 548 _const.AIRCRAFT_YK40 : xstr("aircraft_yk40"), 549 _const.AIRCRAFT_B462 : xstr("aircraft_b462") } 549 _const.AIRCRAFT_B462 : xstr("aircraft_b462"), 550 _const.AIRCRAFT_IL62 : xstr("aircraft_il62") } 550 551 551 552 #------------------------------------------------------------------------------ … … 572 573 _const.AIRCRAFT_FAMILY_YK40: xstr("aircraft_family_yk40"), 573 574 574 _const.AIRCRAFT_FAMILY_B462: xstr("aircraft_family_b462") 575 _const.AIRCRAFT_FAMILY_B462: xstr("aircraft_family_b462"), 576 577 _const.AIRCRAFT_FAMILY_IL62: xstr("aircraft_family_il62") 575 578 } 576 579 -
src/mlx/gui/flight.py
r872 r908 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 after the34 # wizard. The wizard consists of \ref Page "pages", that come one yafter 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( 7, 3)2127 table = gtk.Table(8, 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 rew"))2134 label = gtk.Label(xstr("payload_cockpit_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._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) 2139 self._numCockpitCrew = IntegerEntry(defaultValue = 0) 2140 self._numCockpitCrew.set_width_chars(6) 2141 self._numCockpitCrew.connect("integer-changed", self._weightChanged) 2142 self._numCockpitCrew.set_tooltip_text(xstr("payload_cockpit_crew_tooltip")) 2143 table.attach(self._numCockpitCrew, 1, 2, 0, 1) 2144 label.set_mnemonic_widget(self._numCockpitCrew) 2145 2146 label = gtk.Label(xstr("payload_cabin_crew")) 2147 label.set_use_underline(True) 2148 label.set_alignment(0.0, 0.5) 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) 2145 2157 2146 2158 label = gtk.Label(xstr("payload_pax")) 2147 2159 label.set_use_underline(True) 2148 2160 label.set_alignment(0.0, 0.5) 2149 table.attach(label, 0, 1, 1, 2)2161 table.attach(label, 0, 1, 2, 3) 2150 2162 2151 2163 self._numPassengers = IntegerEntry(defaultValue = 0) … … 2153 2165 self._numPassengers.connect("integer-changed", self._weightChanged) 2154 2166 self._numPassengers.set_tooltip_text(xstr("payload_pax_tooltip")) 2155 table.attach(self._numPassengers, 1, 2, 1, 2)2167 table.attach(self._numPassengers, 1, 2, 2, 3) 2156 2168 label.set_mnemonic_widget(self._numPassengers) 2157 2169 … … 2159 2171 label.set_use_underline(True) 2160 2172 label.set_alignment(0.0, 0.5) 2161 table.attach(label, 0, 1, 2, 3)2173 table.attach(label, 0, 1, 3, 4) 2162 2174 2163 2175 self._bagWeight = IntegerEntry(defaultValue = 0) … … 2165 2177 self._bagWeight.connect("integer-changed", self._weightChanged) 2166 2178 self._bagWeight.set_tooltip_text(xstr("payload_bag_tooltip")) 2167 table.attach(self._bagWeight, 1, 2, 2, 3)2179 table.attach(self._bagWeight, 1, 2, 3, 4) 2168 2180 label.set_mnemonic_widget(self._bagWeight) 2169 2181 2170 table.attach(gtk.Label("kg"), 2, 3, 2, 3)2182 table.attach(gtk.Label("kg"), 2, 3, 3, 4) 2171 2183 2172 2184 label = gtk.Label(xstr("payload_cargo")) 2173 2185 label.set_use_underline(True) 2174 2186 label.set_alignment(0.0, 0.5) 2175 table.attach(label, 0, 1, 3, 4)2187 table.attach(label, 0, 1, 4, 5) 2176 2188 2177 2189 self._cargoWeight = IntegerEntry(defaultValue = 0) … … 2179 2191 self._cargoWeight.connect("integer-changed", self._weightChanged) 2180 2192 self._cargoWeight.set_tooltip_text(xstr("payload_cargo_tooltip")) 2181 table.attach(self._cargoWeight, 1, 2, 3, 4)2193 table.attach(self._cargoWeight, 1, 2, 4, 5) 2182 2194 label.set_mnemonic_widget(self._cargoWeight) 2183 2195 2184 table.attach(gtk.Label("kg"), 2, 3, 3, 4)2196 table.attach(gtk.Label("kg"), 2, 3, 4, 5) 2185 2197 2186 2198 label = gtk.Label(xstr("payload_mail")) 2187 2199 label.set_use_underline(True) 2188 2200 label.set_alignment(0.0, 0.5) 2189 table.attach(label, 0, 1, 4, 5)2201 table.attach(label, 0, 1, 5, 6) 2190 2202 2191 2203 self._mailWeight = IntegerEntry(defaultValue = 0) … … 2193 2205 self._mailWeight.connect("integer-changed", self._weightChanged) 2194 2206 self._mailWeight.set_tooltip_text(xstr("payload_mail_tooltip")) 2195 table.attach(self._mailWeight, 1, 2, 4, 5)2207 table.attach(self._mailWeight, 1, 2, 5, 6) 2196 2208 label.set_mnemonic_widget(self._mailWeight) 2197 2209 2198 table.attach(gtk.Label("kg"), 2, 3, 4, 5)2210 table.attach(gtk.Label("kg"), 2, 3, 5, 6) 2199 2211 2200 2212 label = gtk.Label("<b>" + xstr("payload_zfw") + "</b>") 2201 2213 label.set_alignment(0.0, 0.5) 2202 2214 label.set_use_markup(True) 2203 table.attach(label, 0, 1, 5, 6)2215 table.attach(label, 0, 1, 6, 7) 2204 2216 2205 2217 self._calculatedZFW = gtk.Label() 2206 2218 self._calculatedZFW.set_width_chars(6) 2207 2219 self._calculatedZFW.set_alignment(1.0, 0.5) 2208 table.attach(self._calculatedZFW, 1, 2, 5, 6)2209 2210 table.attach(gtk.Label("kg"), 2, 3, 5, 6)2220 table.attach(self._calculatedZFW, 1, 2, 6, 7) 2221 2222 table.attach(gtk.Label("kg"), 2, 3, 6, 7) 2211 2223 2212 2224 self._zfwButton = gtk.Button(xstr("payload_fszfw")) … … 2214 2226 self._zfwButton.connect("clicked", self._zfwRequested) 2215 2227 self._zfwButton.set_tooltip_text(xstr("payload_fszfw_tooltip")) 2216 table.attach(self._zfwButton, 0, 1, 6, 7)2228 table.attach(self._zfwButton, 0, 1, 7, 8) 2217 2229 2218 2230 self._simulatorZFW = gtk.Label("-") 2219 2231 self._simulatorZFW.set_width_chars(6) 2220 2232 self._simulatorZFW.set_alignment(1.0, 0.5) 2221 table.attach(self._simulatorZFW, 1, 2, 6, 7)2233 table.attach(self._simulatorZFW, 1, 2, 7, 8) 2222 2234 self._simulatorZFWValue = None 2223 2235 2224 table.attach(gtk.Label("kg"), 2, 3, 6, 7)2236 table.attach(gtk.Label("kg"), 2, 3, 7, 8) 2225 2237 2226 2238 self.addCancelFlightButton() … … 2229 2241 2230 2242 @property 2231 def numCrew(self): 2232 """The number of the crew members on the flight.""" 2233 return self._numCrew.get_int() 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() 2234 2251 2235 2252 @property … … 2256 2273 """Setup the information.""" 2257 2274 bookedFlight = self._wizard._bookedFlight 2258 2259 self._numCrew.set_int(bookedFlight.numCrew) 2260 self._numCrew.set_sensitive(True) 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) 2261 2285 self._numPassengers.set_int(bookedFlight.numPassengers) 2262 2286 self._numPassengers.set_sensitive(True) … … 2276 2300 def finalize(self): 2277 2301 """Finalize the payload page.""" 2278 self._numCrew.set_sensitive(False) 2302 self._numCockpitCrew.set_sensitive(False) 2303 self._numCabinCrew.set_sensitive(False) 2279 2304 self._numPassengers.set_sensitive(False) 2280 2305 self._bagWeight.set_sensitive(False) … … 2285 2310 def calculateZFW(self): 2286 2311 """Calculate the ZFW value.""" 2312 aircraft = self._wizard.gui._flight.aircraft 2287 2313 zfw = self._wizard.gui._flight.aircraft.dow 2288 zfw += (self._numCrew.get_int() + self._numPassengers.get_int()) * 82 2314 zfw += (self.numCockpitCrew - aircraft.dowCockpit) * aircraft.cockpitCrewWeight 2315 zfw += (self.numCabinCrew - aircraft.dowCabin) * aircraft.cabinCrewWeight 2316 zfw += (self._numPassengers.get_int()) * aircraft.humanWeight 2289 2317 zfw += self._bagWeight.get_int() 2290 2318 zfw += self._cargoWeight.get_int() 2291 2319 zfw += self._mailWeight.get_int() 2320 zfw = int(zfw) 2292 2321 return zfw 2293 2322 … … 5541 5570 5542 5571 @property 5543 def numCrew(self): 5544 """Get the number of crew members.""" 5545 return self._payloadPage.numCrew 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 5546 5580 5547 5581 @property … … 5891 5925 self._loginResult = result 5892 5926 self.gui.loginSuccessful() 5927 acft.setupTypes(result.aircraftTypes) 5893 5928 else: 5894 5929 if isReload: -
src/mlx/gui/gui.py
r869 r899 264 264 265 265 @property 266 def numCrew(self): 267 """Get the number of crew members.""" 268 return self._wizard.numCrew 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 269 274 270 275 @property -
src/mlx/gui/prefs.py
r738 r897 276 276 277 277 self._updateURL.set_text(config.updateURL) 278 279 self._useRPC.set_active(config.useRPC)280 278 281 279 self._settingFromConfig = False … … 322 320 config.autoUpdate = self._autoUpdate.get_active() 323 321 config.updateURL = self._updateURL.get_text() 324 config.useRPC = self._useRPC.get_active()325 322 326 323 def _buildGeneral(self): … … 817 814 updateURLBox.pack_start(self._updateURL, True, True, 4) 818 815 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 825 816 return mainAlignment 826 817 -
src/mlx/gui/weighthelp.py
r303 r899 56 56 57 57 58 self._weightsTable = table = gtk.Table(1 6, 5)58 self._weightsTable = table = gtk.Table(17, 5) 59 59 table.set_homogeneous(False) 60 60 table.set_row_spacings(4) … … 91 91 92 92 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) 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) 97 98 table.attach(alignment, 0, 1, 1, 2) 98 99 99 self._c rewWeight = gtk.Label("0")100 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 101 xscale = 0.0, yscale = 0.0) 102 alignment.add(self._c rewWeight)100 self._cockpitCrewWeight = gtk.Label("0") 101 alignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 102 xscale = 0.0, yscale = 0.0) 103 alignment.add(self._cockpitCrewWeight) 103 104 table.attach(alignment, 1, 2, 1, 2) 104 105 105 106 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) 106 122 107 123 text = xstr("weighthelp_pax") % ("999",) … … 112 128 xscale = 0.0, yscale = 0.0) 113 129 alignment.add(self._paxLabel) 114 table.attach(alignment, 0, 1, 2, 3)130 table.attach(alignment, 0, 1, 3, 4) 115 131 116 132 self._paxWeight = gtk.Label("20000") … … 118 134 xscale = 0.0, yscale = 0.0) 119 135 alignment.add(self._paxWeight) 120 table.attach(alignment, 1, 2, 2, 3)121 122 table.attach(gtk.Label("kg"), 2, 3, 2, 3)136 table.attach(alignment, 1, 2, 3, 4) 137 138 table.attach(gtk.Label("kg"), 2, 3, 3, 4) 123 139 124 140 label = gtk.Label(xstr("weighthelp_baggage")) … … 126 142 xscale = 0.0, yscale = 0.0) 127 143 alignment.add(label) 128 table.attach(alignment, 0, 1, 3, 4)144 table.attach(alignment, 0, 1, 4, 5) 129 145 130 146 self._bagWeight = gtk.Label("2000") … … 132 148 xscale = 0.0, yscale = 0.0) 133 149 alignment.add(self._bagWeight) 134 table.attach(alignment, 1, 2, 3, 4)135 136 table.attach(gtk.Label("kg"), 2, 3, 3, 4)150 table.attach(alignment, 1, 2, 4, 5) 151 152 table.attach(gtk.Label("kg"), 2, 3, 4, 5) 137 153 138 154 label = gtk.Label(xstr("weighthelp_cargo")) … … 140 156 xscale = 0.0, yscale = 0.0) 141 157 alignment.add(label) 142 table.attach(alignment, 0, 1, 4, 5)158 table.attach(alignment, 0, 1, 5, 6) 143 159 144 160 self._cargoWeight = gtk.Label("2000") … … 146 162 xscale = 0.0, yscale = 0.0) 147 163 alignment.add(self._cargoWeight) 148 table.attach(alignment, 1, 2, 4, 5)149 150 table.attach(gtk.Label("kg"), 2, 3, 4, 5)164 table.attach(alignment, 1, 2, 5, 6) 165 166 table.attach(gtk.Label("kg"), 2, 3, 5, 6) 151 167 152 168 label = gtk.Label(xstr("weighthelp_mail")) … … 154 170 xscale = 0.0, yscale = 0.0) 155 171 alignment.add(label) 156 table.attach(alignment, 0, 1, 5, 6)172 table.attach(alignment, 0, 1, 6, 7) 157 173 158 174 self._mailWeight = gtk.Label("2000") … … 160 176 xscale = 0.0, yscale = 0.0) 161 177 alignment.add(self._mailWeight) 162 table.attach(alignment, 1, 2, 5, 6)163 164 table.attach(gtk.Label("kg"), 2, 3, 5, 6)165 166 table.attach(gtk.HSeparator(), 1, 2, 6, 7)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) 167 183 168 184 label = gtk.Label("<b>" + xstr("weighthelp_payload") + "</b>") … … 171 187 xscale = 0.0, yscale = 0.0) 172 188 alignment.add(label) 173 table.attach(alignment, 0, 1, 7, 8)189 table.attach(alignment, 0, 1, 8, 9) 174 190 175 191 self._payload = gtk.Label("<b>32000</b>") … … 178 194 xscale = 0.0, yscale = 0.0) 179 195 alignment.add(self._payload) 180 table.attach(alignment, 1, 2, 7, 8)181 182 table.attach(gtk.Label("kg"), 2, 3, 7, 8)196 table.attach(alignment, 1, 2, 8, 9) 197 198 table.attach(gtk.Label("kg"), 2, 3, 8, 9) 183 199 184 200 self._fsPayload = gtk.Label("<b>32001</b>") … … 187 203 xscale = 0.0, yscale = 0.0) 188 204 alignment.add(self._fsPayload) 189 table.attach(alignment, 3, 4, 7, 8)190 191 table.attach(gtk.Label("kg"), 4, 5, 7, 8)205 table.attach(alignment, 3, 4, 8, 9) 206 207 table.attach(gtk.Label("kg"), 4, 5, 8, 9) 192 208 193 209 label = gtk.Label(xstr("weighthelp_dow")) … … 196 212 xscale = 0.0, yscale = 0.0) 197 213 alignment.add(label) 198 table.attach(alignment, 0, 1, 8, 9)214 table.attach(alignment, 0, 1, 9, 10) 199 215 200 216 self._dow = gtk.Label("35000") … … 202 218 xscale = 0.0, yscale = 0.0) 203 219 alignment.add(self._dow) 204 table.attach(alignment, 1, 2, 8, 9)205 206 table.attach(gtk.Label("kg"), 2, 3, 8, 9)220 table.attach(alignment, 1, 2, 9, 10) 221 222 table.attach(gtk.Label("kg"), 2, 3, 9, 10) 207 223 208 224 self._fsDOW = gtk.Label("33012") … … 210 226 xscale = 0.0, yscale = 0.0) 211 227 alignment.add(self._fsDOW) 212 table.attach(alignment, 3, 4, 8, 9)213 214 table.attach(gtk.Label("kg"), 4, 5, 8, 9)215 216 table.attach(gtk.HSeparator(), 1, 2, 9, 10)217 218 table.attach(gtk.HSeparator(), 3, 4, 9, 10)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) 219 235 220 236 label = gtk.Label("<b>" + xstr("weighthelp_zfw") + "</b>") … … 223 239 xscale = 0.0, yscale = 0.0) 224 240 alignment.add(label) 225 table.attach(alignment, 0, 1, 1 0, 11)241 table.attach(alignment, 0, 1, 11, 12) 226 242 227 243 self._zfw = gtk.Label("<b>122000</b>") … … 230 246 xscale = 0.0, yscale = 0.0) 231 247 alignment.add(self._zfw) 232 table.attach(alignment, 1, 2, 1 0, 11)233 234 table.attach(gtk.Label("kg"), 2, 3, 1 0, 11)248 table.attach(alignment, 1, 2, 11, 12) 249 250 table.attach(gtk.Label("kg"), 2, 3, 11, 12) 235 251 236 252 self._fsZFW = gtk.Label("<b>124000</b>") … … 239 255 xscale = 0.0, yscale = 0.0) 240 256 alignment.add(self._fsZFW) 241 table.attach(alignment, 3, 4, 1 0, 11)242 243 table.attach(gtk.Label("kg"), 4, 5, 1 0, 11)244 245 table.attach(gtk.HSeparator(), 0, 5, 1 1, 12)257 table.attach(alignment, 3, 4, 11, 12) 258 259 table.attach(gtk.Label("kg"), 4, 5, 11, 12) 260 261 table.attach(gtk.HSeparator(), 0, 5, 12, 13) 246 262 247 263 label = gtk.Label(xstr("weighthelp_gross")) … … 250 266 xscale = 0.0, yscale = 0.0) 251 267 alignment.add(label) 252 table.attach(alignment, 0, 1, 1 2, 13)268 table.attach(alignment, 0, 1, 13, 14) 253 269 254 270 self._fsGross = gtk.Label("124000") … … 256 272 xscale = 0.0, yscale = 0.0) 257 273 alignment.add(self._fsGross) 258 table.attach(alignment, 3, 4, 1 2, 13)259 260 table.attach(gtk.Label("kg"), 4, 5, 1 2, 13)274 table.attach(alignment, 3, 4, 13, 14) 275 276 table.attach(gtk.Label("kg"), 4, 5, 13, 14) 261 277 262 278 label = gtk.Label(xstr("weighthelp_mzfw")) … … 265 281 xscale = 0.0, yscale = 0.0) 266 282 alignment.add(label) 267 table.attach(alignment, 0, 1, 1 3, 14)283 table.attach(alignment, 0, 1, 14, 15) 268 284 269 285 self._mzfw = gtk.Label("35000") … … 271 287 xscale = 0.0, yscale = 0.0) 272 288 alignment.add(self._mzfw) 273 table.attach(alignment, 1, 2, 1 3, 14)274 275 table.attach(gtk.Label("kg"), 2, 3, 1 3, 14)289 table.attach(alignment, 1, 2, 14, 15) 290 291 table.attach(gtk.Label("kg"), 2, 3, 14, 15) 276 292 277 293 label = gtk.Label(xstr("weighthelp_mtow")) … … 280 296 xscale = 0.0, yscale = 0.0) 281 297 alignment.add(label) 282 table.attach(alignment, 0, 1, 1 4, 15)298 table.attach(alignment, 0, 1, 15, 16) 283 299 284 300 self._mtow = gtk.Label("35000") … … 286 302 xscale = 0.0, yscale = 0.0) 287 303 alignment.add(self._mtow) 288 table.attach(alignment, 1, 2, 1 4, 15)289 290 table.attach(gtk.Label("kg"), 2, 3, 1 4, 15)304 table.attach(alignment, 1, 2, 15, 16) 305 306 table.attach(gtk.Label("kg"), 2, 3, 15, 16) 291 307 292 308 label = gtk.Label(xstr("weighthelp_mlw")) … … 295 311 xscale = 0.0, yscale = 0.0) 296 312 alignment.add(label) 297 table.attach(alignment, 0, 1, 1 5, 16)313 table.attach(alignment, 0, 1, 16, 17) 298 314 299 315 self._mlw = gtk.Label("35000") … … 301 317 xscale = 0.0, yscale = 0.0) 302 318 alignment.add(self._mlw) 303 table.attach(alignment, 1, 2, 1 5, 16)304 305 table.attach(gtk.Label("kg"), 2, 3, 1 5, 16)319 table.attach(alignment, 1, 2, 16, 17) 320 321 table.attach(gtk.Label("kg"), 2, 3, 16, 17) 306 322 307 323 self.show_all() … … 322 338 self._weightsTable.set_sensitive(False) 323 339 324 self._crew = -1 340 self._cockpitCrew = -1 341 self._cabinCrew = -1 325 342 self._pax = -1 326 self._humanWeight = 82.0 343 self._dowCockpit = 2 344 self._cockpitCrewMemberWeight = 85.0 345 self._dowCabin = 2 346 self._cabinCrewMemberWeight = 75.0 347 self._humanWeight = 84.0 327 348 self._bag = -1 328 349 self._cargo = -1 … … 343 364 def _setupCalculated(self): 344 365 """Setup the labels for the calculated values.""" 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,)) 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,)) 352 383 353 384 if self._pax<0: … … 423 454 It returns a tuple with these two items. If any of the items cannot be 424 455 calculated, that is -1.""" 425 if self._c rew<0 or self._pax<0 or \456 if self._cockpitCrew<0 or self._cabinCrew<0 or self._pax<0 or \ 426 457 self._bag<0 or self._cargo<0 or self._mail<0: 427 458 payload = -1 428 459 else: 429 payload = (self._crew + self._pax) * self._humanWeight + \ 430 self._bag + self._cargo + self._mail 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 431 467 432 468 if payload<0 or self._dowValue<0: … … 444 480 self._gui.logger.untimedMessage("The weight calculation help function was used by the pilot") 445 481 446 self._crew = self._gui.numCrew 482 self._cockpitCrew = self._gui.numCockpitCrew 483 self._cabinCrew = self._gui.numCabinCrew 447 484 self._pax = self._gui.numPassengers 448 485 self._bag = self._gui.bagWeight … … 451 488 452 489 aircraft = self._gui.flight.aircraft 490 self._dowCockpit = aircraft.dowCockpit 491 self._cockpitCrewMemberWeight = aircraft.cockpitCrewWeight 492 self._dowCabin = aircraft.dowCabin 493 self._cabinCrewMemberWeight = aircraft.cabinCrewWeight 453 494 self._humanWeight = aircraft.humanWeight 454 495 self._dowValue = aircraft.dow -
src/mlx/pirep.py
r856 r908 136 136 self.bookedFlight = flight.bookedFlight 137 137 138 self.numCockpitCrew = flight.numCockpitCrew 139 self.numCabinCrew = flight.numCabinCrew 138 140 self.numCrew = flight.numCrew 139 141 self.numPassengers = flight.numPassengers … … 182 184 self.bookedFlight = bookedFlight 183 185 184 self.numCrew = int(pirepData["numCrew"]) 186 self.numCockpitCrew = int(pirepData["numCockpitCrew"]) 187 self.numCabinCrew = int(pirepData["numCabinCrew"]) 188 self.numCrew = self.numCockpitCrew + self.numCabinCrew 185 189 self.numPassengers = int(pirepData["numPassengers"]) 186 190 self.bagWeight = int(pirepData["bagWeight"]) … … 381 385 attrs["arrivalICAO"] = self.bookedFlight.arrivalICAO 382 386 attrs["numPassengers"] = self.numPassengers 387 attrs["numCockpitCrew"] = self.numCockpitCrew 388 attrs["numCabinCrew"] = self.numCabinCrew 383 389 attrs["numCrew"] = self.numCrew 384 390 attrs["cargoWeight"] = self.cargoWeight -
src/mlx/rpc.py
r889 r908 208 208 "TU5" : const.AIRCRAFT_T154, 209 209 "YK4" : const.AIRCRAFT_YK40, 210 "146" : const.AIRCRAFT_B462 } 210 "146" : const.AIRCRAFT_B462, 211 "IL6" : const.AIRCRAFT_IL62 } 211 212 212 213 # FIXME: copied from web.BookedFlight … … 228 229 const.AIRCRAFT_T154 : "TU5", 229 230 const.AIRCRAFT_YK40 : "YK4", 230 const.AIRCRAFT_B462 : "146" } 231 const.AIRCRAFT_B462 : "146", 232 const.AIRCRAFT_IL62 : "IL6" } 231 233 232 234 # FIXME: copied from web.BookedFlight … … 234 236 def _decodeAircraftType(typeCode): 235 237 """Decode the aircraft type from the given typeCode.""" 236 if typeCode in BookedFlight.TYPECODE2TYPE:237 return BookedFlight.TYPECODE2TYPE[typeCode]238 if typeCode in const.icao2Type: 239 return const.icao2Type[typeCode] 238 240 else: 239 241 raise Exception("Invalid aircraft type code: '" + typeCode + "'") … … 275 277 _instructions = { 276 278 "numPassengers" : int, 277 "numCrew" : int, 279 "numCockpitCrew" : int, 280 "numCabinCrew" : int, 278 281 "bagWeight" : int, 279 282 "cargoWeight" : int, … … 307 310 print >> f, "tail_nr=%s" % (self.tailNumber,) 308 311 print >> f, "passenger=%d" % (self.numPassengers,) 309 print >> f, "crew=%d" % (self.numC rew,)312 print >> f, "crew=%d" % (self.numCockpitrew + self.numCabinCrew,) 310 313 print >> f, "bag=%d" % (self.bagWeight,) 311 314 print >> f, "cargo=%d" % (self.cargoWeight,) … … 376 379 for planeValue in value: 377 380 self._addPlane(Plane(planeValue)) 381 382 #--------------------------------------------------------------------------------------- 383 384 class AircraftTypeInfo(RPCObject): 385 """Information about an aircraft type.""" 386 # The instructions for the construction 387 _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 result 395 value.""" 396 super(AircraftTypeInfo, self).__init__(value, 397 AircraftTypeInfo._instructions) 398 self.aircraftType = const.icao2Type[value["typeCode"]] 378 399 379 400 #--------------------------------------------------------------------------------------- … … 498 519 self._sessionID = reply.value["sessionID"] 499 520 500 types = [ BookedFlight.TYPECODE2TYPE[typeCode]521 types = [const.icao2Type[typeCode] 501 522 for typeCode in reply.value["typeCodes"]] 502 523 … … 504 525 else: 505 526 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] 506 534 507 535 def getFlights(self): … … 599 627 of type codes, if any.""" 600 628 typeCodes = None if types is None else \ 601 [BookedFlight.TYPE2TYPECODE[type] for type in types]629 [const.icaoCodes[type] for type in types] 602 630 603 631 values = self._performCall(lambda sessionID: -
src/mlx/web.py
r859 r908 73 73 "TU5" : const.AIRCRAFT_T154, 74 74 "YK4" : const.AIRCRAFT_YK40, 75 "146" : const.AIRCRAFT_B462 } 75 "146" : const.AIRCRAFT_B462, 76 "IL6" : const.AIRCRAFT_IL62 } 76 77 77 78 TYPE2TYPECODE = { const.AIRCRAFT_B736 : "736", … … 92 93 const.AIRCRAFT_T154 : "TU5", 93 94 const.AIRCRAFT_YK40 : "YK4", 94 const.AIRCRAFT_B462 : "146" } 95 const.AIRCRAFT_B462 : "146", 96 const.AIRCRAFT_IL62 : "IL6" } 95 97 96 98 checkFlightTypes = [ const.AIRCRAFT_B736, const.AIRCRAFT_B737, … … 128 130 129 131 flight.numPassengers = 0 132 flight.numCockpitCrew = 2 133 flight.numCabinCrew = 2 130 134 flight.numCrew = 2 131 135 flight.bagWeight = 0 … … 246 250 arrivalTime) 247 251 252 self.numCockpitCrew = self.numCrew 253 self.numCabinCrew = 0 254 248 255 d = dir(self) 249 256 for attribute in ["callsign", "departureICAO", "arrivalICAO", 250 "aircraftType", "tailNumber", 251 "num Passengers", "numCrew",257 "aircraftType", "tailNumber", "numPassengers", 258 "numCrew", "numCockpitCrew", "numCabinCrew", 252 259 "bagWeight", "cargoWeight", "mailWeight", 253 260 "route", "departureTime", "arrivalTime"]: … … 279 286 280 287 self.aircraftType = \ 281 self._decodeAircraft Type(bookedFlightData["aircraftType"])288 self._decodeAircraftICAOType(bookedFlightData["aircraftType"]) 282 289 self.tailNumber = bookedFlightData["tailNumber"] 283 290 self.numPassengers = int(bookedFlightData["numPassengers"]) 284 self.numCrew = int(bookedFlightData["numCrew"]) 291 self.numCockpitCrew = int(bookedFlightData["numCockpitCrew"]) 292 self.numCabinCrew = int(bookedFlightData["numCabinCrew"]) 293 self.numCrew = self.numCockpitCrew + self.numCabinCrew 285 294 self.bagWeight = int(bookedFlightData["bagWeight"]) 286 295 self.cargoWeight = int(bookedFlightData["cargoWeight"]) … … 327 336 raise Exception("Invalid aircraft type code: '" + typeCode + "'") 328 337 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 329 345 def __repr__(self): 330 346 """Get a representation of the flight.""" … … 815 831 result.types = loginResult[2] 816 832 result.password = password 833 834 result.aircraftTypes = client.getTypes() 835 817 836 flights = client.getFlights() 818 837 result.flights = flights[0] 819 838 result.reportedFlights = flights[1] 820 839 result.rejectedFlights = flights[2] 840 821 841 if result.rank=="STU": 822 842 reply = client.getEntryExamStatus()
Note:
See TracChangeset
for help on using the changeset viewer.