armodel 1.8.4__py3-none-any.whl → 1.8.6__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/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/cli/uuid_checker_cli.py +1 -0
- armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py +8 -3
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswBehavior.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswImplementation.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswInterfaces.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswOverview.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/HardwareConfiguration.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/HeapUsage.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/MemorySectionUsage.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/SoftwareContext.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/StackUsage.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__pycache__/PortPrototypeBlueprint.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__pycache__/Keyword.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/ExecutionOrderConstraint.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/TimingConstraint.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/TimingExtensions.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/Filter.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/FlatMap.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/Implementation.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ImplementationDataTypes.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/InternalBehavior.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ModeDeclaration.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ServiceNeeds.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/SwcBswMapping.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/TriggerDeclaration.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/__pycache__/DiagnosticContribution.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__pycache__/HwElementCategory.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py +3 -2
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/ARPackage.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/ArObject.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/ElementCollection.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/EngineeringObject.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/Identifiable.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/PrimitiveTypes.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/AbstractStructure.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/LifeCycles.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py +52 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__init__.py +3 -3
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__init__.py +25 -30
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/DataPrototypes.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/Datatypes.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/DataElements.py +1 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/InstanceRefsUsage.py +5 -4
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/AccessCount.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/AutosarVariableRef.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/DataElements.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/IncludedDataTypes.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/InstanceRefsUsage.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/ModeDeclarationGroup.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/PerInstanceMemory.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/PortAPIOptions.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/RTEEvents.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/ServerCall.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/ServiceMapping.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/Trigger.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/Communication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/EndToEndProtection.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/RPTScenario.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/SwcImplementation.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__pycache__/CanCommunication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__pycache__/CanTopology.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/EthernetCommunication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/EthernetFrame.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/EthernetTopology.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/NetworkEndpoint.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/ServiceInstances.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/__pycache__/FlexrayCommunication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/__pycache__/FlexrayTopology.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__pycache__/LinCommunication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__pycache__/LinTopology.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/CoreCommunication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/CoreTopology.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/EcuInstance.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/Timing.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/__pycache__/Fibex4Multiplatform.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Transformer/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DataMapping.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DiagnosticConnection.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DoIp.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/EcuResourceMapping.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/NetworkManagement.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/RteEventToOsTaskMapping.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/SWmapping.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/SecureCommunication.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/TransportProtocols.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/__pycache__/AutosarTopLevelStructure.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/__pycache__/ECUCDescriptionTemplate.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/__pycache__/ECUCParameterDefTemplate.cpython-312.pyc +0 -0
- armodel/models/M2/AUTOSARTemplates/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/Constraints/__pycache__/GlobalConstraints.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/Constraints/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/__pycache__/AdminData.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/__pycache__/BaseTypes.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/__pycache__/ComputationMethod.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/__pycache__/SpecialData.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/__pycache__/Units.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/AsamHdo/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/CalibrationData/__pycache__/CalibrationValue.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/CalibrationData/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/AuxillaryObjects.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/Axis.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/CalibrationParameter.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/DataDefProperties.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/RecordLayout.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/ServiceProcessTask.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/DataDictionary/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/BlockElements/__pycache__/Figure.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/BlockElements/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__pycache__/ListElements.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__pycache__/PaginationAndView.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/TextModel/__pycache__/LanguageDataModel.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/TextModel/__pycache__/MultilanguageData.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/TextModel/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/__pycache__/Annotation.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/Documentation/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/MSR/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/M2/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/models/utils/__pycache__/uuid_mgr.cpython-312.pyc +0 -0
- armodel/parser/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/parser/__pycache__/abstract_arxml_parser.cpython-312.pyc +0 -0
- armodel/parser/__pycache__/arxml_parser.cpython-312.pyc +0 -0
- armodel/parser/__pycache__/file_parser.cpython-312.pyc +0 -0
- armodel/parser/arxml_parser.py +78 -23
- armodel/tests/test_armodel/models/test_data_dictionary.py +15 -14
- armodel/tests/test_armodel/models/test_data_prototype.py +44 -41
- armodel/tests/test_armodel/models/test_general_structure.py +0 -5
- armodel/tests/test_armodel/models/test_implementation.py +4 -4
- armodel/tests/test_armodel/models/test_m2_msr.py +32 -32
- armodel/tests/test_armodel/models/test_port_interface.py +9 -10
- armodel/tests/test_armodel/models/test_port_prototype.py +4 -3
- armodel/tests/test_armodel/parser/test_sw_components.py +111 -1
- armodel/writer/__pycache__/__init__.cpython-312.pyc +0 -0
- armodel/writer/__pycache__/abstract_arxml_writer.cpython-312.pyc +0 -0
- armodel/writer/__pycache__/arxml_writer.cpython-312.pyc +0 -0
- armodel/writer/arxml_writer.py +42 -13
- {armodel-1.8.4.dist-info → armodel-1.8.6.dist-info}/METADATA +16 -1
- armodel-1.8.6.dist-info/RECORD +360 -0
- armodel-1.8.4.dist-info/RECORD +0 -211
- {armodel-1.8.4.dist-info → armodel-1.8.6.dist-info}/LICENSE +0 -0
- {armodel-1.8.4.dist-info → armodel-1.8.6.dist-info}/WHEEL +0 -0
- {armodel-1.8.4.dist-info → armodel-1.8.6.dist-info}/entry_points.txt +0 -0
- {armodel-1.8.4.dist-info → armodel-1.8.6.dist-info}/top_level.txt +0 -0
|
Binary file
|
armodel/cli/uuid_checker_cli.py
CHANGED
|
@@ -57,6 +57,7 @@ def perform_uuid_duplicate_check(args):
|
|
|
57
57
|
parser.load(filename, document)
|
|
58
58
|
|
|
59
59
|
with open(args.OUTPUT, 'w') as f_out:
|
|
60
|
+
logger.info("Writing the duplicate UUIDs to <%s>", args.OUTPUT)
|
|
60
61
|
for uuid in document.getDuplicateUUIDs():
|
|
61
62
|
ar_objects = document.getARObjectByUUID(uuid)
|
|
62
63
|
if len(ar_objects) > 1:
|
|
@@ -11,7 +11,7 @@ from ...M2.MSR.Documentation.TextModel.BlockElements import DocumentationBlock
|
|
|
11
11
|
from ...M2.AUTOSARTemplates.CommonStructure.InternalBehavior import InternalBehavior
|
|
12
12
|
from ...M2.AUTOSARTemplates.CommonStructure.Implementation import Implementation
|
|
13
13
|
from ...M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
|
|
14
|
-
from ...M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import CollectableElement, Referrable
|
|
14
|
+
from ...M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import ARElement, CollectableElement, Referrable
|
|
15
15
|
from ...M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ARPackage import ARPackage
|
|
16
16
|
from ...M2.AUTOSARTemplates.SWComponentTemplate.Datatype.Datatypes import ApplicationDataType, DataTypeMap
|
|
17
17
|
from ...M2.AUTOSARTemplates.SWComponentTemplate.Components import AtomicSwComponentType, CompositionSwComponentType, PortPrototype
|
|
@@ -206,9 +206,14 @@ class AbstractAUTOSAR(CollectableElement):
|
|
|
206
206
|
def getRootSwCompositionPrototype(self):
|
|
207
207
|
return self.rootSwCompositionPrototype
|
|
208
208
|
|
|
209
|
-
def setRootSwCompositionPrototype(self, value):
|
|
209
|
+
def setRootSwCompositionPrototype(self, value: ARElement):
|
|
210
210
|
if value is not None:
|
|
211
|
-
self.rootSwCompositionPrototype
|
|
211
|
+
if self.rootSwCompositionPrototype is not None:
|
|
212
|
+
if value.getShortName() != self.rootSwCompositionPrototype.getShortName():
|
|
213
|
+
raise ValueError("RootSwCompositionPrototype already set to <%s>, cannot set to <%s>."
|
|
214
|
+
% (self.rootSwCompositionPrototype.getShortName(), value.getShortName()))
|
|
215
|
+
else:
|
|
216
|
+
self.rootSwCompositionPrototype = value
|
|
212
217
|
return self
|
|
213
218
|
|
|
214
219
|
def addImplementationBehaviorMap(self, impl: str, behavior: str) -> Implementation:
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswImplementation.cpython-312.pyc
ADDED
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswInterfaces.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/InternalBehavior.cpython-312.pyc
ADDED
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ModeDeclaration.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/TriggerDeclaration.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__pycache__/HwElementCategory.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -143,8 +143,9 @@ class ARPackage(Identifiable, CollectableElement):
|
|
|
143
143
|
return self.arPackages[short_name]
|
|
144
144
|
|
|
145
145
|
def getElement(self, short_name: str, type=None) -> Referrable:
|
|
146
|
-
if
|
|
147
|
-
|
|
146
|
+
if type is ARPackage or type is None:
|
|
147
|
+
if short_name in self.arPackages:
|
|
148
|
+
return self.arPackages[short_name]
|
|
148
149
|
return CollectableElement.getElement(self, short_name, type)
|
|
149
150
|
|
|
150
151
|
def createEcuAbstractionSwComponentType(self, short_name: str) -> EcuAbstractionSwComponentType:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/AbstractStructure.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -216,6 +216,25 @@ class NvRequireComSpec(RPortComSpec):
|
|
|
216
216
|
def __init__(self):
|
|
217
217
|
super().__init__()
|
|
218
218
|
|
|
219
|
+
self.initValue: ValueSpecification = None
|
|
220
|
+
self.variableRef: RefType = None
|
|
221
|
+
|
|
222
|
+
def getInitValue(self):
|
|
223
|
+
return self.initValue
|
|
224
|
+
|
|
225
|
+
def setInitValue(self, value: ValueSpecification):
|
|
226
|
+
if value is not None:
|
|
227
|
+
self.initValue = value
|
|
228
|
+
return self
|
|
229
|
+
|
|
230
|
+
def getVariableRef(self):
|
|
231
|
+
return self.variableRef
|
|
232
|
+
|
|
233
|
+
def setVariableRef(self, value: RefType):
|
|
234
|
+
if value is not None:
|
|
235
|
+
self.variableRef = value
|
|
236
|
+
return self
|
|
237
|
+
|
|
219
238
|
|
|
220
239
|
class ParameterRequireComSpec(RPortComSpec):
|
|
221
240
|
def __init__(self):
|
|
@@ -574,6 +593,39 @@ class ServerComSpec(PPortComSpec):
|
|
|
574
593
|
if transformationComSpecProps is not None:
|
|
575
594
|
self.transformationComSpecProps.append(transformationComSpecProps)
|
|
576
595
|
return self
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class NvProvideComSpec(PPortComSpec):
|
|
599
|
+
def __init__(self):
|
|
600
|
+
super().__init__()
|
|
601
|
+
|
|
602
|
+
self.ramBlockInitValue: ValueSpecification = None
|
|
603
|
+
self.romBlockInitValue: ValueSpecification = None
|
|
604
|
+
self.variableRef: RefType = None
|
|
605
|
+
|
|
606
|
+
def getRamBlockInitValue(self):
|
|
607
|
+
return self.ramBlockInitValue
|
|
608
|
+
|
|
609
|
+
def setRamBlockInitValue(self, value: ValueSpecification):
|
|
610
|
+
if value is not None:
|
|
611
|
+
self.ramBlockInitValue = value
|
|
612
|
+
return self
|
|
613
|
+
|
|
614
|
+
def getRomBlockInitValue(self):
|
|
615
|
+
return self.romBlockInitValue
|
|
616
|
+
|
|
617
|
+
def setRomBlockInitValue(self, value: ValueSpecification):
|
|
618
|
+
if value is not None:
|
|
619
|
+
self.romBlockInitValue = value
|
|
620
|
+
return self
|
|
621
|
+
|
|
622
|
+
def getVariableRef(self):
|
|
623
|
+
return self.variableRef
|
|
624
|
+
|
|
625
|
+
def setVariableRef(self, value: RefType):
|
|
626
|
+
if value is not None:
|
|
627
|
+
self.variableRef = value
|
|
628
|
+
return self
|
|
577
629
|
|
|
578
630
|
|
|
579
631
|
class NonqueuedReceiverComSpec(ReceiverComSpec):
|
|
@@ -303,14 +303,14 @@ class AtomicSwComponentType(SwComponentType, metaclass=ABCMeta):
|
|
|
303
303
|
def __init__(self, parent: ARObject, short_name: str):
|
|
304
304
|
super().__init__(parent, short_name)
|
|
305
305
|
|
|
306
|
-
self.internalBehavior = None
|
|
307
|
-
self.symbolProps = None
|
|
306
|
+
self.internalBehavior: SwcInternalBehavior = None
|
|
307
|
+
self.symbolProps: SymbolProps = None
|
|
308
308
|
|
|
309
309
|
def getInternalBehavior(self):
|
|
310
310
|
return self.internalBehavior
|
|
311
311
|
|
|
312
312
|
def createSwcInternalBehavior(self, short_name) -> SwcInternalBehavior:
|
|
313
|
-
if (not self.IsElementExists(short_name)):
|
|
313
|
+
if (not self.IsElementExists(short_name, SwcInternalBehavior)):
|
|
314
314
|
behavior = SwcInternalBehavior(self, short_name)
|
|
315
315
|
self.addElement(behavior)
|
|
316
316
|
self.internalBehavior = behavior
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from abc import ABCMeta
|
|
2
|
-
from .....M2.AUTOSARTemplates.SWComponentTemplate.Composition.InstanceRefs import PPortInCompositionInstanceRef, PortInCompositionTypeInstanceRef
|
|
2
|
+
from .....M2.AUTOSARTemplates.SWComponentTemplate.Composition.InstanceRefs import PPortInCompositionInstanceRef, PortInCompositionTypeInstanceRef
|
|
3
|
+
from .....M2.AUTOSARTemplates.SWComponentTemplate.Composition.InstanceRefs import RPortInCompositionInstanceRef
|
|
3
4
|
from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType
|
|
4
5
|
from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
|
|
5
6
|
from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import Identifiable
|
|
@@ -11,40 +12,34 @@ class SwComponentPrototype(Identifiable):
|
|
|
11
12
|
|
|
12
13
|
self.typeTRef = None # type: RefType
|
|
13
14
|
|
|
14
|
-
def getTypeTRef(self):
|
|
15
|
+
def getTypeTRef(self) -> RefType:
|
|
15
16
|
return self.typeTRef
|
|
16
17
|
|
|
17
|
-
def setTypeTRef(self, value):
|
|
18
|
+
def setTypeTRef(self, value: RefType):
|
|
18
19
|
self.typeTRef = value
|
|
19
20
|
return self
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
|
|
23
|
+
class SwConnector(Identifiable, metaclass=ABCMeta):
|
|
22
24
|
def __init__(self, parent: ARObject, short_name: str):
|
|
23
25
|
super().__init__(parent, short_name)
|
|
24
26
|
|
|
25
|
-
self.mappingRef = None
|
|
27
|
+
self.mappingRef: RefType = None
|
|
26
28
|
|
|
27
|
-
def getMappingRef(self):
|
|
29
|
+
def getMappingRef(self) -> RefType:
|
|
28
30
|
return self.mappingRef
|
|
29
31
|
|
|
30
|
-
def setMappingRef(self, value):
|
|
32
|
+
def setMappingRef(self, value: RefType):
|
|
31
33
|
self.mappingRef = value
|
|
32
34
|
return self
|
|
33
35
|
|
|
36
|
+
|
|
34
37
|
class AssemblySwConnector(SwConnector):
|
|
35
38
|
def __init__(self, parent: ARObject, short_name: str):
|
|
36
39
|
super().__init__(parent, short_name)
|
|
37
40
|
|
|
38
|
-
self.
|
|
39
|
-
self.
|
|
40
|
-
self.requesterIRef = None # type: RPortInCompositionInstanceRef
|
|
41
|
-
|
|
42
|
-
def getMappingRef(self):
|
|
43
|
-
return self.mappingRef
|
|
44
|
-
|
|
45
|
-
def setMappingRef(self, value):
|
|
46
|
-
self.mappingRef = value
|
|
47
|
-
return self
|
|
41
|
+
self.providerIRef: PPortInCompositionInstanceRef = None
|
|
42
|
+
self.requesterIRef: RPortInCompositionInstanceRef = None
|
|
48
43
|
|
|
49
44
|
def getProviderIRef(self) -> PPortInCompositionInstanceRef:
|
|
50
45
|
return self.providerIRef
|
|
@@ -60,24 +55,25 @@ class AssemblySwConnector(SwConnector):
|
|
|
60
55
|
self.requesterIRef = value
|
|
61
56
|
return self
|
|
62
57
|
|
|
58
|
+
|
|
63
59
|
class DelegationSwConnector(SwConnector):
|
|
64
60
|
def __init__(self, parent: ARObject, short_name: str):
|
|
65
61
|
super().__init__(parent, short_name)
|
|
66
62
|
|
|
67
|
-
self.innerPortIRref = None
|
|
68
|
-
self.outerPortRef = None
|
|
63
|
+
self.innerPortIRref: PortInCompositionTypeInstanceRef = None
|
|
64
|
+
self.outerPortRef: RefType = None
|
|
69
65
|
|
|
70
|
-
def getInnerPortIRref(self):
|
|
66
|
+
def getInnerPortIRref(self) -> PortInCompositionTypeInstanceRef:
|
|
71
67
|
return self.innerPortIRref
|
|
72
68
|
|
|
73
|
-
def setInnerPortIRref(self, value):
|
|
69
|
+
def setInnerPortIRref(self, value: PortInCompositionTypeInstanceRef):
|
|
74
70
|
self.innerPortIRref = value
|
|
75
71
|
return self
|
|
76
72
|
|
|
77
|
-
def getOuterPortRef(self):
|
|
73
|
+
def getOuterPortRef(self) -> RefType:
|
|
78
74
|
return self.outerPortRef
|
|
79
75
|
|
|
80
|
-
def setOuterPortRef(self, value):
|
|
76
|
+
def setOuterPortRef(self, value: RefType):
|
|
81
77
|
self.outerPortRef = value
|
|
82
78
|
return self
|
|
83
79
|
|
|
@@ -86,20 +82,19 @@ class PassThroughSwConnector(SwConnector):
|
|
|
86
82
|
def __init__(self, parent: ARObject, short_name: str):
|
|
87
83
|
super().__init__(parent, short_name)
|
|
88
84
|
|
|
89
|
-
self.providedOuterPortRef = None
|
|
90
|
-
self.requiredOuterPortRef = None
|
|
85
|
+
self.providedOuterPortRef: RefType = None
|
|
86
|
+
self.requiredOuterPortRef: RefType = None
|
|
91
87
|
|
|
92
|
-
def getProvidedOuterPortRef(self):
|
|
88
|
+
def getProvidedOuterPortRef(self) -> RefType:
|
|
93
89
|
return self.providedOuterPortRef
|
|
94
90
|
|
|
95
|
-
def setProvidedOuterPortRef(self, value):
|
|
91
|
+
def setProvidedOuterPortRef(self, value: RefType):
|
|
96
92
|
self.providedOuterPortRef = value
|
|
97
93
|
return self
|
|
98
94
|
|
|
99
|
-
def getRequiredOuterPortRef(self):
|
|
95
|
+
def getRequiredOuterPortRef(self) -> RefType:
|
|
100
96
|
return self.requiredOuterPortRef
|
|
101
97
|
|
|
102
|
-
def setRequiredOuterPortRef(self, value):
|
|
98
|
+
def setRequiredOuterPortRef(self, value: RefType):
|
|
103
99
|
self.requiredOuterPortRef = value
|
|
104
100
|
return self
|
|
105
|
-
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,6 +6,7 @@ from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiab
|
|
|
6
6
|
from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import ARLiteral
|
|
7
7
|
from .....M2.MSR.DataDictionary.DataDefProperties import SwDataDefProps
|
|
8
8
|
|
|
9
|
+
|
|
9
10
|
class ParameterAccess(AbstractAccessPoint):
|
|
10
11
|
def __init__(self, parent: ARObject, short_name: str):
|
|
11
12
|
super().__init__(parent, short_name)
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/InstanceRefsUsage.py
CHANGED
|
@@ -86,6 +86,7 @@ class VariableInAtomicSWCTypeInstanceRef(AtpInstanceRef):
|
|
|
86
86
|
self.targetDataPrototypeRef = value
|
|
87
87
|
return self
|
|
88
88
|
|
|
89
|
+
|
|
89
90
|
class ParameterInAtomicSWCTypeInstanceRef(AtpInstanceRef):
|
|
90
91
|
def __init__(self):
|
|
91
92
|
super().__init__()
|
|
@@ -131,13 +132,13 @@ class ParameterInAtomicSWCTypeInstanceRef(AtpInstanceRef):
|
|
|
131
132
|
self.targetDataPrototypeRef = value
|
|
132
133
|
return self
|
|
133
134
|
|
|
135
|
+
|
|
134
136
|
class AutosarParameterRef(ARObject):
|
|
135
137
|
def __init__(self):
|
|
136
138
|
super().__init__()
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
self.
|
|
140
|
-
self.localParameterRef = None # type: RefType
|
|
139
|
+
|
|
140
|
+
self.autosarParameterIRef: ParameterInAtomicSWCTypeInstanceRef = None
|
|
141
|
+
self.localParameterRef: RefType = None # type: RefType
|
|
141
142
|
|
|
142
143
|
def getAutosarParameterIRef(self):
|
|
143
144
|
return self.autosarParameterIRef
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/Communication.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/RPTScenario.cpython-312.pyc
ADDED
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/SwcImplementation.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/Timing.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Transformer/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DiagnosticConnection.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/EcuResourceMapping.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/NetworkManagement.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/SecureCommunication.cpython-312.pyc
ADDED
|
Binary file
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/TransportProtocols.cpython-312.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|