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.
Files changed (52) hide show
  1. armodel/data_models/sw_connector.py +3 -3
  2. armodel/models/__init__.py +4 -2
  3. armodel/models/ar_object.py +1 -1
  4. armodel/models/ar_package.py +185 -151
  5. armodel/models/ar_ref.py +0 -202
  6. armodel/models/common_structure.py +3 -71
  7. armodel/models/communication.py +1 -1
  8. armodel/models/datatype.py +5 -69
  9. armodel/models/end_to_end_protection.py +1 -1
  10. armodel/models/general_structure.py +10 -4
  11. armodel/models/internal_behavior.py +1 -1
  12. armodel/models/m2/autosar_templates/common_structure/implementation.py +21 -0
  13. armodel/models/m2/autosar_templates/common_structure/implementation_data_types.py +148 -0
  14. armodel/models/m2/autosar_templates/ecuc_description_template.py +2 -1
  15. armodel/models/m2/autosar_templates/generic_structure/__init__.py +0 -0
  16. armodel/models/m2/autosar_templates/generic_structure/abstract_structure.py +69 -0
  17. armodel/models/m2/autosar_templates/sw_component_template/communication.py +44 -0
  18. armodel/models/m2/autosar_templates/sw_component_template/components/__init__.py +246 -0
  19. armodel/models/m2/autosar_templates/sw_component_template/components/instance_refs.py +33 -1
  20. armodel/models/m2/autosar_templates/sw_component_template/composition/__init__.py +154 -0
  21. armodel/models/m2/autosar_templates/sw_component_template/composition/instance_refs.py +157 -0
  22. armodel/models/m2/autosar_templates/sw_component_template/data_type/__init__.py +0 -0
  23. armodel/models/m2/autosar_templates/sw_component_template/data_type/data_prototypes.py +104 -0
  24. armodel/models/m2/autosar_templates/sw_component_template/port_interface/__init__.py +243 -0
  25. armodel/models/m2/autosar_templates/sw_component_template/port_interface/instance_refs.py +39 -0
  26. armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/data_elements.py +3 -11
  27. armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/instance_refs_usage.py +169 -0
  28. armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/mode_declaration_group.py +1 -2
  29. armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/server_call.py +5 -4
  30. armodel/models/m2/autosar_templates/system_template/instance_refs.py +48 -0
  31. armodel/models/m2_msr.py +1 -0
  32. armodel/models/port_prototype.py +1 -90
  33. armodel/models/service_needs.py +3 -1
  34. armodel/models/sw_component.py +6 -143
  35. armodel/parser/__init__.py +2 -1
  36. armodel/parser/arxml_parser.py +124 -58
  37. armodel/parser/file_parser.py +43 -0
  38. armodel/tests/test_armodel/models/test_ar_package.py +5 -2
  39. armodel/tests/test_armodel/models/test_ar_ref.py +15 -13
  40. armodel/tests/test_armodel/models/test_common_structure.py +6 -5
  41. armodel/tests/test_armodel/models/test_data_prototype.py +1 -1
  42. armodel/tests/test_armodel/models/test_datatype.py +8 -8
  43. armodel/tests/test_armodel/models/test_port_interface.py +1 -1
  44. armodel/tests/test_armodel/parser/test_sw_components.py +1 -1
  45. armodel/writer/abstract_arxml_writer.py +5 -1
  46. armodel/writer/arxml_writer.py +68 -58
  47. {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/METADATA +5 -1
  48. {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/RECORD +52 -39
  49. {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/LICENSE +0 -0
  50. {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/WHEEL +0 -0
  51. {armodel-1.6.0.dist-info → armodel-1.6.1.dist-info}/entry_points.txt +0 -0
  52. {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 AUTOSAR
4
- from ....models import datatype
5
- from ....models.common_structure import ImplementationDataTypeElement
6
- from ....models.data_prototype import ApplicationRecordElement
7
- from ....models.datatype import AbstractImplementationDataType, ApplicationArrayDataType, ApplicationCompositeDataType, ApplicationDataType, ApplicationPrimitiveDataType, ApplicationRecordDataType, AtpType, AutosarDataType, BaseType, DataTypeMap, DataTypeMappingSet, ImplementationDataType, ImplementationProps, SymbolProps
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.symbol_props == None)
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.data_prototype import AtpPrototype, AutosarDataPrototype, DataPrototype, VariableDataPrototype
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.sw_component import CompositionSwComponentType
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
- xml = ET.tostring(root, encoding = "UTF-8", xml_declaration = True, short_empty_elements = False)
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")
@@ -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.sw_component_template.components.instance_refs import PModeGroupInAtomicSwcInstanceRef, RModeGroupInAtomicSWCInstanceRef, RModeInAtomicSwcInstanceRef, RVariableInAtomicSwcInstanceRef
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.ecuc_description_template import EcucAbstractReferenceValue, EcucContainerValue, EcucInstanceReferenceValue, EcucModuleConfigurationValues, EcucNumericalParamValue, EcucParameterValue, EcucReferenceValue, EcucTextualParamValue, EcucValueCollection
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.data_prototype import ApplicationArrayElement, ApplicationCompositeElementDataPrototype, ApplicationRecordElement, AutosarDataPrototype, DataPrototype, ParameterDataPrototype, VariableDataPrototype
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, PortGroup, RTEEvent, ServiceDependency, ServiceSwComponentType, SwcModeSwitchEvent, SwcServiceDependency
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 AnyInstanceRef, ApplicationCompositeElementInPortInterfaceInstanceRef, AutosarParameterRef, AutosarVariableRef, InnerPortGroupInCompositionInstanceRef, POperationInAtomicSwcInstanceRef, PPortInCompositionInstanceRef, ROperationInAtomicSwcInstanceRef, RPortInCompositionInstanceRef, RefType, VariableDataPrototypeInSystemInstanceRef
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, ImplementationDataType, SwBaseType
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.operationRef)
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.provided_interface_tref)
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.required_interface_tref)
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.targetRef)
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.type_tref)
452
+ self.setChildElementOptionalRefType(prototype_tag, "TYPE-TREF", prototype.getTypeTRef())
434
453
 
