armodel 1.9.1__py3-none-any.whl → 1.9.2__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.
- armodel/__init__.py +7 -8
- armodel/cli/connector2xlsx_cli.py +0 -2
- armodel/cli/connector_update_cli.py +0 -2
- armodel/cli/memory_section_cli.py +0 -2
- armodel/cli/swc_list_cli.py +0 -2
- armodel/cli/system_signal_cli.py +0 -2
- armodel/lib/__init__.py +0 -1
- armodel/models/M2/AUTOSARTemplates/AbstractPlatform/ApplicationDeferredDataType.py +21 -0
- armodel/models/M2/AUTOSARTemplates/AbstractPlatform/ApplicationInterface.py +79 -0
- armodel/models/M2/AUTOSARTemplates/AbstractPlatform/__init__.py +2 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/ApplicationDesign/PortInterface/Field.py +52 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/ApplicationDesign/PortInterface/__init__.py +1 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/AdaptiveModule/PlatformModuleEthernetEndpointConfiguration.py +63 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/AdaptiveModule/__init__.py +3 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/CryptoDeployment/CryptoKeySlot.py +128 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/CryptoDeployment/CryptoKeySlotContent.py +19 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/CryptoDeployment/__init__.py +4 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/__init__.py +3 -3
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/IntrusionDetectionSystem/IdsPlatformInstantiation.py +52 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/IntrusionDetectionSystem/IdsmModuleInstantiation.py +19 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/IntrusionDetectionSystem/__init__.py +4 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/__init__.py +24 -2
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/__init__.py +1 -1
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswAsynchronousServerCallReturnsEvent.py +1 -1
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswInterruptEvent.py +1 -1
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeManagerErrorEvent.py +1 -1
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/InstanceRefs/ModeInBswModuleDescriptionInstanceRef.py +61 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/InstanceRefs/__init__.py +3 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/{BswOverview.py → BswOverview/__init__.py} +62 -62
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py +8 -10
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py +1 -1
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__init__.py +15 -30
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/DataMapping.py +1 -1
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/ServiceInstances.py +15 -15
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/NetworkManagement.py +2 -2
- armodel/models/__init__.py +69 -0
- armodel/parser/arxml_parser.py +1 -1
- {armodel-1.9.1.dist-info → armodel-1.9.2.dist-info}/METADATA +1 -1
- {armodel-1.9.1.dist-info → armodel-1.9.2.dist-info}/RECORD +43 -30
- armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py +0 -315
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/ModeInBswModuleDescriptionInstanceRef.py +0 -17
- {armodel-1.9.1.dist-info → armodel-1.9.2.dist-info}/WHEEL +0 -0
- {armodel-1.9.1.dist-info → armodel-1.9.2.dist-info}/entry_points.txt +0 -0
- {armodel-1.9.1.dist-info → armodel-1.9.2.dist-info}/licenses/LICENSE +0 -0
- {armodel-1.9.1.dist-info → armodel-1.9.2.dist-info}/top_level.txt +0 -0
armodel/models/__init__.py
CHANGED
|
@@ -84,3 +84,72 @@ from armodel.models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreCommu
|
|
|
84
84
|
from armodel.models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreTopology import *
|
|
85
85
|
from armodel.models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.EcuInstance import *
|
|
86
86
|
from armodel.models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.Timing import *
|
|
87
|
+
# Additional MSR imports
|
|
88
|
+
from armodel.models.M2.MSR.CalibrationData import *
|
|
89
|
+
from armodel.models.M2.MSR.CalibrationData.CalibrationValue import *
|
|
90
|
+
from armodel.models.M2.MSR.DataDictionary.AuxillaryObjects import *
|
|
91
|
+
from armodel.models.M2.MSR.DataDictionary.Axis import *
|
|
92
|
+
from armodel.models.M2.MSR.DataDictionary.CalibrationParameter import *
|
|
93
|
+
from armodel.models.M2.MSR.DataDictionary.DataDefProperties import *
|
|
94
|
+
from armodel.models.M2.MSR.DataDictionary.RecordLayout import *
|
|
95
|
+
from armodel.models.M2.MSR.DataDictionary.ServiceProcessTask import *
|
|
96
|
+
from armodel.models.M2.MSR.DataDictionary.SystemConstant import *
|
|
97
|
+
from armodel.models.M2.MSR.Documentation.BlockElements import *
|
|
98
|
+
from armodel.models.M2.MSR.Documentation.BlockElements.Figure import *
|
|
99
|
+
from armodel.models.M2.MSR.Documentation.BlockElements.Formula import *
|
|
100
|
+
# Additional CommonStructure imports
|
|
101
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.ResourceConsumption.HardwareConfiguration import *
|
|
102
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.ResourceConsumption.SoftwareContext import *
|
|
103
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.StandardizationTemplate.AbstractBlueprintStructure.AtpBlueprint import *
|
|
104
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.ExecutionOrderConstraint import *
|
|
105
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.TimingConstraint import *
|
|
106
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.TimingExtensions import *
|
|
107
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.Timing.Traceable import *
|
|
108
|
+
# Additional DiagnosticExtract imports
|
|
109
|
+
from armodel.models.M2.AUTOSARTemplates.DiagnosticExtract import *
|
|
110
|
+
from armodel.models.M2.AUTOSARTemplates.DiagnosticExtract.DiagnosticCommonElement import *
|
|
111
|
+
# ECUCParameterDefTemplate
|
|
112
|
+
from armodel.models.M2.AUTOSARTemplates.ECUCParameterDefTemplate import *
|
|
113
|
+
# Additional EcuResourceTemplate imports
|
|
114
|
+
from armodel.models.M2.AUTOSARTemplates.EcuResourceTemplate.HwAttributeValue import *
|
|
115
|
+
from armodel.models.M2.AUTOSARTemplates.EcuResourceTemplate.HwElementConnector import *
|
|
116
|
+
# GenericStructure imports
|
|
117
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.AbstractStructure import *
|
|
118
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import *
|
|
119
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.AnyInstanceRef import *
|
|
120
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ARPackage import *
|
|
121
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ElementCollection import *
|
|
122
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.EngineeringObject import *
|
|
123
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Enumerations import *
|
|
124
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import *
|
|
125
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import *
|
|
126
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.LifeCycles import *
|
|
127
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.RolesAndRights.AtpDefinition import *
|
|
128
|
+
# Additional SWComponentTemplate imports
|
|
129
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Components.InstanceRefs import *
|
|
130
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Composition.InstanceRefs import *
|
|
131
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype import *
|
|
132
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.DataPrototypes import *
|
|
133
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.Datatypes import *
|
|
134
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.PortInterface import *
|
|
135
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.PortInterface.InstanceRefs import *
|
|
136
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.SoftwareComponentDocumentation import *
|
|
137
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.SwComponentType import *
|
|
138
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.AutosarVariableRef import *
|
|
139
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.PortAPIOptions import *
|
|
140
|
+
# Additional SystemTemplate imports
|
|
141
|
+
from armodel.models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Flexray.FlexrayTopology import *
|
|
142
|
+
# utils
|
|
143
|
+
from armodel.models.utils import *
|
|
144
|
+
from armodel.models.utils.uuid_mgr import *
|
|
145
|
+
|
|
146
|
+
# NOTE: Some classes in subdirectories with name collisions cannot be directly imported:
|
|
147
|
+
# - BswBehavior/*.py files (9 classes)
|
|
148
|
+
# - BswInterfaces/*.py files (3 classes)
|
|
149
|
+
# - BswOverview/InstanceRefs/*.py files (1 class)
|
|
150
|
+
# These are accessible via their full import paths, e.g.:
|
|
151
|
+
# from armodel.models.M2.AUTOSARTemplates.BswModuleTemplate.BswBehavior.BswAsynchronousServerCallReturnsEvent
|
|
152
|
+
|
|
153
|
+
# Define __all__ to enable re-export of wildcard imports
|
|
154
|
+
# This collects all public names (not starting with _) for re-export
|
|
155
|
+
__all__ = [name for name in globals() if not name.startswith('_')]
|
armodel/parser/arxml_parser.py
CHANGED
|
@@ -1568,7 +1568,7 @@ class ARXMLParser(AbstractARXMLParser):
|
|
|
1568
1568
|
def readAsynchronousServerCallReturnsEvent(self, element, event: AsynchronousServerCallReturnsEvent):
|
|
1569
1569
|
# self.logger.debug("Read AsynchronousServerCallReturnsEvent <%s>" % event.getShortName())
|
|
1570
1570
|
self.readRTEEvent(element, event)
|
|
1571
|
-
event.
|
|
1571
|
+
event.setEventSourceRef(self.getChildElementOptionalRefType(element, "EVENT-SOURCE-REF"))
|
|
1572
1572
|
|
|
1573
1573
|
def readModeSwitchedAckEvent(self, element, event: ModeSwitchedAckEvent):
|
|
1574
1574
|
# self.logger.debug("Read ModeSwitchedAckEvent <%s>" % event.getShortName())
|
|
@@ -1,43 +1,54 @@
|
|
|
1
|
-
armodel/__init__.py,sha256=
|
|
1
|
+
armodel/__init__.py,sha256=io0odZfQqX8NoSFUZDV-l5Ljmp_vzYXjKUlP63VPbtI,558
|
|
2
2
|
armodel/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
armodel/cli/arxml_dump_cli.py,sha256=S7cDbb7XhKX0HtYnzVl0XvUMK7ZFTiCXJJjpJsSU_O0,10692
|
|
4
4
|
armodel/cli/arxml_format_cli.py,sha256=5I95eEMkan-0k99riSnlClYlkYJvo5IdiIwomp7Q9UU,2483
|
|
5
|
-
armodel/cli/connector2xlsx_cli.py,sha256=
|
|
6
|
-
armodel/cli/connector_update_cli.py,sha256=
|
|
5
|
+
armodel/cli/connector2xlsx_cli.py,sha256=v1M8XrE3DR5WY4Ml5LfBX0iEfTdsyAB1NBRNDZZloRo,2066
|
|
6
|
+
armodel/cli/connector_update_cli.py,sha256=NgHO3lreJZ79UY3Kch-_iyCSJOa2Ci1rAO99eIeB54A,2197
|
|
7
7
|
armodel/cli/file_list_cli.py,sha256=Yvg9l25ycs6PYljQjbqxX9qwwBWd2TVd1vxhGIIRaps,2136
|
|
8
8
|
armodel/cli/format_xml_cli.py,sha256=Y5Vc7DzOSQLQFl1bf_mZTy_4B8pBld_3vP62IFETCl4,1633
|
|
9
|
-
armodel/cli/memory_section_cli.py,sha256=
|
|
10
|
-
armodel/cli/swc_list_cli.py,sha256=
|
|
11
|
-
armodel/cli/system_signal_cli.py,sha256=
|
|
9
|
+
armodel/cli/memory_section_cli.py,sha256=G9zNeAH4Qxi3m-mJqda4SLApEjhQ1ceyzA4X4RIPgCQ,2050
|
|
10
|
+
armodel/cli/swc_list_cli.py,sha256=uF3S8KZmwyvhV_sAlIrlXIucuWpfKnYWNfsiaXXLDf4,2332
|
|
11
|
+
armodel/cli/system_signal_cli.py,sha256=IAKcrIYhlvkWkYVf0zhM9IKcrQ_Q5KesZ4Ri-YNYwWI,2038
|
|
12
12
|
armodel/cli/uuid_checker_cli.py,sha256=YrfO7VTKkwLoI8edVRxwpcNG-1nd4Ud2-SmUJcpKD2Y,3128
|
|
13
13
|
armodel/data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
armodel/data_models/sw_connector.py,sha256=3Y6GVRTv9M_9nY1NUBoKjCTEb0WLahuZC_OdU9dVxAM,563
|
|
15
|
-
armodel/lib/__init__.py,sha256=
|
|
15
|
+
armodel/lib/__init__.py,sha256=PXY08pMBi0Ethsm70O7DcHejs3gANqdLQm6POEQT_9g,116
|
|
16
16
|
armodel/lib/cli_args_parser.py,sha256=ebUsD5_VGrcckGXHUYbs0KUCMOgUfHLPXG8WD6lGVxI,1178
|
|
17
17
|
armodel/lib/sw_component.py,sha256=6HvdMv9dnllVrMqd7zkh-n-7FlO_Ck21XyIa7EGHXPc,1304
|
|
18
18
|
armodel/lib/system_signal.py,sha256=t55g-LkbKNsDuHWihR-EhXjDclM5zr7dbv1E3djLF8w,1379
|
|
19
|
-
armodel/models/__init__.py,sha256=
|
|
19
|
+
armodel/models/__init__.py,sha256=F67HY_5jeARysF_7DLCSfkGgO1_5OmbOI4GQ6k3OgFQ,12298
|
|
20
20
|
armodel/models/M2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
-
armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py,sha256=EJsr1HmoKc_zQF7WVsrdZho4YvpMMB8N-nuytIhmLa4,13052
|
|
22
21
|
armodel/models/M2/AUTOSARTemplates/ECUCDescriptionTemplate.py,sha256=oHEP6OkCKl034zxQUb8dBn66rwM35AM-WGf2lg5SDMs,9519
|
|
23
22
|
armodel/models/M2/AUTOSARTemplates/ECUCParameterDefTemplate.py,sha256=RcauMIHVwMb9zb4MQuMzoW87jJDQMhXeXDeK7TgyrXA,59338
|
|
24
23
|
armodel/models/M2/AUTOSARTemplates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
-
armodel/models/M2/AUTOSARTemplates/
|
|
26
|
-
armodel/models/M2/AUTOSARTemplates/
|
|
24
|
+
armodel/models/M2/AUTOSARTemplates/AbstractPlatform/ApplicationDeferredDataType.py,sha256=rVMfRtVQuzBN_Zm0OF6YQFZ2Pprau9uRnjxdK3ij_aU,690
|
|
25
|
+
armodel/models/M2/AUTOSARTemplates/AbstractPlatform/ApplicationInterface.py,sha256=-8oZfDmhNqmhOjo1HSTPUtqDPenZtmS-2v-gwVBRJUg,2874
|
|
26
|
+
armodel/models/M2/AUTOSARTemplates/AbstractPlatform/__init__.py,sha256=M2zdi60q_DKxmUbv8hqQ_A3Et24bJ1KPF3ocA9X-FBg,79
|
|
27
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/__init__.py,sha256=YDyze1faiTrOMLXrIyKPPfEyA9EUOmrUGYWNxbN-H1c,219
|
|
28
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/ApplicationDesign/PortInterface/Field.py,sha256=1Erf4q_iv8dLFVRB2-v-WqHtxma98h7tKWAhMSGFPZk,1753
|
|
29
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/ApplicationDesign/PortInterface/__init__.py,sha256=7VhqQpj_79ggNBE2Qv4GR3SHphN7YjicHkYRsqV5n5o,21
|
|
30
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/__init__.py,sha256=LdBsSoWcOptuTQIImkA7FdKiKtqs2rvWF2ZlSEmprOw,914
|
|
31
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/AdaptiveModule/PlatformModuleEthernetEndpointConfiguration.py,sha256=b3OoIB0jjCTYGk7sBqfSIGcDbdJHcJk70gPQj98tp-o,2264
|
|
32
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/AdaptiveModule/__init__.py,sha256=BtRh1NTZpGJAucpkjmCIU4QWVh_nP9mTEJnSOoggZTM,160
|
|
33
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/CryptoDeployment/CryptoKeySlot.py,sha256=mZ2gXiJFFcl_DhY3nYfwkj0tYWHn54-8ni-nUbqgMis,5251
|
|
34
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/CryptoDeployment/CryptoKeySlotContent.py,sha256=OLxcDVWqLSd7t4Gu-exnXXhI6jK_EhWmgfe1peHLzM8,619
|
|
35
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/CryptoDeployment/__init__.py,sha256=NCCBG1gqxZjBXkByVqln0vI28UTIeS8R5yIhrG6Kn14,149
|
|
27
36
|
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/FirewallRule.py,sha256=7uaDa7OSJEQObmZypem8hamKPJRdbLoYf-lITnRnS6o,1654
|
|
28
37
|
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/FirewallRuleProps.py,sha256=KDiY6I6YGn7ts6u7ke64ivD_qGjrS4vAxF9LQyX5mUE,1957
|
|
29
38
|
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/StateDependentFirewall.py,sha256=mjn5RCxYKULr3Rh0C5T5WQkxD8RBCQkb3JmKCDi_reI,1672
|
|
30
|
-
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/__init__.py,sha256=
|
|
39
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/__init__.py,sha256=nOB33cSxnpIe1wODRwQifNE_GmXORTbBiciXEx1ZXXw,221
|
|
40
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/IntrusionDetectionSystem/IdsPlatformInstantiation.py,sha256=Gq0OERkg96KxdqAlpneAk7hzUMovzQ6lloIudArrIKY,1795
|
|
41
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/IntrusionDetectionSystem/IdsmModuleInstantiation.py,sha256=hSFfwuwrsZA4fM5Xx1v69_0NONiUsttDabL0XzRa1BE,699
|
|
42
|
+
armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/IntrusionDetectionSystem/__init__.py,sha256=4o1jPetKtVFSCoU0MzA4Lbiz2a4bQdvpnpR4TP2jokQ,191
|
|
31
43
|
armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure/__init__.py,sha256=TR3eSQmXvnpJs9q4tBPkKGBBSIgOK8MNRxCd4w3GYbo,13344
|
|
32
44
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py,sha256=uVY1rX_nmviUNyT3bG64jLxS1AgNSuI7lAZDZb5KqrI,71135
|
|
33
45
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswImplementation.py,sha256=sgsXXrYRFXq6aJzzTHIeYJkl6CEQ9H6yzW4EBnBProg,6783
|
|
34
46
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces.py,sha256=abPxzopdrf-PKihBX4sS2NQOYHnH4U9OGFI8d7RJ_2c,18704
|
|
35
|
-
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview.py,sha256=yE1IeOTswOS_y6Og5mgqT9d3jn8r8G6DUGdg4D7i_yQ,17846
|
|
36
47
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
-
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswAsynchronousServerCallReturnsEvent.py,sha256=
|
|
48
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswAsynchronousServerCallReturnsEvent.py,sha256=qT0SmlowhsjfqUWerlt9HKrVv2TKmM1ZJ9q-Hl_kpjI,877
|
|
38
49
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswExclusiveAreaPolicy.py,sha256=OM0FhosCnIL0KAWmuYjeE_uP5wDcFw0xA3BPdNHeS-k,543
|
|
39
|
-
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswInterruptEvent.py,sha256=
|
|
40
|
-
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeManagerErrorEvent.py,sha256=
|
|
50
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswInterruptEvent.py,sha256=Hnb7ChMCXuxUp7vcx6BShLr1Xcd5GaWqgPu71dqXOSk,441
|
|
51
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeManagerErrorEvent.py,sha256=ZQ2zBarb2C4LXJsp9hnAGA86PqGcSFZQkCvxMtovk68,480
|
|
41
52
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeReceiverPolicy.py,sha256=q1L6ohO0KuYyjoQkOLeQdbDPEejksqUsvqGGHF_wOqI,540
|
|
42
53
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswSchedulerNamePrefix.py,sha256=Zt4Z0K1pSCknQNjwHJIZDnHU4xYNCM_3xKlsbmM0tm8,654
|
|
43
54
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswServiceDependency.py,sha256=YyNYB8a0Psb3AawvP1npwARWD3uT56bqZ-Xt5nc1Ol4,816
|
|
@@ -46,7 +57,9 @@ armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/RoleBasedBswMod
|
|
|
46
57
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationship.py,sha256=qKsG8EWkNdIplsiIUJ2NP2BitsOcRVDbzkPGfMwM9JU,672
|
|
47
58
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationshipEnum.py,sha256=HIkxnwcmvjOu3wuHSQSZXSSF21IcOVkYgva0cus_ZYo,617
|
|
48
59
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationshipSet.py,sha256=RpUWHXH8DPSd0KGv8GtZszHKLl5_umXq3MQp35_bJQ4,629
|
|
49
|
-
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/
|
|
60
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/__init__.py,sha256=-gE17UhjGBbVO4t3Sz3H1pvNYngeX5RGj8ueGVjFnJc,17027
|
|
61
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/InstanceRefs/ModeInBswModuleDescriptionInstanceRef.py,sha256=2a6k4pEVTPCNZ5raj3kNpzDEtsYipOh9VP6MYO7OXeQ,1716
|
|
62
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/InstanceRefs/__init__.py,sha256=393ipeNasVoVsiqZg-3iM8dMSewTLkwoxfIq2z3Bkok,141
|
|
50
63
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/Filter.py,sha256=MXCAtcPdGwufWTe7cea9JCTPLwt8TJUgi8oiTUZQc_A,7337
|
|
51
64
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/FlatMap.py,sha256=veTSrKa1BxBal5In-6vJIMXXGM4AhIWJw2YdwBuxYBg,8527
|
|
52
65
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/Implementation.py,sha256=uzAA1BevlktwZsocWpIMXzhvYHssDQjYX1rpB1SxZl8,22990
|
|
@@ -153,7 +166,7 @@ armodel/models/M2/AUTOSARTemplates/GenericStructure/RolesAndRights/AtpDefinition
|
|
|
153
166
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/RolesAndRights/__init__.py,sha256=2f5cOx8lbNhzzQ5D0fS5eN5aTXPrMlCR1uEhFB9_Gs8,189
|
|
154
167
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/VariantHandling/__init__.py,sha256=L8Wef-hOUE3uAVNFw47X9RrgjHDiLWogw0tDq54QqDI,5270
|
|
155
168
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/VariantHandling/AttributeValueVariationPoints/__init__.py,sha256=0Hy2q80OZLgRCPwgDxWYopO20RgmSwDXfCdWo9OAfmg,1146
|
|
156
|
-
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py,sha256=
|
|
169
|
+
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py,sha256=1KKUEDA961rPCFwYzgR9om5iXxijG4LxNI56qkcOVL4,23370
|
|
157
170
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/EndToEndProtection.py,sha256=6Dkv2-1abt5UVmQyBF_-HzFLp1zPNV-I_Ti9c5ckSM4,6237
|
|
158
171
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/RPTScenario.py,sha256=dYUAWPwaFQSrCk2t3XQlY4r39-7cXcjAfRj3gHXSN88,918
|
|
159
172
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SoftwareComponentDocumentation.py,sha256=MDl1olrwcgnFQqQzIxVA70qtxm2dSnwkyvVbxJQ5Kp8,2192
|
|
@@ -178,17 +191,17 @@ armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Insta
|
|
|
178
191
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ModeDeclarationGroup.py,sha256=VOWHREPCmH03X8TqPtEpfCfHSGgUqQZJDrX1Aeqdjw4,2258
|
|
179
192
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PerInstanceMemory.py,sha256=cOBNVlfU1bqZxAZlr-KnnLcfilruBqOfsLf4Hu2MOyo,1588
|
|
180
193
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PortAPIOptions.py,sha256=u3WGpRd0uiHRQJIKHksx54MNuIg_69gPIEWwM--h-a4,2551
|
|
181
|
-
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py,sha256=
|
|
194
|
+
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py,sha256=9gDRDpiTqp6rvAq3HaNmteOCsfX7lfn15ayXR-cTsL8,6315
|
|
182
195
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServerCall.py,sha256=lQsvEIlRl5qsfXXQvEXxiUMLDAdb29KjHZVanI0EUwQ,1174
|
|
183
196
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServiceMapping.py,sha256=EthXq5d0TuGSpEpyh5YktLlWtI3n5oVVq9kjN6ToFkM,7190
|
|
184
197
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Trigger.py,sha256=jmhT7FQ6WhrAPq1LdJsPn7zZMCJi8enf8DuD0o6QrCs,1808
|
|
185
|
-
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__init__.py,sha256=
|
|
186
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/DataMapping.py,sha256=
|
|
198
|
+
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__init__.py,sha256=lpfLRGDB_nDym5TkSiI5zV_i2vuUato7fddaktwhlZM,23976
|
|
199
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/DataMapping.py,sha256=DzLNBrC8o7h6PK4zhcwiNSFFMpD4iwRa_Wy_CmwPRbE,11386
|
|
187
200
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/DiagnosticConnection.py,sha256=mOfiw2Tu61yzzUkICKbG8kWnf86AMI5C88D4tOLSHU0,2218
|
|
188
201
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/DoIp.py,sha256=FerjsrbWDaU_wrFcpM3A94WvgBifi6bbUVeZ3TEQBkM,2184
|
|
189
202
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/ECUResourceMapping.py,sha256=DVvk5XbjiAEcFFl9RZgwUr0I9zK9Go03WHt9--cWL_E,1725
|
|
190
203
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/InstanceRefs.py,sha256=SvwZ3ytdfrNBjNPFwULPShRXNjNJI6P_DGbC3lvr4NE,2642
|
|
191
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/NetworkManagement.py,sha256=
|
|
204
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/NetworkManagement.py,sha256=_yGVEIcKaaXTcV8OsNtXaWvO8ZZkid4fDt4wahC9_3A,28706
|
|
192
205
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/RteEventToOsTaskMapping.py,sha256=HdubH7Ka7KeJzveCBJ27jS5M-o0SLxaGEB_uljv4hpg,1497
|
|
193
206
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/SWmapping.py,sha256=wyZsIv7vSlGZD8L479aPsQ5uJRx0Qk_7XTVUTGjDU6g,2412
|
|
194
207
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/SecureCommunication.py,sha256=4JWram1a-LjvZ_UYLA047ss4_bKN3otErrvo80NLHXw,3547
|
|
@@ -203,7 +216,7 @@ armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetC
|
|
|
203
216
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetFrame.py,sha256=AzGCIyA0zIThMzZtnnwGl8C7lQmcP2fA2K1e4KePB2c,1240
|
|
204
217
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetTopology.py,sha256=mmT4EI21Pav849L32sZbt-mRhFt-DJa6OT2LbwjiLB8,26355
|
|
205
218
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/NetworkEndpoint.py,sha256=xYZdCLPkDe9Qo79Mzg_gEsI0svrSgKnlvQ4ex-5syWQ,11353
|
|
206
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/ServiceInstances.py,sha256=
|
|
219
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/ServiceInstances.py,sha256=EHmk0UNG2gNyQBLv7wOFl9folM27peQAAiMK6BcYVO4,29631
|
|
207
220
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
208
221
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/FlexrayCommunication.py,sha256=dKOJY65AyiL6XIZV8gIS2sG0Kd6yhKr8HkxERNgtoaA,3061
|
|
209
222
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/FlexrayTopology.py,sha256=A_CrLj8MbDhaESFj4y7_JKeIhaNC_MXSWnr-7ZTIdfI,21033
|
|
@@ -252,7 +265,7 @@ armodel/models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
252
265
|
armodel/models/utils/uuid_mgr.py,sha256=8HBO_83VI4Pu5a9RwuAU1yEq-Dxvv3fFWqwtKy4yDRQ,880
|
|
253
266
|
armodel/parser/__init__.py,sha256=kUUQ4RC5577xGiEyg88CBSNf4bRspuOerYG9Q1eSlFA,105
|
|
254
267
|
armodel/parser/abstract_arxml_parser.py,sha256=h3vpEPZpsgvuQagdf8W3LJ8fh3l3pU8V4H-l2yHw7i8,13851
|
|
255
|
-
armodel/parser/arxml_parser.py,sha256=
|
|
268
|
+
armodel/parser/arxml_parser.py,sha256=k0ZE0N93d7HRieofMzqv8Y8T5htrPULvzdilj_p_Eoo,390348
|
|
256
269
|
armodel/parser/connector_xlsx_parser.py,sha256=fHKG8s36Jmo0gyT2L1XRIrG9SlowCMDY8KV1CL8M6I0,10228
|
|
257
270
|
armodel/parser/excel_parser.py,sha256=Qpv73yoWlT87xOr6ILwyrVSmqtCUutbQpDy18mUqtq0,681
|
|
258
271
|
armodel/parser/file_parser.py,sha256=w1Je30sZPNboXiSWgSRB25H7Fw9XzoujvNWMBklkQK0,1481
|
|
@@ -265,9 +278,9 @@ armodel/transformer/admin_data.py,sha256=zxF6ic09PPgRfvOkuKd8VT2DMa9NhiBwaGGblFF
|
|
|
265
278
|
armodel/writer/__init__.py,sha256=I8Oy4V_oQ0hJUJ92-xMXQ0ymxTtaEPUf3ytbF6xTVmk,51
|
|
266
279
|
armodel/writer/abstract_arxml_writer.py,sha256=88Tvmf6_FK3_1PPvIxoDdrL3h8BAoWIvF4BFgjJP3Wk,6236
|
|
267
280
|
armodel/writer/arxml_writer.py,sha256=gzzP0SNmVflYsUUqY-uzr6ZDFGcyp1B306nMhLztc5g,402850
|
|
268
|
-
armodel-1.9.
|
|
269
|
-
armodel-1.9.
|
|
270
|
-
armodel-1.9.
|
|
271
|
-
armodel-1.9.
|
|
272
|
-
armodel-1.9.
|
|
273
|
-
armodel-1.9.
|
|
281
|
+
armodel-1.9.2.dist-info/licenses/LICENSE,sha256=v98yttd5y-eMkO7SAJp8Q1Qq-SxOPUzRtDVFhKOaeTw,1067
|
|
282
|
+
armodel-1.9.2.dist-info/METADATA,sha256=tyNk7NxrS7nIP_ggipiGUMgQEyj5031LhwMKsRA4uZc,23187
|
|
283
|
+
armodel-1.9.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
284
|
+
armodel-1.9.2.dist-info/entry_points.txt,sha256=HYbPCh6HpF2rXVZDAOSDIKnqIMa3YWign1OgP9gzjjo,549
|
|
285
|
+
armodel-1.9.2.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
|
|
286
|
+
armodel-1.9.2.dist-info/RECORD,,
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
from typing import List
|
|
2
|
-
|
|
3
|
-
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType
|
|
4
|
-
|
|
5
|
-
from armodel.models.utils.uuid_mgr import UUIDMgr
|
|
6
|
-
from armodel.models.M2.MSR.AsamHdo.BaseTypes import SwBaseType
|
|
7
|
-
|
|
8
|
-
from armodel.models.M2.AUTOSARTemplates.CommonStructure.InternalBehavior import InternalBehavior
|
|
9
|
-
from armodel.models.M2.AUTOSARTemplates.CommonStructure.Implementation import Implementation
|
|
10
|
-
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
|
|
11
|
-
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import ARElement, CollectableElement, Referrable
|
|
12
|
-
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ARPackage import ARPackage
|
|
13
|
-
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.Datatypes import ApplicationDataType, DataTypeMap
|
|
14
|
-
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Components import AtomicSwComponentType, CompositionSwComponentType, PortPrototype
|
|
15
|
-
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.DataPrototypes import VariableDataPrototype
|
|
16
|
-
from armodel.models.M2.AUTOSARTemplates.CommonStructure.ImplementationDataTypes import ImplementationDataType
|
|
17
|
-
from armodel.models.M2.AUTOSARTemplates.SystemTemplate import System
|
|
18
|
-
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior import RunnableEntity
|
|
19
|
-
from armodel.models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreCommunication import SystemSignal, SystemSignalGroup
|
|
20
|
-
from armodel.models.M2.AUTOSARTemplates.BswModuleTemplate.BswBehavior import BswSchedulableEntity, BswCalledEntity
|
|
21
|
-
from armodel.models.M2.AUTOSARTemplates.BswModuleTemplate.BswInterfaces import BswModuleEntry
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class FileInfoComment(ARObject):
|
|
25
|
-
def __init__(self):
|
|
26
|
-
super().__init__()
|
|
27
|
-
|
|
28
|
-
self.sdgs = [] # type: List[Sdg]
|
|
29
|
-
|
|
30
|
-
def getSdgs(self):
|
|
31
|
-
return self.sdgs
|
|
32
|
-
|
|
33
|
-
def setSdgs(self, value):
|
|
34
|
-
self.sdgs = value
|
|
35
|
-
return self
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class AbstractAUTOSAR(CollectableElement):
|
|
39
|
-
def __init__(self):
|
|
40
|
-
super().__init__()
|
|
41
|
-
|
|
42
|
-
self.release_xsd_mappings = {
|
|
43
|
-
"4.0.3": "AUTOSAR_4-0-3.xsd",
|
|
44
|
-
"4.1.0": "AUTOSAR_4-1-0.xsd",
|
|
45
|
-
"4.2.1": "AUTOSAR_4-2-1.xsd",
|
|
46
|
-
"4.3.0": "AUTOSAR_00043.xsd",
|
|
47
|
-
"4.3.1": "AUTOSAR_00045.xsd",
|
|
48
|
-
"4.4.0": "AUTOSAR_00047.xsd",
|
|
49
|
-
"R19-11": "AUTOSAR_00048.xsd",
|
|
50
|
-
"R20-11": "AUTOSAR_00049.xsd",
|
|
51
|
-
"R21-11": "AUTOSAR_00050.xsd",
|
|
52
|
-
"R22-11": "AUTOSAR_00051.xsd",
|
|
53
|
-
"R23-11": "AUTOSAR_00052.xsd",
|
|
54
|
-
"R24-11": "AUTOSAR_00053.xsd",
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
self.clear()
|
|
58
|
-
|
|
59
|
-
def getAdminData(self):
|
|
60
|
-
return self.adminData
|
|
61
|
-
|
|
62
|
-
def setAdminData(self, value):
|
|
63
|
-
if value is not None:
|
|
64
|
-
self.adminData = value
|
|
65
|
-
return self
|
|
66
|
-
|
|
67
|
-
def removeAdminData(self):
|
|
68
|
-
self.adminData = None
|
|
69
|
-
|
|
70
|
-
def getFileInfoComment(self):
|
|
71
|
-
return self.fileInfoComment
|
|
72
|
-
|
|
73
|
-
def setFileInfoComment(self, value):
|
|
74
|
-
self.fileInfoComment = value
|
|
75
|
-
return self
|
|
76
|
-
|
|
77
|
-
def getIntroduction(self):
|
|
78
|
-
return self.introduction
|
|
79
|
-
|
|
80
|
-
def setIntroduction(self, value):
|
|
81
|
-
self.introduction = value
|
|
82
|
-
return self
|
|
83
|
-
|
|
84
|
-
def reload(self):
|
|
85
|
-
pass
|
|
86
|
-
|
|
87
|
-
@property
|
|
88
|
-
def full_name(self):
|
|
89
|
-
return ""
|
|
90
|
-
|
|
91
|
-
def clear(self):
|
|
92
|
-
CollectableElement.__init__(self)
|
|
93
|
-
|
|
94
|
-
self.schema_location = None
|
|
95
|
-
self._appl_impl_type_maps = {}
|
|
96
|
-
self._impl_appl_type_maps = {}
|
|
97
|
-
|
|
98
|
-
self._behavior_impl_maps = {} # type: Dict[str, str]
|
|
99
|
-
self._impl_behavior_maps = {} # type: Dict[str, str]
|
|
100
|
-
|
|
101
|
-
self.uuid_mgr = UUIDMgr()
|
|
102
|
-
|
|
103
|
-
self.systems = {} # type: Dict[str, System]
|
|
104
|
-
self.compositionSwComponentTypes = {} # type: Dict[str, CompositionSwComponentType]
|
|
105
|
-
|
|
106
|
-
self.rootSwCompositionPrototype = None # type: RootSwCompositionPrototype
|
|
107
|
-
|
|
108
|
-
self.adminData = None # type: AdminData
|
|
109
|
-
self.arPackages = {} # type: Dict[str, ARPackage]
|
|
110
|
-
self.fileInfoComment = None # type: FileInfoComment
|
|
111
|
-
self.introduction = None # type: DocumentationBlock
|
|
112
|
-
|
|
113
|
-
def getElement(self, short_name: str) -> Referrable:
|
|
114
|
-
if (short_name in self.arPackages):
|
|
115
|
-
return self.arPackages[short_name]
|
|
116
|
-
return CollectableElement.getElement(self, short_name)
|
|
117
|
-
|
|
118
|
-
def getARPackages(self) -> List[ARPackage]:
|
|
119
|
-
return list(sorted(self.arPackages.values(), key=lambda a: a.short_name))
|
|
120
|
-
|
|
121
|
-
def createARPackage(self, short_name: str) -> ARPackage:
|
|
122
|
-
if (short_name not in self.arPackages):
|
|
123
|
-
ar_package = ARPackage(self, short_name)
|
|
124
|
-
self.arPackages[short_name] = ar_package
|
|
125
|
-
return self.arPackages[short_name]
|
|
126
|
-
|
|
127
|
-
def find(self, referred) -> Referrable:
|
|
128
|
-
if isinstance(referred, RefType):
|
|
129
|
-
referred_name = referred.getValue()
|
|
130
|
-
referred_type = referred.getDest()
|
|
131
|
-
else:
|
|
132
|
-
referred_name = referred
|
|
133
|
-
referred_type = None
|
|
134
|
-
|
|
135
|
-
short_name_list = referred_name.split("/")
|
|
136
|
-
element = AUTOSAR.getInstance()
|
|
137
|
-
for short_name in short_name_list:
|
|
138
|
-
if (short_name == ""):
|
|
139
|
-
continue
|
|
140
|
-
element = element.getElement(short_name)
|
|
141
|
-
if (element is None):
|
|
142
|
-
return element
|
|
143
|
-
|
|
144
|
-
# validate the dest
|
|
145
|
-
if referred_type is not None and referred_type != "":
|
|
146
|
-
base_type = self.getDestType(element)
|
|
147
|
-
if base_type != referred_type:
|
|
148
|
-
raise ValueError("The type does not matched of <%s> (Dest: %s, Actual: %s)" % (referred_name, referred_type, base_type))
|
|
149
|
-
|
|
150
|
-
return element
|
|
151
|
-
|
|
152
|
-
def getDestType(self, type) -> str:
|
|
153
|
-
if isinstance(type, ImplementationDataType):
|
|
154
|
-
return "IMPLEMENTATION-DATA-TYPE"
|
|
155
|
-
elif isinstance(type, ApplicationDataType):
|
|
156
|
-
return "APPLICATION-DATA-TYPE"
|
|
157
|
-
elif isinstance(type, AtomicSwComponentType):
|
|
158
|
-
return "ATOMIC-SW-COMPONENT-TYPE"
|
|
159
|
-
elif isinstance(type, CompositionSwComponentType):
|
|
160
|
-
return "COMPOSITION-SW-COMPONENT-TYPE"
|
|
161
|
-
elif isinstance(type, SystemSignal):
|
|
162
|
-
return "SYSTEM-SIGNAL"
|
|
163
|
-
elif isinstance(type, SystemSignalGroup):
|
|
164
|
-
return "SYSTEM-SIGNAL-GROUP"
|
|
165
|
-
elif isinstance(type, RunnableEntity):
|
|
166
|
-
return "RUNNABLE-ENTITY"
|
|
167
|
-
elif isinstance(type, BswSchedulableEntity):
|
|
168
|
-
return "BSW-SCHEDULABLE-ENTITY"
|
|
169
|
-
elif isinstance(type, BswModuleEntry):
|
|
170
|
-
return "BSW-MODULE-ENTRY"
|
|
171
|
-
elif isinstance(type, BswCalledEntity):
|
|
172
|
-
return "BSW-CALLED-ENTITY"
|
|
173
|
-
|
|
174
|
-
raise NotImplementedError("The type <%s> is not implemented for getDestType method" % type.__class__.__name__)
|
|
175
|
-
|
|
176
|
-
def findAtomicSwComponentType(self, referred) -> AtomicSwComponentType:
|
|
177
|
-
return self.find(referred)
|
|
178
|
-
|
|
179
|
-
def findSystemSignal(self, referred) -> SystemSignal:
|
|
180
|
-
return self.find(referred)
|
|
181
|
-
|
|
182
|
-
def findSystemSignalGroup(self, referred) -> SystemSignalGroup:
|
|
183
|
-
return self.find(referred)
|
|
184
|
-
|
|
185
|
-
def findPort(self, referred: str) -> PortPrototype:
|
|
186
|
-
return self.find(referred)
|
|
187
|
-
|
|
188
|
-
def findVariableDataPrototype(self, referred) -> VariableDataPrototype:
|
|
189
|
-
return self.find(referred)
|
|
190
|
-
|
|
191
|
-
def findImplementationDataType(self, referred) -> ImplementationDataType:
|
|
192
|
-
return self.find(referred)
|
|
193
|
-
|
|
194
|
-
def getDataType(self, data_type: ImplementationDataType) -> ImplementationDataType:
|
|
195
|
-
if (isinstance(data_type, ImplementationDataType) or isinstance(data_type, SwBaseType)):
|
|
196
|
-
if (data_type.category == ImplementationDataType.CATEGORY_TYPE_REFERENCE):
|
|
197
|
-
referred_type = self.find(data_type.swDataDefProps.implementationDataTypeRef.value)
|
|
198
|
-
return self.getDataType(referred_type)
|
|
199
|
-
if (data_type.category == ImplementationDataType.CATEGORY_DATA_REFERENCE):
|
|
200
|
-
if (data_type.swDataDefProps.swPointerTargetProps.getTargetCategory() == "VALUE"):
|
|
201
|
-
referred_type = self.find(data_type.swDataDefProps.swPointerTargetProps.getSwDataDefProps().getBaseTypeRef())
|
|
202
|
-
return self.getDataType(referred_type)
|
|
203
|
-
return data_type
|
|
204
|
-
else:
|
|
205
|
-
raise ValueError("%s is not ImplementationDataType." % data_type)
|
|
206
|
-
|
|
207
|
-
def addDataTypeMap(self, data_type_map: DataTypeMap):
|
|
208
|
-
if (data_type_map.applicationDataTypeRef is None) or (data_type_map.implementationDataTypeRef is None):
|
|
209
|
-
return
|
|
210
|
-
self._appl_impl_type_maps[data_type_map.applicationDataTypeRef.value] = data_type_map.implementationDataTypeRef.value
|
|
211
|
-
self._impl_appl_type_maps[data_type_map.implementationDataTypeRef.value] = data_type_map.applicationDataTypeRef.value
|
|
212
|
-
|
|
213
|
-
def convertToImplementationDataType(self, appl_data_type: str) -> ImplementationDataType:
|
|
214
|
-
if (appl_data_type not in self._appl_impl_type_maps.keys()):
|
|
215
|
-
raise IndexError("Invalid application data type <%s>" % appl_data_type)
|
|
216
|
-
|
|
217
|
-
return self.find(self._appl_impl_type_maps[appl_data_type])
|
|
218
|
-
|
|
219
|
-
def convertToApplicationDataType(self, impl_data_type: str) -> ApplicationDataType:
|
|
220
|
-
if (impl_data_type not in self._impl_appl_type_maps.keys()):
|
|
221
|
-
raise IndexError("Invalid Implementation data type <%s>" % impl_data_type)
|
|
222
|
-
|
|
223
|
-
return self.find(self._impl_appl_type_maps[impl_data_type])
|
|
224
|
-
|
|
225
|
-
def getRootSwCompositionPrototype(self):
|
|
226
|
-
return self.rootSwCompositionPrototype
|
|
227
|
-
|
|
228
|
-
def setRootSwCompositionPrototype(self, value: ARElement):
|
|
229
|
-
if value is not None:
|
|
230
|
-
if self.rootSwCompositionPrototype is not None:
|
|
231
|
-
if value.getShortName() != self.rootSwCompositionPrototype.getShortName():
|
|
232
|
-
raise ValueError("RootSwCompositionPrototype already set to <%s>, cannot set to <%s>."
|
|
233
|
-
% (self.rootSwCompositionPrototype.getShortName(), value.getShortName()))
|
|
234
|
-
else:
|
|
235
|
-
self.rootSwCompositionPrototype = value
|
|
236
|
-
return self
|
|
237
|
-
|
|
238
|
-
def addImplementationBehaviorMap(self, impl: str, behavior: str) -> Implementation:
|
|
239
|
-
self._behavior_impl_maps[behavior] = impl
|
|
240
|
-
self._impl_behavior_maps[impl] = behavior
|
|
241
|
-
|
|
242
|
-
def getBehavior(self, impl_ref: str) -> InternalBehavior:
|
|
243
|
-
if impl_ref in self._impl_behavior_maps:
|
|
244
|
-
return self.find(self._impl_behavior_maps[impl_ref])
|
|
245
|
-
return None
|
|
246
|
-
|
|
247
|
-
def getImplementation(self, behavior_ref: str):
|
|
248
|
-
if behavior_ref in self._behavior_impl_maps:
|
|
249
|
-
return self.find(self._behavior_impl_maps[behavior_ref])
|
|
250
|
-
return None
|
|
251
|
-
|
|
252
|
-
def addSystem(self, system: System):
|
|
253
|
-
short_name = system.getShortName()
|
|
254
|
-
if short_name not in self.systems:
|
|
255
|
-
self.systems[short_name] = system
|
|
256
|
-
|
|
257
|
-
def getSystems(self) -> List[System]:
|
|
258
|
-
return list(sorted(self.systems.values(), key=lambda a: a.getShortName()))
|
|
259
|
-
|
|
260
|
-
def getCompositionSwComponentTypes(self):
|
|
261
|
-
return self.compositionSwComponentTypes
|
|
262
|
-
|
|
263
|
-
def getCompositionSwComponentType(self, short_name: str):
|
|
264
|
-
return self.compositionSwComponentTypes[short_name]
|
|
265
|
-
|
|
266
|
-
def addCompositionSwComponentType(self, sw_component_type: CompositionSwComponentType):
|
|
267
|
-
if sw_component_type is not None:
|
|
268
|
-
short_name = sw_component_type.getShortName()
|
|
269
|
-
if short_name not in self.compositionSwComponentTypes:
|
|
270
|
-
self.compositionSwComponentTypes[short_name] = sw_component_type
|
|
271
|
-
return self
|
|
272
|
-
|
|
273
|
-
def getARObjectByUUID(self, uuid: str) -> List[ARObject]:
|
|
274
|
-
return self.uuid_mgr.getObjects(uuid)
|
|
275
|
-
|
|
276
|
-
def addARObject(self, value: ARObject):
|
|
277
|
-
if value is not None:
|
|
278
|
-
self.uuid_mgr.addObject(value)
|
|
279
|
-
return self
|
|
280
|
-
|
|
281
|
-
def getDuplicateUUIDs(self) -> List[str]:
|
|
282
|
-
return self.uuid_mgr.getDuplicateUUIDs()
|
|
283
|
-
|
|
284
|
-
def setARRelease(self, release: str):
|
|
285
|
-
if release not in self.release_xsd_mappings:
|
|
286
|
-
raise ValueError("invalid AUTOSAR Release <%s>" % release)
|
|
287
|
-
self.schema_location = "http://autosar.org/schema/r4.0 %s" % self.release_xsd_mappings[release]
|
|
288
|
-
return self
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
class AUTOSAR (AbstractAUTOSAR):
|
|
292
|
-
__instance = None
|
|
293
|
-
|
|
294
|
-
@staticmethod
|
|
295
|
-
def getInstance():
|
|
296
|
-
if (AUTOSAR.__instance is None):
|
|
297
|
-
AUTOSAR()
|
|
298
|
-
return AUTOSAR.__instance
|
|
299
|
-
|
|
300
|
-
def new(self):
|
|
301
|
-
self.clear()
|
|
302
|
-
|
|
303
|
-
def __init__(self):
|
|
304
|
-
if (AUTOSAR.__instance is not None):
|
|
305
|
-
raise Exception("The AUTOSAR is singleton!")
|
|
306
|
-
|
|
307
|
-
AUTOSAR.__instance = self
|
|
308
|
-
|
|
309
|
-
super().__init__()
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
class AUTOSARDoc(AbstractAUTOSAR):
|
|
313
|
-
def __init__(self):
|
|
314
|
-
super().__init__()
|
|
315
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
This module defines mode in BSW module description instance reference in AUTOSAR.
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ModeInBswModuleDescriptionInstanceRef(RefType):
|
|
9
|
-
"""
|
|
10
|
-
Represents a reference to a mode in BSW module description.
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
def __init__(self):
|
|
14
|
-
"""
|
|
15
|
-
Initializes the ModeInBswModuleDescriptionInstanceRef.
|
|
16
|
-
"""
|
|
17
|
-
super().__init__()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|