armodel 1.4.3__py3-none-any.whl → 1.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. armodel/cli/arxml_dump_cli.py +1 -1
  2. armodel/models/ar_package.py +131 -23
  3. armodel/models/ar_ref.py +28 -5
  4. armodel/models/bsw_module_template.py +29 -14
  5. armodel/models/common_structure.py +38 -23
  6. armodel/models/fibex/__init__.py +0 -0
  7. armodel/models/fibex/can_communication.py +6 -0
  8. armodel/models/fibex/fibex_4_multiplatform.py +145 -0
  9. armodel/models/fibex/fibex_core.py +341 -0
  10. armodel/models/fibex/lin_communication.py +17 -0
  11. armodel/models/fibex/lin_topology.py +7 -0
  12. armodel/models/general_structure.py +19 -3
  13. armodel/models/implementation.py +4 -5
  14. armodel/models/internal_behavior.py +63 -0
  15. armodel/models/mode_declaration.py +8 -0
  16. armodel/models/port_prototype.py +20 -2
  17. armodel/models/rpt_scenario.py +20 -0
  18. armodel/models/sw_component.py +99 -36
  19. armodel/models/system_template/__init__.py +0 -0
  20. armodel/models/system_template/network_management.py +7 -0
  21. armodel/models/system_template/transport_protocols.py +7 -0
  22. armodel/models/timing.py +91 -0
  23. armodel/parser/abstract_arxml_parser.py +1 -1
  24. armodel/parser/arxml_parser.py +329 -72
  25. armodel/tests/test_armodel/models/test_data_prototype.py +1 -1
  26. armodel/tests/test_armodel/models/test_datatype.py +7 -7
  27. armodel/tests/test_armodel/models/test_port_interface.py +5 -5
  28. armodel/tests/test_armodel/parser/test_parse_bswmd.py +13 -5
  29. armodel/tests/test_armodel/parser/test_sw_components.py +4 -4
  30. armodel/writer/arxml_writer.py +250 -21
  31. {armodel-1.4.3.dist-info → armodel-1.5.0.dist-info}/METADATA +25 -1
  32. {armodel-1.4.3.dist-info → armodel-1.5.0.dist-info}/RECORD +36 -23
  33. {armodel-1.4.3.dist-info → armodel-1.5.0.dist-info}/LICENSE +0 -0
  34. {armodel-1.4.3.dist-info → armodel-1.5.0.dist-info}/WHEEL +0 -0
  35. {armodel-1.4.3.dist-info → armodel-1.5.0.dist-info}/entry_points.txt +0 -0
  36. {armodel-1.4.3.dist-info → armodel-1.5.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: armodel
3
- Version: 1.4.3
3
+ Version: 1.5.0
4
4
  Summary: the python arxml parser
5
5
  Home-page: http://github.com/melodypapa/py-armodel
6
6
  Author: melodypapa
@@ -302,4 +302,28 @@ Fix the attribute intervalType of **Limit** is empty issue.
302
302
  * ARFloat
303
303
  * ARNumerical
304
304
  * ARLiteral
305
+ 4. Fix Issue #22 - raise wrong Exception: Invalid ResourceConsumption of Implementation
306
+
307
+ **Version 1.5.0**
308
+
309
+ 1. Fix the old ARElement (Issue #27)
310
+ * InitEvent
311
+ * SwcTiming
312
+ * ConstantMemory
313
+ * ModeSwitchReceiverComSpec
314
+ * MODE-ACCESS-POINTS
315
+ 2. Add the timestamp to following ARElement (Issue #27)
316
+ * AUTOSAR-VARIABLE-IREF
317
+ * MODE-REQUEST-TYPE-MAP
318
+ 3. Timing Extension (Issue #27)
319
+ * TIMING-REQUIREMENTS
320
+ * EXECUTION-ORDER-CONSTRAINT
321
+ * EOC-EXECUTABLE-ENTITY-REF
322
+ 4. Communication (Issue #27)
323
+ * LIN-CLUSTER
324
+ * NM-PDU
325
+ * LIN-UNCONDITIONAL-FRAME
326
+ * CAN-FRAME
327
+ * GATEWAY
328
+ * I-SIGNAL
305
329
 
@@ -1,6 +1,6 @@
1
1
  armodel/__init__.py,sha256=GVXg600GzbcLT2-Lrepuz6mjT6_BsVNmi2eDiz85NiA,67
2
2
  armodel/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- armodel/cli/arxml_dump_cli.py,sha256=DXgvcX_lK5UK6kN8NSfTVfDSJUP-2KSbqXMffc9P9z0,10018
3
+ armodel/cli/arxml_dump_cli.py,sha256=a3yNfeWwmoDHazJfKzKJVuwPeL9oJ2PAn1vCgpVDttY,10019
4
4
  armodel/cli/arxml_format_cli.py,sha256=9Ys_3DlcVwV2vDGcE6FAwmVfyx2dKLlIdLi17Fla-Jk,2066
5
5
  armodel/cli/connector2xlsx_cli.py,sha256=bPxJ53znVpluabEbjqN58RX8a9dvlf-cF5o7ncjqTyw,2125
6
6
  armodel/cli/connector_update_cli.py,sha256=j8T2N-gxHM6CD5Vb44X24HyuhvXwNDIniUkdJ7Dsluc,2286
@@ -14,11 +14,11 @@ armodel/lib/sw_component.py,sha256=y4ViEGPi_xRKD7hw1ptkGl0_UfhnNdgNzf2YjbOhpjM,1
14
14
  armodel/models/__init__.py,sha256=mBpu5GEPCHes0QtWXiccyFIGfCr3CqqfRo1C3LeRc2E,552
15
15
  armodel/models/annotation.py,sha256=Pn5Xkl87E0Zs5bBSaSwOfalUT2OOCPJ4Z99Wh_6VIrA,517
16
16
  armodel/models/ar_object.py,sha256=_h2wLpOdPQRqTdnR__N5WaJ9oWkWdYg13sBxqsegayM,5326
17
- armodel/models/ar_package.py,sha256=-6cUA2IXqdohu_y3HV8RIIhMNNNhhAFf6BJfLZ6gZmM,19951
18
- armodel/models/ar_ref.py,sha256=bA704b_7NZM7KgNDtto2I5EvbVKGiMTc2Rfd7Ny0oJU,6866
19
- armodel/models/bsw_module_template.py,sha256=4MgwnNmvthqNUHO15tNpkKBj-dieGPnz6DMCeyxba7k,14748
17
+ armodel/models/ar_package.py,sha256=3E9dVovu3z9fQNXMC6Yug-wlp3K3pNX_mCCUQRbPQXU,25334
18
+ armodel/models/ar_ref.py,sha256=_DvNtGS0TL_y70fva0cF-dtY7jzwtqDv14xENaew1TY,7586
19
+ armodel/models/bsw_module_template.py,sha256=1SQSk3lFRElfT404_lzWPVuswuxM8vY54TH3sWDqav4,15625
20
20
  armodel/models/calibration.py,sha256=aSIVenVmlYKW5kQmaLTiy7kJcSe6yrvCfN8kO03Wk6Q,4087
21
- armodel/models/common_structure.py,sha256=upQ5BpPZhZmE_Y1S2PwlAJQE2993iNfEgYbRyDBfyBM,12997
21
+ armodel/models/common_structure.py,sha256=3rQOJ21zqAHrzMQZcR0Eo8yrONk3hPCsecyqncncaG8,13234
22
22
  armodel/models/communication.py,sha256=j1QUSM7yfUkd3p7vqckmK9Zf9H6Qf9AAVpckhnr8QRo,601
23
23
  armodel/models/data_def_properties.py,sha256=Mhmucm3k_f12IV5BqH3KlJ5SdmIrlmqnmrQPb5gqamA,470
24
24
  armodel/models/data_dictionary.py,sha256=1gbRyvWp5QD0Z-2kxNrqa1qrab5kEZTMcNdWscdmth0,2513
@@ -26,22 +26,35 @@ armodel/models/data_prototype.py,sha256=dkjIF1qIsul2SsUbHpX8r1VhDeGdg-Vgf5VUJNiw
26
26
  armodel/models/datatype.py,sha256=0YpkrfhFUDn00p0oT4NqVpvD7hYAWzUWRwqvsqEq6zE,8640
27
27
  armodel/models/ecuc_parameter_def_template.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  armodel/models/end_to_end_protection.py,sha256=Sna3HSsukFHTBj72jWXd3fRvJTEESK1wnKo_KXD5itE,2978
29
- armodel/models/general_structure.py,sha256=zzKMRsWedhncgqPaDhf3FvsYSHQa4di87eJg2Ie-hAk,6054
29
+ armodel/models/general_structure.py,sha256=m3kSJfj6BU8xmDd-k3wxnx-wJH3z3rhu3AQ7TWedtL0,6374
30
30
  armodel/models/global_constraints.py,sha256=fBCzYaZ55SDG7shneE8dNgFm_QQxPRUUPvzIWBlNKHY,1301
31
- armodel/models/implementation.py,sha256=xbF0m855qpE3qAcNoeo9DDVx92KbEwYAy1rQzCdixs4,5653
31
+ armodel/models/implementation.py,sha256=bZB1GVU-5VCsx0xATj-0XNlvMuq-pVQ2zAVN-BEy2UU,5631
32
+ armodel/models/internal_behavior.py,sha256=FS49y0iPiG77uM-JiWYPyXkE7OP27UvOMttyNe8Jf3c,2444
32
33
  armodel/models/m2_msr.py,sha256=gEaOEDsX_ZeZtcu2as5BAnBR5GjlABDY9K0bsNhG2WU,5061
34
+ armodel/models/mode_declaration.py,sha256=YuZjSv3Iu6bdchdZLCp-iNYsSBC0dcF_mJ65ScfjGSs,240
33
35
  armodel/models/multilanguage_data.py,sha256=f7WVEX_U76sZEMcDi3ariiMq6vtUNUheM4xeDFdlyxo,931
34
36
  armodel/models/per_instance_memory.py,sha256=286K8xdiKWCVmasrqycth6E5WyQyUvOg8GBUbYYF-yA,498
35
37
  armodel/models/port_interface.py,sha256=h1quoa4LRhEC7aGKIUs8bbHeGTQ5vbDkC7AwUUD6U1E,7257
36
- armodel/models/port_prototype.py,sha256=gD0T_iHWUGH56q9Gxyj96TrEgpzGPfOIIYTtiV66SVA,8909
38
+ armodel/models/port_prototype.py,sha256=NDApoDPogKCFO7pAKi6BfMMj4Q6-d3U10mPQQnS5GhM,9477
37
39
  armodel/models/record_layout.py,sha256=6ZRzRZr89EUanrYaSGjj_UhlVHewneI3NLglqjL_KzU,4554
40
+ armodel/models/rpt_scenario.py,sha256=WJ47kJE5BfQYKI8hHbL5TGg4mNX0xmjpToXCIwC-pNo,565
38
41
  armodel/models/service_mapping.py,sha256=cDmXPaWVnCJ0M9Bkdk_KZvkyCfMQS35ADuFPPACzm70,279
39
42
  armodel/models/service_needs.py,sha256=W9dsu2Z9oIPXYJab7sFht3lY7QPe0ozHMQNhrvBX1ec,2553
40
- armodel/models/sw_component.py,sha256=whoI2vxms29w5Z_NivtWlAcPgIq9877wgnSN78a2auM,30821
43
+ armodel/models/sw_component.py,sha256=fut6221yzVaWUwfhr28NgFW8LkC5JVBJ5UzekvrZfWQ,33102
44
+ armodel/models/timing.py,sha256=7XQQli9Dxd6A5-F6NFcGOnEJ-W2y0kYBE3X0bbNdf1A,3289
41
45
  armodel/models/unit.py,sha256=uTAHK2LzmQimlQKcWFFrFJJhYAcAlOcsMtvLEQ42EE8,397
46
+ armodel/models/fibex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
+ armodel/models/fibex/can_communication.py,sha256=mhBqcEHD8Sbpw_nLGQ2gf_Z_i0DYOGu-e47XmbByT3I,195
48
+ armodel/models/fibex/fibex_4_multiplatform.py,sha256=fp_F-vXgUD5hrhMByyTAOSnDzezaWlUjtt8bsgvX0F4,4172
49
+ armodel/models/fibex/fibex_core.py,sha256=YtxeMAWOo6ppV5-8UCoQEjyWMrXWdkfF4uojVAnC53w,10684
50
+ armodel/models/fibex/lin_communication.py,sha256=am8gVHuaJ1byXDTJ6z2RspahDFKkM4Qn4eou8Q-4yRo,520
51
+ armodel/models/fibex/lin_topology.py,sha256=um4viim757JIPCTaD34g7XRpIolkGLsl3XF4gJSePF0,229
52
+ armodel/models/system_template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
+ armodel/models/system_template/network_management.py,sha256=ztMxX4zDFBFEiXmR3zne23Lc_rNuaXQbCJS4eL61VZ0,218
54
+ armodel/models/system_template/transport_protocols.py,sha256=en2Pl3eThqDY5DJ7d8sT0vxLwUQsu88Mn7l2VzcHDZg,221
42
55
  armodel/parser/__init__.py,sha256=whzCLvAstuSlm6scgcCId7AUxSX8z8PV8AIKSNWMkGo,37
43
- armodel/parser/abstract_arxml_parser.py,sha256=58zaHbiHipSTIY1F0NQ7hkbaGB_eCnjEXloVJ7kX8n8,10473
44
- armodel/parser/arxml_parser.py,sha256=v1F-QShabXUDMBCwRrYUsnNMd5rqjlzlk-B7ybnhj4g,116599
56
+ armodel/parser/abstract_arxml_parser.py,sha256=V9MR_Rv2ha-1nn653mazmmkNTovgX0yZRoyXEtBzayQ,10452
57
+ armodel/parser/arxml_parser.py,sha256=VWwVBYmR4FPg9Obb8dB9-ysQetfa0aMG5WLI_DPql08,131124
45
58
  armodel/parser/connector_xlsx_parser.py,sha256=5KDaHykqL0NszftFG0V5CgmgiRi4Bsg7wJnlRg2pc2k,10087
46
59
  armodel/parser/excel_parser.py,sha256=-Ws0eDvGna9LPQC9T8bgMg3Zq84v04aSuSxZUlZx1Wo,698
47
60
  armodel/report/__init__.py,sha256=EId0Ph3qYyzkKHKplJrs00ToxHeSjQVvhLwrSoV-SBw,52
@@ -56,23 +69,23 @@ armodel/tests/test_armodel/models/test_ar_ref.py,sha256=2zayiW9gKnNJc3c8no3fPQ3B
56
69
  armodel/tests/test_armodel/models/test_bsw_module_template.py,sha256=ZmJ9_8omFtbf9_O_OHa0B1v2bP6cdhCzW4oJkuicZYY,2061
57
70
  armodel/tests/test_armodel/models/test_common_structure.py,sha256=tbzrrN6PmEAZ59GSwD29K18q0vlg8jIT8ipm7-6ImyQ,3446
58
71
  armodel/tests/test_armodel/models/test_data_dictionary.py,sha256=0TCjN3zM1aPLbL4D6fpwoI5Q-hJR8uJZNSjEhiwCegg,1070
59
- armodel/tests/test_armodel/models/test_data_prototype.py,sha256=vRpKbH49YMhISuJ9N6rEpzIFJxx_WMmS3sr6HYU4WRE,4205
60
- armodel/tests/test_armodel/models/test_datatype.py,sha256=BH34gx_O_7eDK1DnZkFuL54Z4W4JXGwbytuCbzSMMrM,11811
72
+ armodel/tests/test_armodel/models/test_data_prototype.py,sha256=-VTR2TKfq3vvbn17Qg7e5s46xwXGsjh7wH7bI1mypds,4206
73
+ armodel/tests/test_armodel/models/test_datatype.py,sha256=aX5YF6E9QPxYpsJtu31T0GSbKYyC98TUxJLDAyR2aqA,11818
61
74
  armodel/tests/test_armodel/models/test_general_structure.py,sha256=E8kiGQY_2Lj9lUhLNTHzBgu-xnGl8gO3faNueJFeHJE,2220
62
75
  armodel/tests/test_armodel/models/test_implementation.py,sha256=RBIuwvVjiSfAmqytZpT53SJd1AJzwHuH0KdAACoZ2Ik,912
63
76
  armodel/tests/test_armodel/models/test_m2_msr.py,sha256=pMWQS4O7FUMrbZcaCR0WF7lYj2m3jvq3AoR4ZbS7Ntg,2650
64
- armodel/tests/test_armodel/models/test_port_interface.py,sha256=JUeAOTOH8Sq7CLW0lDhvflC7h47anFTLgrZzHMfacX8,9099
77
+ armodel/tests/test_armodel/models/test_port_interface.py,sha256=QCu_EwfczGgMRRjdLfU54i8kpyIsU5JYGJ0WayQ4lQQ,9104
65
78
  armodel/tests/test_armodel/models/test_port_prototype.py,sha256=wV_QjAg4fb9MfeiwDWldzJiHeNpAcZq5vPZ4rWB2Pn0,494
66
79
  armodel/tests/test_armodel/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
80
  armodel/tests/test_armodel/parser/test_arxml_parser.py,sha256=4-4DKdHIZN50wiM0tzzP-nejY74aEtAWhURwYxDGrWw,747
68
- armodel/tests/test_armodel/parser/test_parse_bswmd.py,sha256=4sHoksq7O43n-ltno3V1uT0bBOZicqM9GxPzVuYF8mI,9722
69
- armodel/tests/test_armodel/parser/test_sw_components.py,sha256=srGfUKWyor_cpXTf52aucNKLG2TO4hN0tKNEuHyEBNI,4091
81
+ armodel/tests/test_armodel/parser/test_parse_bswmd.py,sha256=pXRy3WBfbOacJa8mB46SRRUcbzUcIDZASUmm5mrU4bw,10188
82
+ armodel/tests/test_armodel/parser/test_sw_components.py,sha256=-hfxJ1wVj0jIP7q8SloNwX4-6xRN5LAV020I-Y5Lybw,4100
70
83
  armodel/writer/__init__.py,sha256=eXr3qhGzFIvHNBin22x-Tk2JM6QwRgx1jwrluDKAlzQ,37
71
84
  armodel/writer/abstract_arxml_writer.py,sha256=WUE8dIvoMagb9P-2JpdbY5aRg0Ub10N9ncvD8E03AFA,5078
72
- armodel/writer/arxml_writer.py,sha256=-dcADMiXz0_KwUBrtmS4511j03YW563UMCvtUB5awKk,113310
73
- armodel-1.4.3.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
74
- armodel-1.4.3.dist-info/METADATA,sha256=_Qh58O--kb5mjun0KjgzA1bsuQK2AmD42xsrtjwIX6E,9269
75
- armodel-1.4.3.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
76
- armodel-1.4.3.dist-info/entry_points.txt,sha256=mK_qNI3DgZJmNdezwKHoDcv470z3IdJpNpaiWV8ZNjA,269
77
- armodel-1.4.3.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
78
- armodel-1.4.3.dist-info/RECORD,,
85
+ armodel/writer/arxml_writer.py,sha256=2m6pu34WN7ttzYB64wua9fbJdhW0_PFaqeQP5srfGu8,127136
86
+ armodel-1.5.0.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
87
+ armodel-1.5.0.dist-info/METADATA,sha256=JcFF6XB5F-IwByqugOHesNsRUf8DiX3LEMxwmTmAeno,9903
88
+ armodel-1.5.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
89
+ armodel-1.5.0.dist-info/entry_points.txt,sha256=mK_qNI3DgZJmNdezwKHoDcv470z3IdJpNpaiWV8ZNjA,269
90
+ armodel-1.5.0.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
91
+ armodel-1.5.0.dist-info/RECORD,,