435
454
  def writeSwComponentPrototypes(self, element: ET.Element, sw_component: CompositionSwComponentType):
436
- components_tag = ET.SubElement(element, "COMPONENTS")
437
- for prototype in sw_component.getSwComponentPrototypes():
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.provider_iref is not None:
465
+ if sw_connector.getProviderIRef() is not None:
445
466
  provider_iref_tag = ET.SubElement(connector_tag, "PROVIDER-IREF")
446
- self.setARObjectAttributes(provider_iref_tag, sw_connector.provider_iref)
447
- self.setChildElementOptionalRefType(provider_iref_tag, "CONTEXT-COMPONENT-REF", sw_connector.provider_iref.context_component_ref)
448
- self.setChildElementOptionalRefType(provider_iref_tag, "TARGET-P-PORT-REF", sw_connector.provider_iref.target_p_port_ref)
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.requester_iref is not None:
472
+ if sw_connector.getRequesterIRef() is not None:
451
473
  requester_iref_tag = ET.SubElement(connector_tag, "REQUESTER-IREF")
452
- self.setARObjectAttributes(requester_iref_tag, sw_connector.requester_iref)
453
- self.setChildElementOptionalRefType(requester_iref_tag, "CONTEXT-COMPONENT-REF", sw_connector.requester_iref.context_component_ref)
454
- self.setChildElementOptionalRefType(requester_iref_tag, "TARGET-R-PORT-REF", sw_connector.requester_iref.target_r_port_ref)
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.inner_port_iref is not None:
483
+ if sw_connector.getInnerPortIRref() is not None:
461
484
  inner_port_iref_tag = ET.SubElement(connector_tag, "INNER-PORT-IREF")
462
- if isinstance(sw_connector.inner_port_iref, PPortInCompositionInstanceRef):
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", sw_connector.inner_port_iref.context_component_ref)
465
- self.setChildElementOptionalRefType(instance_ref_tag, "TARGET-P-PORT-REF", sw_connector.inner_port_iref.target_p_port_ref)
466
- elif isinstance(sw_connector.inner_port_iref, RPortInCompositionInstanceRef):
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", sw_connector.inner_port_iref.context_component_ref)
469
- self.setChildElementOptionalRefType(instance_ref_tag, "TARGET-R-PORT-REF", sw_connector.inner_port_iref.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.short_name)
495
+ self._raiseError("Invalid inner port of DelegationSwConnector <%s>" % sw_connector.getShortName())
472
496
 
