armodel 1.6.0__py3-none-any.whl → 1.6.1__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/data_models/sw_connector.py +3 -3
- armodel/models/__init__.py +4 -2
- armodel/models/ar_object.py +1 -1
- armodel/models/ar_package.py +185 -151
- armodel/models/ar_ref.py +0 -202
- armodel/models/common_structure.py +3 -71
- armodel/models/communication.py +1 -1
- armodel/models/datatype.py +5 -69
- armodel/models/end_to_end_protection.py +1 -1
- armodel/models/general_structure.py +10 -4
- armodel/models/internal_behavior.py +1 -1
- armodel/models/m2/autosar_templates/common_structure/implementation.py +21 -0
- armodel/models/m2/autosar_templates/common_structure/implementation_data_types.py +148 -0
- armodel/models/m2/autosar_templates/ecuc_description_template.py +2 -1
- armodel/models/m2/autosar_templates/generic_structure/__init__.py +0 -0
- armodel/models/m2/autosar_templates/generic_structure/abstract_structure.py +69 -0
- armodel/models/m2/autosar_templates/sw_component_template/communication.py +44 -0
- armodel/models/m2/autosar_templates/sw_component_template/components/__init__.py +246 -0
- armodel/models/m2/autosar_templates/sw_component_template/components/instance_refs.py +33 -1
- armodel/models/m2/autosar_templates/sw_component_template/composition/__init__.py +154 -0
- armodel/models/m2/autosar_templates/sw_component_template/composition/instance_refs.py +157 -0
- armodel/models/m2/autosar_templates/sw_component_template/data_type/__init__.py +0 -0
- armodel/models/m2/autosar_templates/sw_component_template/data_type/data_prototypes.py +104 -0
- armodel/models/m2/autosar_templates/sw_component_template/port_interface/__init__.py +243 -0
- armodel/models/m2/autosar_templates/sw_component_template/port_interface/instance_refs.py +39 -0
- armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/data_elements.py +3 -11
- armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/instance_refs_usage.py +169 -0
- armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/mode_declaration_group.py +1 -2
- armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/server_call.py +5 -4
- armodel/models/m2/autosar_templates/system_template/instance_refs.py +48 -0
- armodel/models/m2_msr.py +1 -0
- armodel/models/port_prototype.py +1 -90
- armodel/models/service_needs.py +3 -1
- armodel/models/sw_component.py +6 -143
- armodel/parser/__init__.py +2 -1
- armodel/parser/arxml_parser.py +124 -58
- armodel/parser/file_parser.py +43 -0
- armodel/tests/test_armodel/models/test_ar_package.py +5 -2
- armodel/tests/test_armodel/models/test_ar_ref.py +15 -13
- armodel/tests/test_armodel/models/test_common_structure.py +6 -5
- armodel/tests/test_armodel/models/test_data_prototype.py +1 -1
- armodel/tests/test_armodel/models/test_datatype.py +8 -8
- armodel/tests/test_armodel/models/test_port_interface.py +1 -1
- armodel/tests/test_armodel/parser/test_sw_components.py +1 -1
- armodel/writer/abstract_arxml_writer.py +5 -1
- armodel/writer/arxml_writer.py +68 -58
- {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/METADATA +5 -1
- {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/RECORD +52 -39
- {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/LICENSE +0 -0
- {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/WHEEL +0 -0
- {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/entry_points.txt +0 -0
- {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/top_level.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from .... import
|
|
4
|
-
from ....models import
|
|
5
|
-
from ....models.common_structure import
|
|
6
|
-
from ....models.
|
|
7
|
-
from ....models.datatype import
|
|
3
|
+
from ....models.m2.autosar_templates.common_structure.implementation_data_types import AbstractImplementationDataType, ImplementationDataType, ImplementationDataTypeElement
|
|
4
|
+
from ....models.m2.autosar_templates.sw_component_template.components import SymbolProps
|
|
5
|
+
from ....models.m2.autosar_templates.common_structure.implementation import ImplementationProps
|
|
6
|
+
from ....models.m2.autosar_templates.sw_component_template.data_type.data_prototypes import ApplicationRecordElement
|
|
7
|
+
from ....models.datatype import ApplicationArrayDataType, ApplicationCompositeDataType, ApplicationDataType, ApplicationPrimitiveDataType, ApplicationRecordDataType, AtpType, AutosarDataType, BaseType, DataTypeMap, DataTypeMappingSet
|
|
8
8
|
from ....models.datatype import BaseTypeDirectDefinition, SwBaseType
|
|
9
9
|
from ....models.general_structure import ARElement, ARObject, CollectableElement, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
|
|
10
|
-
|
|
10
|
+
from .... import AUTOSAR
|
|
11
11
|
class Test_M2_AUTOSARTemplates_CommonStructure_Implementation:
|
|
12
12
|
def test_ImplementationProps(self):
|
|
13
13
|
with pytest.raises(NotImplementedError) as err:
|
|
@@ -28,7 +28,7 @@ class Test_M2_AUTOSARTemplates_CommonStructure_Implementation:
|
|
|
28
28
|
|
|
29
29
|
assert(prototype._parent == ar_root)
|
|
30
30
|
assert(prototype.short_name == "SymbolProps")
|
|
31
|
-
assert(prototype.symbol ==
|
|
31
|
+
assert(prototype.symbol == None)
|
|
32
32
|
|
|
33
33
|
class Test_M2_MSR_AsamHdo_BaseTypes:
|
|
34
34
|
def test_BaseType(self):
|
|
@@ -227,7 +227,7 @@ class Test_M2_AUTOSARTemplates_CommonStructure_ImplementationDataTypes:
|
|
|
227
227
|
assert(data_type._parent == ar_root)
|
|
228
228
|
assert(data_type.short_name == "ImplementationDataType")
|
|
229
229
|
assert(data_type.sub_elements == [])
|
|
230
|
-
assert(data_type.
|
|
230
|
+
assert(data_type.symbolProps == None)
|
|
231
231
|
assert(data_type._type_emitter == None)
|
|
232
232
|
|
|
233
233
|
element = data_type.createImplementationDataTypeElement("ImplementationDataTypeElement")
|
|
@@ -2,7 +2,7 @@ import pytest
|
|
|
2
2
|
|
|
3
3
|
from ....models.ar_package import AUTOSAR
|
|
4
4
|
from ....models.ar_ref import RefType
|
|
5
|
-
from ....models.
|
|
5
|
+
from ....models.m2.autosar_templates.sw_component_template.data_type.data_prototypes import AtpPrototype, AutosarDataPrototype, DataPrototype, VariableDataPrototype
|
|
6
6
|
from ....models.datatype import AtpType
|
|
7
7
|
from ....models.general_structure import ARElement, ARObject, AtpFeature, CollectableElement, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
|
|
8
8
|
from ....models.m2.autosar_templates.sw_component_template.port_interface import ApplicationError, ArgumentDataPrototype, ClientServerInterface, ClientServerOperation, DataInterface, NvDataInterface, ParameterInterface, PortInterface, SenderReceiverInterface
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import filecmp
|
|
2
|
-
from ....models.
|
|
2
|
+
from ....models.m2.autosar_templates.sw_component_template.composition import CompositionSwComponentType
|
|
3
3
|
from ....writer.arxml_writer import ARXMLWriter
|
|
4
4
|
from ....parser.arxml_parser import ARXMLParser
|
|
5
5
|
from ....models.ar_package import AUTOSAR
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import sys
|
|
1
2
|
from abc import ABCMeta
|
|
2
3
|
import re
|
|
3
4
|
from xml.dom import minidom
|
|
@@ -111,7 +112,10 @@ class AbstractARXMLWriter:
|
|
|
111
112
|
return xml
|
|
112
113
|
|
|
113
114
|
def saveToFile(self, filename, root: ET.Element):
|
|
114
|
-
|
|
115
|
+
if sys.version_info <= (3,9):
|
|
116
|
+
xml = ET.tostring(root, encoding = "UTF-8", short_empty_elements = False)
|
|
117
|
+
else:
|
|
118
|
+
xml = ET.tostring(root, encoding = "UTF-8", xml_declaration = True, short_empty_elements = False)
|
|
115
119
|
|
|
116
120
|
dom = minidom.parseString(xml.decode())
|
|
117
121
|
xml = dom.toprettyxml(indent = " ", encoding = "UTF-8")
|
armodel/writer/arxml_writer.py
CHANGED
|
@@ -2,6 +2,10 @@ import xml.etree.cElementTree as ET
|
|
|
2
2
|
|
|
3
3
|
from typing import List
|
|
4
4
|
|
|
5
|
+
from armodel.models.m2.autosar_templates.common_structure.implementation_data_types import ImplementationDataType
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
from ..models.m2.msr.data_dictionary.auxillary_objects import SwAddrMethod
|
|
6
10
|
from ..models.m2.msr.data_dictionary.data_def_properties import SwDataDefProps
|
|
7
11
|
from ..models.m2.msr.asam_hdo.units import PhysicalDimension
|
|
@@ -9,16 +13,24 @@ from ..models.m2.msr.documentation.block_elements import DocumentationBlock
|
|
|
9
13
|
from ..models.m2_msr import CompuConstTextContent, CompuMethod, CompuNominatorDenominator, CompuScale, CompuScaleConstantContents, CompuScaleRationalFormula, CompuScales
|
|
10
14
|
|
|
11
15
|
from ..models.m2.autosar_templates.common_structure import ApplicationValueSpecification, ArrayValueSpecification, ConstantReference, ConstantSpecification, NumericalValueSpecification, RecordValueSpecification, TextValueSpecification, ValueSpecification
|
|
12
|
-
from ..models.m2.autosar_templates.
|
|
16
|
+
from ..models.m2.autosar_templates.ecuc_description_template import EcucAbstractReferenceValue, EcucContainerValue, EcucInstanceReferenceValue, EcucModuleConfigurationValues, EcucNumericalParamValue, EcucParameterValue, EcucReferenceValue, EcucTextualParamValue, EcucValueCollection
|
|
17
|
+
from ..models.m2.autosar_templates.generic_structure.abstract_structure import AnyInstanceRef
|
|
18
|
+
from ..models.m2.autosar_templates.sw_component_template.components import PortGroup, SwComponentType, PPortPrototype, PortPrototype, RPortPrototype
|
|
19
|
+
from ..models.m2.autosar_templates.sw_component_template.components.instance_refs import InnerPortGroupInCompositionInstanceRef, PModeGroupInAtomicSwcInstanceRef, RModeGroupInAtomicSWCInstanceRef, RModeInAtomicSwcInstanceRef, RVariableInAtomicSwcInstanceRef
|
|
13
20
|
from ..models.m2.autosar_templates.sw_component_template.swc_internal_behavior import RunnableEntityArgument, SynchronousServerCallPoint
|
|
14
21
|
from ..models.m2.autosar_templates.sw_component_template.swc_internal_behavior.server_call import ServerCallPoint
|
|
15
22
|
from ..models.m2.autosar_templates.sw_component_template.swc_internal_behavior.data_elements import ParameterAccess, VariableAccess
|
|
16
|
-
from ..models.m2.autosar_templates.
|
|
23
|
+
from ..models.m2.autosar_templates.sw_component_template.composition import AssemblySwConnector, CompositionSwComponentType, DelegationSwConnector, SwComponentPrototype, SwConnector
|
|
24
|
+
from ..models.m2.autosar_templates.sw_component_template.composition.instance_refs import POperationInAtomicSwcInstanceRef, PPortInCompositionInstanceRef, ROperationInAtomicSwcInstanceRef, RPortInCompositionInstanceRef
|
|
25
|
+
from ..models.m2.autosar_templates.sw_component_template.port_interface.instance_refs import ApplicationCompositeElementInPortInterfaceInstanceRef
|
|
26
|
+
from ..models.m2.autosar_templates.sw_component_template.swc_internal_behavior.instance_refs_usage import AutosarParameterRef, AutosarVariableRef, VariableInAtomicSWCTypeInstanceRef
|
|
27
|
+
from ..models.m2.autosar_templates.system_template.instance_refs import VariableDataPrototypeInSystemInstanceRef
|
|
28
|
+
from ..models.m2.autosar_templates.sw_component_template.components.instance_refs import PModeGroupInAtomicSwcInstanceRef, RModeGroupInAtomicSWCInstanceRef
|
|
17
29
|
from ..models.m2.autosar_templates.system_template.data_mapping import SenderReceiverToSignalGroupMapping, SenderReceiverToSignalMapping
|
|
18
30
|
from ..models.m2.autosar_templates.system_template import System, SystemMapping
|
|
19
31
|
from ..models.m2.autosar_templates.system_template.network_management import CanNmCluster, CanNmClusterCoupling, CanNmNode, NmCluster, NmConfig, NmNode
|
|
20
32
|
from ..models.m2.autosar_templates.system_template.transport_protocols import CanTpConfig
|
|
21
|
-
from ..models.m2.autosar_templates.sw_component_template.communication import ClientComSpec, ModeSwitchReceiverComSpec, ModeSwitchSenderComSpec, NonqueuedReceiverComSpec, NonqueuedSenderComSpec, PPortComSpec, QueuedReceiverComSpec, QueuedSenderComSpec, RPortComSpec, ReceiverComSpec, SenderComSpec, ServerComSpec
|
|
33
|
+
from ..models.m2.autosar_templates.sw_component_template.communication import ClientComSpec, ModeSwitchReceiverComSpec, ModeSwitchSenderComSpec, NonqueuedReceiverComSpec, NonqueuedSenderComSpec, PPortComSpec, ParameterRequireComSpec, QueuedReceiverComSpec, QueuedSenderComSpec, RPortComSpec, ReceiverComSpec, SenderComSpec, ServerComSpec
|
|
22
34
|
|
|
23
35
|
from ..models.fibex.fibex_4_multiplatform import Gateway, ISignalMapping
|
|
24
36
|
from ..models.fibex.can_communication import CanFrame, CanFrameTriggering, RxIdentifierRange
|
|
@@ -33,20 +45,18 @@ from ..models.multilanguage_data import MultiLanguageOverviewParagraph, MultiLan
|
|
|
33
45
|
from ..models.record_layout import SwRecordLayout, SwRecordLayoutGroup, SwRecordLayoutV
|
|
34
46
|
from ..models.service_mapping import RoleBasedPortAssignment
|
|
35
47
|
from ..models.service_needs import NvBlockNeeds, RoleBasedDataAssignment
|
|
36
|
-
from ..models.
|
|
48
|
+
from ..models.m2.autosar_templates.sw_component_template.data_type.data_prototypes import ApplicationArrayElement, ApplicationCompositeElementDataPrototype, ApplicationRecordElement, AutosarDataPrototype, DataPrototype, ParameterDataPrototype, VariableDataPrototype
|
|
37
49
|
from ..models.bsw_module_template import BswCalledEntity, BswEvent, BswInternalBehavior, BswModeSenderPolicy, BswModuleDescription, BswModuleEntity, BswModuleEntry, BswSchedulableEntity, BswScheduleEvent, BswTimingEvent
|
|
38
50
|
from ..models.ar_package import AUTOSAR
|
|
39
|
-
from ..models.sw_component import ApplicationSwComponentType, AtomicSwComponentType, ComplexDeviceDriverSwComponentType, DataReceivedEvent, EcuAbstractionSwComponentType, InitEvent, InternalTriggerOccurredEvent, OperationInvokedEvent, PortAPIOption,
|
|
51
|
+
from ..models.sw_component import ApplicationSwComponentType, AtomicSwComponentType, ComplexDeviceDriverSwComponentType, DataReceivedEvent, EcuAbstractionSwComponentType, InitEvent, InternalTriggerOccurredEvent, OperationInvokedEvent, PortAPIOption, RTEEvent, ServiceDependency, ServiceSwComponentType, SwcModeSwitchEvent, SwcServiceDependency
|
|
40
52
|
from ..models.ar_package import ARPackage
|
|
41
|
-
from ..models.ar_ref import
|
|
53
|
+
from ..models.ar_ref import RefType
|
|
42
54
|
from ..models.calibration import SwAxisGrouped, SwAxisIndividual, SwCalprmAxis, SwCalprmAxisSet, SwValueCont, SwValues
|
|
43
55
|
from ..models.common_structure import IncludedModeDeclarationGroupSet, ModeDeclaration, ModeDeclarationGroup, ModeDeclarationGroupPrototype
|
|
44
56
|
from ..models.communication import CompositeNetworkRepresentation, TransmissionAcknowledgementRequest
|
|
45
|
-
from ..models.datatype import ApplicationArrayDataType, ApplicationCompositeDataType, ApplicationDataType, ApplicationPrimitiveDataType, ApplicationRecordDataType, AutosarDataType, BaseTypeDirectDefinition, DataTypeMappingSet,
|
|
57
|
+
from ..models.datatype import ApplicationArrayDataType, ApplicationCompositeDataType, ApplicationDataType, ApplicationPrimitiveDataType, ApplicationRecordDataType, AutosarDataType, BaseTypeDirectDefinition, DataTypeMappingSet, SwBaseType
|
|
46
58
|
from ..models.general_structure import ARElement, AdminData, Identifiable, Limit, MultilanguageReferrable, Referrable, Sdg, SwcBswMapping, SwcBswRunnableMapping
|
|
47
59
|
|
|
48
|
-
from ..models.port_prototype import PPortPrototype, PortPrototype, RPortPrototype
|
|
49
|
-
from ..models.sw_component import AssemblySwConnector, CompositionSwComponentType, DelegationSwConnector, SwComponentPrototype, SwComponentType, SwConnector
|
|
50
60
|
from ..models.annotation import Annotation
|
|
51
61
|
from ..models.end_to_end_protection import EndToEndDescription, EndToEndProtection, EndToEndProtectionSet, EndToEndProtectionVariablePrototype
|
|
52
62
|
from ..models.m2.autosar_templates.sw_component_template.port_interface import ApplicationError, ClientServerInterface, ClientServerOperation, ModeSwitchInterface, PortInterface, SenderReceiverInterface, TriggerInterface
|
|
@@ -331,7 +341,14 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
331
341
|
self.logger.debug("writeClientComSpec")
|
|
332
342
|
child_element = ET.SubElement(element, "CLIENT-COM-SPEC")
|
|
333
343
|
self.setARObjectAttributes(child_element, com_spec)
|
|
334
|
-
self.setChildElementOptionalRefType(child_element, "OPERATION-REF", com_spec.
|
|
344
|
+
self.setChildElementOptionalRefType(child_element, "OPERATION-REF", com_spec.getOperationRef())
|
|
345
|
+
|
|
346
|
+
def writeParameterRequireComSpec(self, element: ET.Element, com_spec: ParameterRequireComSpec):
|
|
347
|
+
self.logger.debug("writeParameterRequireComSpec")
|
|
348
|
+
child_element = ET.SubElement(element, "PARAMETER-REQUIRE-COM-SPEC")
|
|
349
|
+
self.setARObjectAttributes(child_element, com_spec)
|
|
350
|
+
self.setChildElementOptionalRefType(child_element, "PARAMETER-REF", com_spec.parameter_ref)
|
|
351
|
+
self.setInitValue(child_element, com_spec.init_value)
|
|
335
352
|
|
|
336
353
|
def writeModeSwitchReceiverComSpec(self, element: ET.Element, com_spec: ModeSwitchReceiverComSpec):
|
|
337
354
|
self.logger.debug("writeModeSwitchReceiverComSpec")
|
|
@@ -348,6 +365,8 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
348
365
|
self.writeClientComSpec(element, com_spec)
|
|
349
366
|
elif isinstance(com_spec, ModeSwitchReceiverComSpec):
|
|
350
367
|
self.writeModeSwitchReceiverComSpec(element, com_spec)
|
|
368
|
+
elif isinstance(com_spec, ParameterRequireComSpec):
|
|
369
|
+
self.writeParameterRequireComSpec(element, com_spec)
|
|
351
370
|
else:
|
|
352
371
|
raise ValueError("Unsupported RPortComSpec %s" % type(com_spec))
|
|
353
372
|
|
|
@@ -363,7 +382,7 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
363
382
|
for com_spec in com_specs:
|
|
364
383
|
self.writePPortComSpec(com_specs_tag, com_spec)
|
|
365
384
|
|
|
366
|
-
self.setChildElementOptionalRefType(prototype_tag, "PROVIDED-INTERFACE-TREF", prototype.
|
|
385
|
+
self.setChildElementOptionalRefType(prototype_tag, "PROVIDED-INTERFACE-TREF", prototype.getProvidedInterfaceTRef())
|
|
367
386
|
|
|
368
387
|
def writeRPortPrototype(self, ports_tag: ET.Element, prototype: RPortPrototype):
|
|
369
388
|
self.logger.debug("writeRPortPrototype %s" % prototype.short_name)
|
|
@@ -374,7 +393,7 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
374
393
|
com_specs_tag = ET.SubElement(prototype_tag, "REQUIRED-COM-SPECS")
|
|
375
394
|
for com_spec in com_specs:
|
|
376
395
|
self.writeRPortComSpec(com_specs_tag, com_spec)
|
|
377
|
-
self.setChildElementOptionalRefType(prototype_tag, "REQUIRED-INTERFACE-TREF", prototype.
|
|
396
|
+
self.setChildElementOptionalRefType(prototype_tag, "REQUIRED-INTERFACE-TREF", prototype.getRequiredInterfaceTRef())
|
|
378
397
|
|
|
379
398
|
def writePortPrototypes(self, ports_tag: ET.Element, port_prototypes: List[PortPrototype]):
|
|
380
399
|
for port_prototype in port_prototypes:
|
|
@@ -387,8 +406,8 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
387
406
|
|
|
388
407
|
def writeInnerGroupIRef(self, element: ET.Element, inner_group_iref: InnerPortGroupInCompositionInstanceRef):
|
|
389
408
|
child_element = ET.SubElement(element, "INNER-GROUP-IREF")
|
|
390
|
-
self.setChildElementOptionalRefType(child_element, "CONTEXT-REF", inner_group_iref.contextRef)
|
|
391
|
-
self.setChildElementOptionalRefType(child_element, "TARGET-REF", inner_group_iref.
|
|
409
|
+
#self.setChildElementOptionalRefType(child_element, "CONTEXT-REF", inner_group_iref.contextRef)
|
|
410
|
+
self.setChildElementOptionalRefType(child_element, "TARGET-REF", inner_group_iref.getTargetRef())
|
|
392
411
|
|
|
393
412
|
def writePortGroupInnerGroupIRefs(self, element: ET.Element, parent: PortGroup):
|
|
394
413
|
irefs = parent.getInnerGroupIRefs()
|
|
@@ -430,48 +449,53 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
430
449
|
def writeSwComponentPrototype(self, element: ET.Element, prototype: SwComponentPrototype):
|
|
431
450
|
prototype_tag = ET.SubElement(element, "SW-COMPONENT-PROTOTYPE")
|
|
432
451
|
self.setIdentifiable(prototype_tag, prototype)
|
|
433
|
-
self.setChildElementOptionalRefType(prototype_tag, "TYPE-TREF", prototype.
|
|
452
|
+
self.setChildElementOptionalRefType(prototype_tag, "TYPE-TREF", prototype.getTypeTRef())
|
|
434
453
|
|
|
435
454
|
def writeSwComponentPrototypes(self, element: ET.Element, sw_component: CompositionSwComponentType):
|
|
436
|
-
|
|
437
|
-
|
|
455
|
+
prototypes = sw_component.getSwComponentPrototypes()
|
|
456
|
+
if len(prototypes) > 0:
|
|
457
|
+
components_tag = ET.SubElement(element, "COMPONENTS")
|
|
458
|
+
for prototype in prototypes:
|
|
438
459
|
self.writeSwComponentPrototype(components_tag, prototype)
|
|
439
460
|
|
|
440
461
|
def writeAssemblySwConnector(self, element: ET.Element, sw_connector: AssemblySwConnector):
|
|
441
462
|
connector_tag = ET.SubElement(element, "ASSEMBLY-SW-CONNECTOR")
|
|
442
463
|
self.setIdentifiable(connector_tag, sw_connector)
|
|
443
464
|
|
|
444
|
-
if sw_connector.
|
|
465
|
+
if sw_connector.getProviderIRef() is not None:
|
|
445
466
|
provider_iref_tag = ET.SubElement(connector_tag, "PROVIDER-IREF")
|
|
446
|
-
|
|
447
|
-
self.
|
|
448
|
-
self.setChildElementOptionalRefType(provider_iref_tag, "
|
|
467
|
+
provider_iref = sw_connector.getProviderIRef()
|
|
468
|
+
self.setARObjectAttributes(provider_iref_tag, provider_iref)
|
|
469
|
+
self.setChildElementOptionalRefType(provider_iref_tag, "CONTEXT-COMPONENT-REF", provider_iref.getContextComponentRef())
|
|
470
|
+
self.setChildElementOptionalRefType(provider_iref_tag, "TARGET-P-PORT-REF", provider_iref.getTargetPPortRef())
|
|
449
471
|
|
|
450
|
-
if sw_connector.
|
|
472
|
+
if sw_connector.getRequesterIRef() is not None:
|
|
451
473
|
requester_iref_tag = ET.SubElement(connector_tag, "REQUESTER-IREF")
|
|
452
|
-
|
|
453
|
-
self.
|
|
454
|
-
self.setChildElementOptionalRefType(requester_iref_tag, "
|
|
474
|
+
requester_iref = sw_connector.getRequesterIRef()
|
|
475
|
+
self.setARObjectAttributes(requester_iref_tag, requester_iref)
|
|
476
|
+
self.setChildElementOptionalRefType(requester_iref_tag, "CONTEXT-COMPONENT-REF", requester_iref.getContextComponentRef())
|
|
477
|
+
self.setChildElementOptionalRefType(requester_iref_tag, "TARGET-R-PORT-REF", requester_iref.getTargetRPortRef())
|
|
455
478
|
|
|
456
479
|
def writeDelegationSwConnector(self, element: ET.Element, sw_connector: DelegationSwConnector):
|
|
457
480
|
connector_tag = ET.SubElement(element, "DELEGATION-SW-CONNECTOR")
|
|
458
481
|
self.setIdentifiable(connector_tag, sw_connector)
|
|
459
482
|
|
|
460
|
-
if sw_connector.
|
|
483
|
+
if sw_connector.getInnerPortIRref() is not None:
|
|
461
484
|
inner_port_iref_tag = ET.SubElement(connector_tag, "INNER-PORT-IREF")
|
|
462
|
-
|
|
485
|
+
inner_port_iref = sw_connector.getInnerPortIRref()
|
|
486
|
+
if isinstance(inner_port_iref, PPortInCompositionInstanceRef):
|
|
463
487
|
instance_ref_tag = ET.SubElement(inner_port_iref_tag, "P-PORT-IN-COMPOSITION-INSTANCE-REF")
|
|
464
|
-
self.setChildElementOptionalRefType(instance_ref_tag, "CONTEXT-COMPONENT-REF",
|
|
465
|
-
self.setChildElementOptionalRefType(instance_ref_tag, "TARGET-P-PORT-REF",
|
|
466
|
-
elif isinstance(
|
|
488
|
+
self.setChildElementOptionalRefType(instance_ref_tag, "CONTEXT-COMPONENT-REF", inner_port_iref.getContextComponentRef())
|
|
489
|
+
self.setChildElementOptionalRefType(instance_ref_tag, "TARGET-P-PORT-REF", inner_port_iref.getTargetPPortRef())
|
|
490
|
+
elif isinstance(inner_port_iref, RPortInCompositionInstanceRef):
|
|
467
491
|
instance_ref_tag = ET.SubElement(inner_port_iref_tag, "R-PORT-IN-COMPOSITION-INSTANCE-REF")
|
|
468
|
-
self.setChildElementOptionalRefType(instance_ref_tag, "CONTEXT-COMPONENT-REF",
|
|
469
|
-
self.setChildElementOptionalRefType(instance_ref_tag, "TARGET-R-PORT-REF",
|
|
492
|
+
self.setChildElementOptionalRefType(instance_ref_tag, "CONTEXT-COMPONENT-REF", inner_port_iref.getContextComponentRef())
|
|
493
|
+
self.setChildElementOptionalRefType(instance_ref_tag, "TARGET-R-PORT-REF", inner_port_iref.getTargetRPortRef())
|
|
470
494
|
else:
|
|
471
|
-
self._raiseError("Invalid inner port of DelegationSwConnector <%s>" % sw_connector.
|
|
495
|
+
self._raiseError("Invalid inner port of DelegationSwConnector <%s>" % sw_connector.getShortName())
|
|
472
496
|
|
|
473
|
-
if sw_connector.
|
|
474
|
-
self.setChildElementOptionalRefType(connector_tag, "OUTER-PORT-REF", sw_connector.
|
|
497
|
+
if sw_connector.getOuterPortRef() is not None:
|
|
498
|
+
self.setChildElementOptionalRefType(connector_tag, "OUTER-PORT-REF", sw_connector.getOuterPortRef())
|
|
475
499
|
#self.writeChildOptionalRefElement(requester_iref_tag, "TARGET-R-PORT-REF", sw_connector.requester_iref.target_r_port_ref)
|
|
476
500
|
|
|
477
501
|
def writeSwConnector(self, element: ET.Element, sw_connector: SwConnector):
|
|
@@ -486,8 +510,13 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
486
510
|
sw_connectors = sw_component.getSwConnectors()
|
|
487
511
|
if len(sw_connectors) > 0:
|
|
488
512
|
connectors_tag = ET.SubElement(element, "CONNECTORS")
|
|
513
|
+
# Change the implementation to compatible with AUTOSAR builder
|
|
489
514
|
for sw_connector in sw_connectors:
|
|
490
515
|
self.writeSwConnector(connectors_tag, sw_connector)
|
|
516
|
+
#for sw_connector in sw_component.getAssemblySwConnectors():
|
|
517
|
+
# self.writeSwConnector(connectors_tag, sw_connector)
|
|
518
|
+
#for sw_connector in sw_component.getDelegationSwConnectors():
|
|
519
|
+
# self.writeSwConnector(connectors_tag, sw_connector)
|
|
491
520
|
|
|
492
521
|
def writeCompositionSwComponentTypeDataTypeMappingSet(self, element: ET.Element, parent: CompositionSwComponentType):
|
|
493
522
|
data_type_mappings = parent.getDataTypeMappings()
|
|
@@ -691,6 +720,7 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
691
720
|
for compu_scale in compu_scales.getCompuScales():
|
|
692
721
|
child_element = ET.SubElement(compu_scales_tag, "COMPU-SCALE")
|
|
693
722
|
self.setARObjectAttributes(child_element, compu_scale)
|
|
723
|
+
self.setChildElementOptionalLiteral(child_element, "SHORT-LABEL", compu_scale.short_label)
|
|
694
724
|
self.setChildElementOptionalLiteral(child_element, "SYMBOL", compu_scale.symbol)
|
|
695
725
|
self.writeChildLimitElement(child_element, "LOWER-LIMIT", compu_scale.lowerLimit)
|
|
696
726
|
self.writeChildLimitElement(child_element, "UPPER-LIMIT", compu_scale.upperLimit)
|
|
@@ -1416,9 +1446,8 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
1416
1446
|
self.logger.debug("writeSenderReceiverInterface %s" % sr_interface.short_name)
|
|
1417
1447
|
child_element = ET.SubElement(element, "SENDER-RECEIVER-INTERFACE")
|
|
1418
1448
|
self.setIdentifiable(child_element, sr_interface)
|
|
1419
|
-
self.setChildElementOptionalBooleanValue(child_element, "IS-SERVICE", sr_interface.
|
|
1449
|
+
self.setChildElementOptionalBooleanValue(child_element, "IS-SERVICE", sr_interface.getIsService())
|
|
1420
1450
|
self.writeSenderReceiverInterfaceDataElements(child_element, sr_interface)
|
|
1421
|
-
self.writeSenderReceiverInterfaceInvalidationPolicies(child_element, sr_interface)
|
|
1422
1451
|
|
|
1423
1452
|
def writerBswModuleDescriptionImplementedEntry(self, element: ET.Element, desc: BswModuleDescription):
|
|
1424
1453
|
entries = desc.getImplementedEntries()
|
|
@@ -1651,7 +1680,7 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
1651
1680
|
self.setIdentifiable(child_element, type_element)
|
|
1652
1681
|
self.setChildElementOptionalLiteral(child_element, "ARRAY-SIZE", type_element.getArraySize())
|
|
1653
1682
|
self.setChildElementOptionalLiteral(child_element, "ARRAY-SIZE-SEMANTICS", type_element.getArraySizeSemantics())
|
|
1654
|
-
self.setSwDataDefProps(child_element, "SW-DATA-DEF-PROPS", type_element.
|
|
1683
|
+
self.setSwDataDefProps(child_element, "SW-DATA-DEF-PROPS", type_element.getSwDataDefProps())
|
|
1655
1684
|
|
|
1656
1685
|
def writeImplementationDataType(self, element: ET.Element, data_type: ImplementationDataType):
|
|
1657
1686
|
self.logger.debug("writeImplementationDataType %s" % data_type.short_name)
|
|
@@ -1670,6 +1699,7 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
1670
1699
|
self.setSwDataDefProps(child_element, "SW-DATA-DEF-PROPS", prototype.swDataDefProps)
|
|
1671
1700
|
self.setChildElementOptionalRefType(child_element, "TYPE-TREF", prototype.typeTRef)
|
|
1672
1701
|
self.setChildElementOptionalLiteral(child_element, "DIRECTION", prototype.direction)
|
|
1702
|
+
self.setChildElementOptionalLiteral(child_element, "SERVER-ARGUMENT-IMPL-POLICY", prototype.server_argument_impl_policy)
|
|
1673
1703
|
|
|
1674
1704
|
def writePossibleErrorRefs(self, element: ET.Element, parent: ClientServerOperation):
|
|
1675
1705
|
error_refs = parent.getPossbileErrorRefs()
|
|
@@ -2565,26 +2595,6 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2565
2595
|
self.writeGateway(element, ar_element)
|
|
2566
2596
|
elif isinstance(ar_element, ISignal):
|
|
2567
2597
|
self.writeISignal(element, ar_element)
|
|
2568
|
-
elif isinstance(ar_element, EcucValueCollection):
|
|
2569
|
-
self.writeEcucValueCollection(element, ar_element)
|
|
2570
|
-
elif isinstance(ar_element, EcucModuleConfigurationValues):
|
|
2571
|
-
self.writeEcucModuleConfigurationValues(element, ar_element)
|
|
2572
|
-
elif isinstance(ar_element, ISignalGroup):
|
|
2573
|
-
self.writeISignalGroup(element, ar_element)
|
|
2574
|
-
elif isinstance(ar_element, ISignalIPduGroup):
|
|
2575
|
-
self.writeISignalIPduGroup(element, ar_element)
|
|
2576
|
-
elif isinstance(ar_element, SystemSignal):
|
|
2577
|
-
self.writeSystemSignal(element, ar_element)
|
|
2578
|
-
elif isinstance(ar_element, ISignalIPdu):
|
|
2579
|
-
self.writeISignalIPdu(element, ar_element)
|
|
2580
|
-
elif isinstance(ar_element, EcuInstance):
|
|
2581
|
-
self.writeEcuInstance(element, ar_element)
|
|
2582
|
-
elif isinstance(ar_element, SystemSignalGroup):
|
|
2583
|
-
self.writeSystemSignalGroup(element, ar_element)
|
|
2584
|
-
elif isinstance(ar_element, System):
|
|
2585
|
-
self.writeSystem(element, ar_element)
|
|
2586
|
-
elif isinstance(ar_element, PhysicalDimension):
|
|
2587
|
-
self.writePhysicalDimension(element, ar_element)
|
|
2588
2598
|
else:
|
|
2589
2599
|
raise NotImplementedError("Unsupported Elements of ARPackage <%s>" % type(ar_element))
|
|
2590
2600
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: armodel
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.1
|
|
4
4
|
Summary: the python arxml parser
|
|
5
5
|
Home-page: http://github.com/melodypapa/py-armodel
|
|
6
6
|
Author: melodypapa
|
|
@@ -349,4 +349,8 @@ Fix the attribute intervalType of **Limit** is empty issue.
|
|
|
349
349
|
* MODE-SWITCH-POINTS
|
|
350
350
|
4. Create the CLI (armodel-system-signal) to list all the system signals
|
|
351
351
|
|
|
352
|
+
**Version 1.6.1**
|
|
353
|
+
|
|
354
|
+
1. Organize the armodel package.
|
|
355
|
+
2. Add the Get/Set method for several class.
|
|
352
356
|
|
|
@@ -8,42 +8,42 @@ armodel/cli/memory_section_cli.py,sha256=ky-EJyl74-F8DpIu6uafEFilfblOvEa4HqQyM5H
|
|
|
8
8
|
armodel/cli/swc_list_cli.py,sha256=NUyOuIYhXsbSzQl1CjWdgdP83CkeAkXS_kWY4zs-XKU,2414
|
|
9
9
|
armodel/cli/system_signal_cli.py,sha256=4u474E1yd1CGBPiALL-ZXpDatXpUrD6qyXsR-au2yp0,2101
|
|
10
10
|
armodel/data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
armodel/data_models/sw_connector.py,sha256=
|
|
11
|
+
armodel/data_models/sw_connector.py,sha256=ZU1B3AI84vpSSSpQaGR6CMc3qZGnhbK1Z-SQGvwYA9o,584
|
|
12
12
|
armodel/lib/__init__.py,sha256=5629DkORqTomt16J6VL40o5hFv86-9SRB1240OJWTts,142
|
|
13
13
|
armodel/lib/cli_args_parser.py,sha256=WiTC3wy_fZYloA1AjPqCvvOA_26V_y5toun0qfV51cw,1207
|
|
14
14
|
armodel/lib/data_analyzer.py,sha256=y4ViEGPi_xRKD7hw1ptkGl0_UfhnNdgNzf2YjbOhpjM,1159
|
|
15
15
|
armodel/lib/sw_component.py,sha256=y4ViEGPi_xRKD7hw1ptkGl0_UfhnNdgNzf2YjbOhpjM,1159
|
|
16
16
|
armodel/lib/system_signal.py,sha256=uzII_GM_-kwzvFeDOGD2HrC_gunsmhJPD1xwbVofa7c,1241
|
|
17
|
-
armodel/models/__init__.py,sha256=
|
|
17
|
+
armodel/models/__init__.py,sha256=tdwxgqP9MRC-dnKnf4zIpgv7FrdZrJ3QgkCeOOOBA6E,988
|
|
18
18
|
armodel/models/annotation.py,sha256=54XqgKgIzPGRfv3gVCIACKqYt1hUUG6eQDlB06A7xqs,1354
|
|
19
|
-
armodel/models/ar_object.py,sha256=
|
|
20
|
-
armodel/models/ar_package.py,sha256=
|
|
21
|
-
armodel/models/ar_ref.py,sha256=
|
|
19
|
+
armodel/models/ar_object.py,sha256=FqCUl0UcQaE7i8VvkmQPmsLsUGFNLPEDMn2aH3CyuNM,5783
|
|
20
|
+
armodel/models/ar_package.py,sha256=EKHzIrsy1q2w6Uso_4-5cQ2xTMMDTSUQ6Q4hp4PieYQ,32070
|
|
21
|
+
armodel/models/ar_ref.py,sha256=fTt32OxTy-edQqw_WTPnp1y6UAiPhAtxr4BV07rkSzw,488
|
|
22
22
|
armodel/models/bsw_module_template.py,sha256=5qyqhKyyzMrTzwarCWRM8nqjp55MNqBtxFstD7VMzTY,16292
|
|
23
23
|
armodel/models/calibration.py,sha256=aSIVenVmlYKW5kQmaLTiy7kJcSe6yrvCfN8kO03Wk6Q,4087
|
|
24
|
-
armodel/models/common_structure.py,sha256=
|
|
25
|
-
armodel/models/communication.py,sha256=
|
|
24
|
+
armodel/models/common_structure.py,sha256=22SCULP1BFZ5G6ik9_sWgk_VpEUzz3bLq8RJX3l1k9o,9324
|
|
25
|
+
armodel/models/communication.py,sha256=CafA0LKVpSpjMQ0UUdC3IcZf6ttBw6yCvqyqxTLWTXo,693
|
|
26
26
|
armodel/models/data_def_properties.py,sha256=Mhmucm3k_f12IV5BqH3KlJ5SdmIrlmqnmrQPb5gqamA,470
|
|
27
27
|
armodel/models/data_dictionary.py,sha256=1gbRyvWp5QD0Z-2kxNrqa1qrab5kEZTMcNdWscdmth0,2513
|
|
28
28
|
armodel/models/data_prototype.py,sha256=Sq0nizgUKzc6kG3PKVfIE4e_l4UMsDi2m34tm7TVph4,3622
|
|
29
|
-
armodel/models/datatype.py,sha256=
|
|
29
|
+
armodel/models/datatype.py,sha256=d6yxMhNWbbTtu7tWGDxntWl2nCdiZM636CPxJV328Z8,6259
|
|
30
30
|
armodel/models/ecuc_parameter_def_template.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
-
armodel/models/end_to_end_protection.py,sha256=
|
|
32
|
-
armodel/models/general_structure.py,sha256=
|
|
31
|
+
armodel/models/end_to_end_protection.py,sha256=Qvcqy5_eoSD8nFJd2mEee-wLtv7VvyGoPqUHkR2JMfM,3022
|
|
32
|
+
armodel/models/general_structure.py,sha256=NlWnbpSQ1DJwubYkkVs5oxYxJGSRFqLVqtb_yu_WJDI,8893
|
|
33
33
|
armodel/models/global_constraints.py,sha256=fBCzYaZ55SDG7shneE8dNgFm_QQxPRUUPvzIWBlNKHY,1301
|
|
34
34
|
armodel/models/implementation.py,sha256=bZB1GVU-5VCsx0xATj-0XNlvMuq-pVQ2zAVN-BEy2UU,5631
|
|
35
|
-
armodel/models/internal_behavior.py,sha256=
|
|
36
|
-
armodel/models/m2_msr.py,sha256=
|
|
35
|
+
armodel/models/internal_behavior.py,sha256=VwrA1iqsYlHK3N_tKtn85ErUKaGq2GHtys0TlVPiWds,2498
|
|
36
|
+
armodel/models/m2_msr.py,sha256=6xEq67DohruwiQFYLSVxo9kW6qPweyDWUOyy6-4pAaQ,5128
|
|
37
37
|
armodel/models/mode_declaration.py,sha256=YuZjSv3Iu6bdchdZLCp-iNYsSBC0dcF_mJ65ScfjGSs,240
|
|
38
38
|
armodel/models/multilanguage_data.py,sha256=fCJAveAXMJQp5-Ndwqz6ti2-RVtMoZuWZJ6A55eWBQQ,1288
|
|
39
39
|
armodel/models/per_instance_memory.py,sha256=KBqRZyi-FtQx25w5mlUjJbI00ZlZdPPgIeDlaIMUTgY,1188
|
|
40
40
|
armodel/models/port_interface.py,sha256=h1quoa4LRhEC7aGKIUs8bbHeGTQ5vbDkC7AwUUD6U1E,7257
|
|
41
|
-
armodel/models/port_prototype.py,sha256=
|
|
41
|
+
armodel/models/port_prototype.py,sha256=ZFjdo7Qlo9rFEO4ihyqoDfv_ttJ1IZMK7au5gxArXTc,413
|
|
42
42
|
armodel/models/record_layout.py,sha256=6ZRzRZr89EUanrYaSGjj_UhlVHewneI3NLglqjL_KzU,4554
|
|
43
43
|
armodel/models/rpt_scenario.py,sha256=WJ47kJE5BfQYKI8hHbL5TGg4mNX0xmjpToXCIwC-pNo,565
|
|
44
44
|
armodel/models/service_mapping.py,sha256=cDmXPaWVnCJ0M9Bkdk_KZvkyCfMQS35ADuFPPACzm70,279
|
|
45
|
-
armodel/models/service_needs.py,sha256=
|
|
46
|
-
armodel/models/sw_component.py,sha256=
|
|
45
|
+
armodel/models/service_needs.py,sha256=cB8X7gXsuVKREf6sMFKPW95tctSiFZwaM8j6jd6III8,2653
|
|
46
|
+
armodel/models/sw_component.py,sha256=fyWy11QXok7tb9Ng5zjJxzijhU1JqNxhWG-JOW5YY-Q,17105
|
|
47
47
|
armodel/models/timing.py,sha256=7XQQli9Dxd6A5-F6NFcGOnEJ-W2y0kYBE3X0bbNdf1A,3289
|
|
48
48
|
armodel/models/unit.py,sha256=uTAHK2LzmQimlQKcWFFrFJJhYAcAlOcsMtvLEQ42EE8,397
|
|
49
49
|
armodel/models/fibex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -59,22 +59,34 @@ armodel/models/fibex/fibex_core/core_communication.py,sha256=Wyoag9k-uLNRSagGX2B
|
|
|
59
59
|
armodel/models/fibex/fibex_core/core_topology.py,sha256=ZaRivNXDOvdXlW4Z1EIYhzh_BGk87UOHgmc8ZjYegNk,7044
|
|
60
60
|
armodel/models/m2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
61
|
armodel/models/m2/autosar_templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
|
-
armodel/models/m2/autosar_templates/ecuc_description_template.py,sha256=
|
|
62
|
+
armodel/models/m2/autosar_templates/ecuc_description_template.py,sha256=i3iKNzibMX4BeL95nUbBTLIH8LSHv7TQ3sGsUqQcbhw,9078
|
|
63
63
|
armodel/models/m2/autosar_templates/common_structure/__init__.py,sha256=OHaKJ0UGd_Ni9F11LHMpc8ILTNgxKuJ9QQnuQDSZ_lw,5804
|
|
64
64
|
armodel/models/m2/autosar_templates/common_structure/constants.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
+
armodel/models/m2/autosar_templates/common_structure/implementation.py,sha256=KbgskqCO1970U4kUGvfnhThf9eh2ruO8Uz_NsU-Sh7I,646
|
|
66
|
+
armodel/models/m2/autosar_templates/common_structure/implementation_data_types.py,sha256=czXitc6bHGvybkGm0yiSKYXj6lTzu2aecVaR7zXeJfA,5503
|
|
67
|
+
armodel/models/m2/autosar_templates/generic_structure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
+
armodel/models/m2/autosar_templates/generic_structure/abstract_structure.py,sha256=Sad_Bt9d1um5zC8T6cRyNhzIDCGDjd48dSO01cH--hg,1948
|
|
65
69
|
armodel/models/m2/autosar_templates/sw_component_template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
66
|
-
armodel/models/m2/autosar_templates/sw_component_template/communication.py,sha256=
|
|
70
|
+
armodel/models/m2/autosar_templates/sw_component_template/communication.py,sha256=_Y51VV0nquCBBVA21uzw7zcresFow6857JcvTyfEHJM,11205
|
|
67
71
|
armodel/models/m2/autosar_templates/sw_component_template/port_interface.py,sha256=XRBp3ZuBbFGFs3BWpF5VsjhuGoDgs1sEuJ7IRI6WET4,9249
|
|
68
|
-
armodel/models/m2/autosar_templates/sw_component_template/components/__init__.py,sha256=
|
|
69
|
-
armodel/models/m2/autosar_templates/sw_component_template/components/instance_refs.py,sha256=
|
|
72
|
+
armodel/models/m2/autosar_templates/sw_component_template/components/__init__.py,sha256=dx6AExOZvsVw6--aueCxNsqZ57PdHaXdPEJCjGeV0_E,9945
|
|
73
|
+
armodel/models/m2/autosar_templates/sw_component_template/components/instance_refs.py,sha256=0eLTmX08Qda7AT3mePELoo-o2IaVRTs_P6p9alJTIAo,5712
|
|
74
|
+
armodel/models/m2/autosar_templates/sw_component_template/composition/__init__.py,sha256=aOE1VA4UfLfA-3xZnDKogBAdQQ4u5SNAq4bybViUY4g,5968
|
|
75
|
+
armodel/models/m2/autosar_templates/sw_component_template/composition/instance_refs.py,sha256=_djnWMHLGYw2C5bjAgopoqwG3r2IG-d9kMZk4cbXtyY,4889
|
|
76
|
+
armodel/models/m2/autosar_templates/sw_component_template/data_type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
|
+
armodel/models/m2/autosar_templates/sw_component_template/data_type/data_prototypes.py,sha256=tGi_fL8zU1Ewe7rssiKSb_EetkPaGKMVdk0eTBAC-yg,3621
|
|
78
|
+
armodel/models/m2/autosar_templates/sw_component_template/port_interface/__init__.py,sha256=h-EB1vrZrHi0XQuuV0S6AAtXg-Pz7Gjl-2MQqFPvHiE,9955
|
|
79
|
+
armodel/models/m2/autosar_templates/sw_component_template/port_interface/instance_refs.py,sha256=P-2ST0LTTXk6Fghh2mATPE5-h2pF55YcKW_2eQUQIvA,1332
|
|
70
80
|
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/__init__.py,sha256=I4BP4XjWbOwafMXWpTUZ4iQ2Liu_HQaDKyLzQ86KqUs,9452
|
|
71
81
|
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/access_count.py,sha256=o6BLmmYiqc5U5mb7YtzS74U1FIhDDPt1XgJBiib5VkA,460
|
|
72
|
-
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/data_elements.py,sha256=
|
|
73
|
-
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/
|
|
74
|
-
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/
|
|
82
|
+
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/data_elements.py,sha256=hHuSHdS2dCpy9XpSq-2WCvj8fbOtBiU4xwHdb8mR5GU,1612
|
|
83
|
+
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/instance_refs_usage.py,sha256=Btx00UnxqF_2Cfih9KwZc39403OemMSaqVFqNtNUtSI,5598
|
|
84
|
+
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/mode_declaration_group.py,sha256=_u9bQ4tuZ5_dW29dNIVYmEkFWFwfCBycjH_4sgmaLFM,1210
|
|
85
|
+
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/server_call.py,sha256=0sFJoX_Mu_S3AZ7EFMyuVEUmo4Md5O0SSf_eJO0Y1BE,814
|
|
75
86
|
armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/trigger.py,sha256=Cwklr56BunDgNEhlge6k2cbudTM2rEt0ka82VSL3a-4,286
|
|
76
87
|
armodel/models/m2/autosar_templates/system_template/__init__.py,sha256=gHp7PG7rcf4g6B0QtQwDooP6K7IrD3ZkP4YEYkPe6l0,10443
|
|
77
88
|
armodel/models/m2/autosar_templates/system_template/data_mapping.py,sha256=wwyRA840YUcfKkeZREqlh2pqOC6unSqPnS7bI0HM9eg,2479
|
|
89
|
+
armodel/models/m2/autosar_templates/system_template/instance_refs.py,sha256=wSrg0gBCZwjBp0mC8b6YmEEnXWBFRrEj0JITzO39gPs,1603
|
|
78
90
|
armodel/models/m2/autosar_templates/system_template/network_management.py,sha256=bIllBikQdg9pDI43Dq6U3Pmn4W7grHlOUhVamnLWYYg,17061
|
|
79
91
|
armodel/models/m2/autosar_templates/system_template/transport_protocols.py,sha256=yHipIJ6z5BBSI8YRCwk0x4ub84PkhGIRxfqFznvqRk8,244
|
|
80
92
|
armodel/models/m2/msr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -88,11 +100,12 @@ armodel/models/m2/msr/documentation/block_elements.py,sha256=NjarQwu756rTDHVHCHA
|
|
|
88
100
|
armodel/models/system_template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
89
101
|
armodel/models/system_template/network_management.py,sha256=ztMxX4zDFBFEiXmR3zne23Lc_rNuaXQbCJS4eL61VZ0,218
|
|
90
102
|
armodel/models/system_template/transport_protocols.py,sha256=en2Pl3eThqDY5DJ7d8sT0vxLwUQsu88Mn7l2VzcHDZg,221
|
|
91
|
-
armodel/parser/__init__.py,sha256=
|
|
103
|
+
armodel/parser/__init__.py,sha256=wFcqh5unmDvKvf4R8vWkeertAXwWxAuOOEsbsM4mOHs,78
|
|
92
104
|
armodel/parser/abstract_arxml_parser.py,sha256=9OT6j4W3gRCgwgplQf3d87w7kiJVMYW0ZD71VQpvI_k,10823
|
|
93
|
-
armodel/parser/arxml_parser.py,sha256=
|
|
105
|
+
armodel/parser/arxml_parser.py,sha256=Ag8PJnftG0_ME4RGHhjyezZPzZZtyIxT-xjAYRQ08WM,175357
|
|
94
106
|
armodel/parser/connector_xlsx_parser.py,sha256=5KDaHykqL0NszftFG0V5CgmgiRi4Bsg7wJnlRg2pc2k,10087
|
|
95
107
|
armodel/parser/excel_parser.py,sha256=-Ws0eDvGna9LPQC9T8bgMg3Zq84v04aSuSxZUlZx1Wo,698
|
|
108
|
+
armodel/parser/file_parser.py,sha256=SEPj3YsYdsz8iBvxdeDIs63NC-NQLftoIm4yPoHheEc,1410
|
|
96
109
|
armodel/report/__init__.py,sha256=EId0Ph3qYyzkKHKplJrs00ToxHeSjQVvhLwrSoV-SBw,52
|
|
97
110
|
armodel/report/connector_xls_report.py,sha256=7GsvFWo_lfZRKCLAV-a17kC8-3KKSMAR1wGOnp9Cqlo,3876
|
|
98
111
|
armodel/report/excel_report.py,sha256=Iome8wALpOFZyZkMCG5DPSAFkfv4pU0y_BZXHVSdonc,1412
|
|
@@ -100,28 +113,28 @@ armodel/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
100
113
|
armodel/tests/test_armodel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
101
114
|
armodel/tests/test_armodel/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
102
115
|
armodel/tests/test_armodel/models/test_ar_object.py,sha256=YLuEYmxk4KqmYGef6ru20i838raHgHrwVgnZQwi5_OU,4941
|
|
103
|
-
armodel/tests/test_armodel/models/test_ar_package.py,sha256=
|
|
104
|
-
armodel/tests/test_armodel/models/test_ar_ref.py,sha256=
|
|
116
|
+
armodel/tests/test_armodel/models/test_ar_package.py,sha256=amawnatYtITWZAgIvY9WIwvT0to_iFz11Rw77VG0QnU,14808
|
|
117
|
+
armodel/tests/test_armodel/models/test_ar_ref.py,sha256=h5XVmdZeVv3aqCaefai9MKI9PwE7YNt-FKGnmZJmc58,3519
|
|
105
118
|
armodel/tests/test_armodel/models/test_bsw_module_template.py,sha256=nUMH7t6dJOXdATt8dfEnLotRUhSUQAYpUCianE0F_ao,2071
|
|
106
|
-
armodel/tests/test_armodel/models/test_common_structure.py,sha256=
|
|
119
|
+
armodel/tests/test_armodel/models/test_common_structure.py,sha256=ZPUA8txjwI16Jwxi9rH_5kcR3qQc4hLjdH7ql2iW7s8,3552
|
|
107
120
|
armodel/tests/test_armodel/models/test_data_dictionary.py,sha256=Z_nn9JK7cJOPjst0ih4qj0212LIsHiJ-YUTfJOPEOvw,1106
|
|
108
|
-
armodel/tests/test_armodel/models/test_data_prototype.py,sha256=
|
|
109
|
-
armodel/tests/test_armodel/models/test_datatype.py,sha256=
|
|
121
|
+
armodel/tests/test_armodel/models/test_data_prototype.py,sha256=ev8jFNFVFjkckkZP_dzj4oM49W-8CJJoucQB-0xActk,4259
|
|
122
|
+
armodel/tests/test_armodel/models/test_datatype.py,sha256=hcuCcqmyi5p8-pHho4KnrAKIWiA00dlf-cHhodgPUJI,12035
|
|
110
123
|
armodel/tests/test_armodel/models/test_general_structure.py,sha256=E8kiGQY_2Lj9lUhLNTHzBgu-xnGl8gO3faNueJFeHJE,2220
|
|
111
124
|
armodel/tests/test_armodel/models/test_implementation.py,sha256=RBIuwvVjiSfAmqytZpT53SJd1AJzwHuH0KdAACoZ2Ik,912
|
|
112
125
|
armodel/tests/test_armodel/models/test_m2_msr.py,sha256=pMWQS4O7FUMrbZcaCR0WF7lYj2m3jvq3AoR4ZbS7Ntg,2650
|
|
113
|
-
armodel/tests/test_armodel/models/test_port_interface.py,sha256=
|
|
126
|
+
armodel/tests/test_armodel/models/test_port_interface.py,sha256=6yD1dOERLv9lnlRUv4JnqJiTWaKnekcYFy2iktOuc4I,9201
|
|
114
127
|
armodel/tests/test_armodel/models/test_port_prototype.py,sha256=wV_QjAg4fb9MfeiwDWldzJiHeNpAcZq5vPZ4rWB2Pn0,494
|
|
115
128
|
armodel/tests/test_armodel/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
129
|
armodel/tests/test_armodel/parser/test_arxml_parser.py,sha256=4-4DKdHIZN50wiM0tzzP-nejY74aEtAWhURwYxDGrWw,747
|
|
117
130
|
armodel/tests/test_armodel/parser/test_parse_bswmd.py,sha256=z7ROVjFFDjk7eIKUwRc1HHUZFIqvSPoTyFAy1IABdC0,10182
|
|
118
|
-
armodel/tests/test_armodel/parser/test_sw_components.py,sha256=
|
|
131
|
+
armodel/tests/test_armodel/parser/test_sw_components.py,sha256=OMJ7HEel8TmUEo50Hn3gEc8jdSV0StUOs_ThMENJXGM,4150
|
|
119
132
|
armodel/writer/__init__.py,sha256=eXr3qhGzFIvHNBin22x-Tk2JM6QwRgx1jwrluDKAlzQ,37
|
|
120
|
-
armodel/writer/abstract_arxml_writer.py,sha256=
|
|
121
|
-
armodel/writer/arxml_writer.py,sha256=
|
|
122
|
-
armodel-1.6.
|
|
123
|
-
armodel-1.6.
|
|
124
|
-
armodel-1.6.
|
|
125
|
-
armodel-1.6.
|
|
126
|
-
armodel-1.6.
|
|
127
|
-
armodel-1.6.
|
|
133
|
+
armodel/writer/abstract_arxml_writer.py,sha256=QoBAlVwt8D7Mpsd5t3Cg0foi-vyLlfaeSOqykn3O9u4,5235
|
|
134
|
+
armodel/writer/arxml_writer.py,sha256=qJ_QgY-cy5y3X0oz1iBwpTPHvJdWz0c1AnYHfDkhxXU,170548
|
|
135
|
+
armodel-1.6.1.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
|
|
136
|
+
armodel-1.6.1.dist-info/METADATA,sha256=NrMjj0hjnot7yF6rs0h3rAmCvdgaxtY3BoXvR0EkPIU,10573
|
|
137
|
+
armodel-1.6.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
138
|
+
armodel-1.6.1.dist-info/entry_points.txt,sha256=7n_GwPbHcnqMTnKCnPjjjo3s_uo_vaFrjtZQeDQtHHM,397
|
|
139
|
+
armodel-1.6.1.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
|
|
140
|
+
armodel-1.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|