473
- if sw_connector.outer_port_ref is not None:
474
- self.setChildElementOptionalRefType(connector_tag, "OUTER-PORT-REF", sw_connector.outer_port_ref)
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.isService)
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.swDataDefProps)
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.0
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=Eiw848Qs0L3-85cF7uj5IXcudOks2rVU5-CVz-v-cm8,590
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=mcOzVaFdeftKJZsKey98i1zGfkqoU8Y6NyBxyrIWGxg,793
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=mC-HZEpX3kVUTkvrMPZajg18NLVlXo4cJ36VzCTCiVY,5781
20
- armodel/models/ar_package.py,sha256=EzTdrm8MADOyL1sC3ByyrtHrjE26WBz9HM6C6psoOs4,31276
21
- armodel/models/ar_ref.py,sha256=v3OXxJ90zasN7ihZyBrzmk6OgT_ilmbtHNUg5BSwH2A,8300
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=Qak8KRgVbw3FkwbPgc7UV80MyBMzffUtSVk1AV9QwJ4,11741
25
- armodel/models/communication.py,sha256=VaBOsNgEtfvKADuleTE6FEJjKf2rUg1OxN3HIp9Jg5o,628
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=VH-rLiyjKJRVyCPt82mTwo5VQrqNX6-X_bo_PUDqa4Q,8770
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=Sna3HSsukFHTBj72jWXd3fRvJTEESK1wnKo_KXD5itE,2978
32
- armodel/models/general_structure.py,sha256=CjAeZdhlk19petpdgP-_rTc0Eu2R4AHb2Wu3NfkV94w,8659
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=FS49y0iPiG77uM-JiWYPyXkE7OP27UvOMttyNe8Jf3c,2444
36
- armodel/models/m2_msr.py,sha256=gEaOEDsX_ZeZtcu2as5BAnBR5GjlABDY9K0bsNhG2WU,5061
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=FQ5viIDNnJ1lEQ4IcNEkeB0q7rtrJJ-zrWm5hEEoAL4,4307
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=W9dsu2Z9oIPXYJab7sFht3lY7QPe0ozHMQNhrvBX1ec,2553
46
- armodel/models/sw_component.py,sha256=wLIMH7KbjxXLogeZCc2F6tuwGOptOyvRvchuvBjgm7k,23454
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=tJ89Gjl9obJZ3ydAqbLcFNWwmIWwG_Md2EHpqACcBiY,9009
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=HYSlbD-hnIInLQM3_Cm2pR_3tEZIO7j7OLsTaJ_njFM,9970
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=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
- armodel/models/m2/autosar_templates/sw_component_template/components/instance_refs.py,sha256=Qcx9Fv7K-claBef50DF30fF15zsTzbBsSypD-SrM3s8,4810
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=WlZ05n4Fjk-P4AWA2NduZ0tgGQxbtpVkkLdM7HErdsE,1806
73
- armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/mode_declaration_group.py,sha256=zKoCLnmSUPboqNbAvXxMdWT-W9ciX8cjGdFyCZra3GM,1235
74
- armodel/models/m2/autosar_templates/sw_component_template/swc_internal_behavior/server_call.py,sha256=Gj4dkDk21AiSJCnUdqViIMEb5ypCSCs0AH5a7jOYt8w,787
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=whzCLvAstuSlm6scgcCId7AUxSX8z8PV8AIKSNWMkGo,37
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=ra7S5pi1xMQyeeJdogOWsOnFwHo-y4vk0DAcgAhCDts,170648
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=R6-UDCMvw4C4NO3VvQ3KSnlBmSzPbfO1Cpbdy4EzaOM,14566
104
- armodel/tests/test_armodel/models/test_ar_ref.py,sha256=LijRdytwSg0U4JbypVTTNSLkY8AVAdLhnDh8PEAe4sU,3252
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=1JaR1epyXea2hXHTLESLNccokDfqfhQCG1wPdzLuMhc,3447
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=LMfu_oqmMHiWvSLzdC_KozneheymbYh-V0RLWHuJaPk,4205
109
- armodel/tests/test_armodel/models/test_datatype.py,sha256=n9_bQXMLRgz3C_NEqhRqWiPnhcGrFgQLFsdW-gVuhCs,11815
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=6kczQnOFgYwyoDHRHLa-fs-cFX69safceazak4lrqxc,9147
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=U8cwXGPR13ruoH8jBlWLLKuNIpG34DAZ1Vl2XXN-QNM,4108
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=WUE8dIvoMagb9P-2JpdbY5aRg0Ub10N9ncvD8E03AFA,5078
121
- armodel/writer/arxml_writer.py,sha256=SDdA9ejb07HWKmSjESlJiBmNxK-PkyG1rcuq2WkTz5c,169527
122
- armodel-1.6.0.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
123
- armodel-1.6.0.dist-info/METADATA,sha256=I5GoD0qcKRHqR71okee_dMqiAtb6N_JnS7mwQukbNlo,10472
124
- armodel-1.6.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
125
- armodel-1.6.0.dist-info/entry_points.txt,sha256=7n_GwPbHcnqMTnKCnPjjjo3s_uo_vaFrjtZQeDQtHHM,397
126
- armodel-1.6.0.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
127
- armodel-1.6.0.dist-info/RECORD,,
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,,