armodel 1.8.7__py3-none-any.whl → 1.9.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/__init__.py +19 -3
- armodel/cli/arxml_dump_cli.py +196 -197
- armodel/cli/arxml_format_cli.py +84 -84
- armodel/cli/connector2xlsx_cli.py +73 -73
- armodel/cli/connector_update_cli.py +73 -73
- armodel/cli/file_list_cli.py +69 -69
- armodel/cli/format_xml_cli.py +62 -62
- armodel/cli/memory_section_cli.py +74 -75
- armodel/cli/swc_list_cli.py +79 -79
- armodel/cli/system_signal_cli.py +73 -73
- armodel/cli/uuid_checker_cli.py +95 -95
- armodel/data_models/sw_connector.py +21 -21
- armodel/lib/__init__.py +4 -4
- armodel/lib/cli_args_parser.py +36 -35
- armodel/lib/sw_component.py +34 -35
- armodel/lib/system_signal.py +36 -36
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/FirewallRule.py +62 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/FirewallRuleProps.py +83 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/StateDependentFirewall.py +62 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/__init__.py +5 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/__init__.py +3 -0
- armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/__init__.py +3 -0
- armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure/__init__.py +320 -0
- armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py +315 -318
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswAsynchronousServerCallReturnsEvent.py +27 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswExclusiveAreaPolicy.py +22 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswInterruptEvent.py +18 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeManagerErrorEvent.py +18 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeReceiverPolicy.py +22 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswSchedulerNamePrefix.py +26 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswServiceDependency.py +27 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswTriggerDirectImplementation.py +21 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/RoleBasedBswModuleEntryAssignment.py +35 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py +2223 -791
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswImplementation.py +180 -60
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationship.py +26 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationshipEnum.py +24 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationshipSet.py +24 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces.py +586 -200
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/ModeInBswModuleDescriptionInstanceRef.py +17 -0
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview.py +445 -179
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Constants/__init__.py +670 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Filter.py +243 -96
- armodel/models/M2/AUTOSARTemplates/CommonStructure/FlatMap.py +273 -69
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Implementation.py +756 -243
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ImplementationDataTypes.py +336 -170
- armodel/models/M2/AUTOSARTemplates/CommonStructure/InternalBehavior.py +430 -136
- armodel/models/M2/AUTOSARTemplates/CommonStructure/McGroups.py +53 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/ImplementationElementInParameterInstanceRef.py +15 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McDataAccessDetails.py +60 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McDataInstance.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McFunction.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McParameterElementGroup.py +39 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McSupportData.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McSwEmulationMethodSupport.py +37 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RoleBasedMcDataAssignment.py +61 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/McFunctionDataRefSet.py +39 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptAccessEnum.py +12 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptComponent.py +60 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptEnablerImplTypeEnum.py +11 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutableEntity.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutableEntityEvent.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutionContext.py +38 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutionControlEnum.py +11 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptPreparationEnum.py +11 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptServicePoint.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptSupportData.py +111 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptSwPrototypingAccess.py +62 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/__init__.py +27 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/__init__.py +19 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ModeDeclaration.py +424 -148
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ModeDeclarationExtra.py +73 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/ExecutionTime/__init__.py +132 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/HardwareConfiguration.py +93 -32
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/HeapUsage.py +78 -10
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/MemorySectionUsage.py +239 -81
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/SoftwareContext.py +68 -23
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/StackUsage.py +274 -92
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__init__.py +135 -53
- armodel/models/M2/AUTOSARTemplates/CommonStructure/ServiceNeeds.py +2955 -839
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationControlEnum.py +11 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationElementProps.py +37 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationEventProps.py +37 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationProps.py +38 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationPropsSet.py +38 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/__init__.py +13 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/AbstractBlueprintStructure/AtpBlueprint.py +32 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/AbstractBlueprintStructure/__init__.py +7 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/PortPrototypeBlueprint.py +186 -73
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__init__.py +10 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintGenerator/BlueprintGenerator.py +37 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintGenerator/__init__.py +3 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintMapping/BlueprintMappingSet.py +38 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintMapping/__init__.py +3 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/Keyword.py +126 -45
- armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__init__.py +5 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SwcBswMapping.py +290 -77
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/TDLETZoneClock.py +61 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/TimingClock.py +60 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/TimingClockSyncAccuracy.py +60 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/__init__.py +5 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/ModeInBswInstanceRef.py +14 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/ModeInSwcInstanceRef.py +14 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingCondition.py +61 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingConditionFormula.py +37 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingExtensionResource.py +60 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingModeInstance.py +61 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/__init__.py +15 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/AgeConstraint.py +57 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/EventTriggeringConstraint.py +203 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/ExecutionOrderConstraint.py +193 -45
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/ExecutionTimeConstraint.py +101 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/LatencyTimingConstraint.py +100 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/OffsetConstraint.py +56 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/SynchronizationPointConstraint.py +57 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/SynchronizationTiming.py +117 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/TimingConstraint.py +59 -24
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/TimingExtensions.py +69 -32
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__init__.py +48 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/Traceable.py +11 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/__init__.py +16 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/TriggerDeclaration.py +147 -52
- armodel/models/M2/AUTOSARTemplates/CommonStructure/__init__.py +17 -205
- armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/DiagnosticCommonElement.py +11 -0
- armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/DiagnosticContribution.py +137 -47
- armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/__init__.py +10 -0
- armodel/models/M2/AUTOSARTemplates/ECUCDescriptionTemplate.py +285 -346
- armodel/models/M2/AUTOSARTemplates/ECUCParameterDefTemplate.py +1561 -1249
- armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/HwAttributeValue.py +117 -0
- armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/HwElementCategory.py +176 -59
- armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/HwElementConnector.py +73 -0
- armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__init__.py +401 -145
- armodel/models/M2/AUTOSARTemplates/GenericStructure/AbstractStructure.py +293 -92
- armodel/models/M2/AUTOSARTemplates/GenericStructure/DocumentationOnM1/__init__.py +39 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py +1314 -816
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/AnyInstanceRef.py +88 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ArObject.py +37 -17
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ElementCollection.py +197 -74
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/EngineeringObject.py +129 -51
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/Enumerations.py +16 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/Identifiable.py +599 -236
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/PrimitiveTypes.py +902 -594
- armodel/models/M2/AUTOSARTemplates/GenericStructure/LifeCycles.py +395 -155
- armodel/models/M2/AUTOSARTemplates/GenericStructure/RolesAndRights/AtpDefinition.py +36 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/RolesAndRights/__init__.py +7 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/VariantHandling/AttributeValueVariationPoints/__init__.py +36 -0
- armodel/models/M2/AUTOSARTemplates/GenericStructure/VariantHandling/__init__.py +182 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/ApplicationAttributes/__init__.py +97 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py +784 -712
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/InstanceRefs.py +186 -179
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__init__.py +363 -463
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/InstanceRefs.py +160 -154
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__init__.py +160 -100
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/DataPrototypes.py +145 -145
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/Datatypes.py +137 -131
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/EndToEndProtection.py +191 -184
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/InstanceRefs.py +45 -39
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__init__.py +647 -641
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/RPTScenario.py +21 -17
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SoftwareComponentDocumentation.py +84 -80
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwComponentType.py +76 -0
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcImplementation.py +37 -34
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/AccessCount.py +26 -21
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/AutosarVariableRef.py +39 -34
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/DataElements.py +57 -52
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/IncludedDataTypes.py +32 -24
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/InstanceRefsUsage.py +160 -155
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ModeDeclarationGroup.py +68 -63
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PerInstanceMemory.py +46 -40
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PortAPIOptions.py +91 -86
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py +219 -206
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServerCall.py +33 -26
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServiceMapping.py +148 -137
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Trigger.py +54 -49
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__init__.py +488 -489
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/DataMapping.py +334 -259
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/DiagnosticConnection.py +62 -58
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/DoIp.py +48 -29
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/{EcuResourceMapping.py → ECUResourceMapping.py} +48 -45
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanCommunication.py +139 -122
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanTopology.py +628 -344
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__init__.py +2 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetCommunication.py +267 -244
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetFrame.py +30 -16
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetTopology.py +750 -685
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/NetworkEndpoint.py +375 -327
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/ServiceInstances.py +924 -975
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/FlexrayCommunication.py +92 -76
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/FlexrayTopology.py +669 -654
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/LinCommunication.py +193 -149
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/LinTopology.py +110 -92
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Multiplatform.py +205 -205
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreCommunication.py +1376 -1232
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreTopology.py +800 -662
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/EcuInstance.py +269 -270
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/Timing.py +172 -172
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/InstanceRefs.py +90 -87
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/NetworkManagement.py +899 -789
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/RteEventToOsTaskMapping.py +43 -35
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/SWmapping.py +65 -52
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/SecureCommunication.py +105 -83
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Transformer/__init__.py +574 -524
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/TransportProtocols.py +739 -658
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__init__.py +493 -458
- armodel/models/M2/MSR/AsamHdo/AdminData.py +150 -136
- armodel/models/M2/MSR/AsamHdo/BaseTypes.py +95 -76
- armodel/models/M2/MSR/AsamHdo/ComputationMethod.py +367 -329
- armodel/models/M2/MSR/AsamHdo/Constraints/GlobalConstraints.py +58 -41
- armodel/models/M2/MSR/AsamHdo/SpecialData.py +99 -87
- armodel/models/M2/MSR/AsamHdo/Units.py +159 -105
- armodel/models/M2/MSR/CalibrationData/CalibrationValue.py +55 -57
- armodel/models/M2/MSR/DataDictionary/AuxillaryObjects.py +40 -41
- armodel/models/M2/MSR/DataDictionary/Axis.py +142 -144
- armodel/models/M2/MSR/DataDictionary/CalibrationParameter.py +35 -36
- armodel/models/M2/MSR/DataDictionary/DataDefProperties.py +383 -351
- armodel/models/M2/MSR/DataDictionary/RecordLayout.py +207 -209
- armodel/models/M2/MSR/DataDictionary/ServiceProcessTask.py +31 -33
- armodel/models/M2/MSR/DataDictionary/SystemConstant.py +32 -0
- armodel/models/M2/MSR/Documentation/Annotation.py +40 -41
- armodel/models/M2/MSR/Documentation/BlockElements/Figure.py +162 -163
- armodel/models/M2/MSR/Documentation/BlockElements/Formula/__init__.py +26 -0
- armodel/models/M2/MSR/Documentation/TextModel/BlockElements/ListElements.py +55 -56
- armodel/models/M2/MSR/Documentation/TextModel/BlockElements/PaginationAndView.py +35 -30
- armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__init__.py +110 -110
- armodel/models/M2/MSR/Documentation/TextModel/LanguageDataModel.py +57 -44
- armodel/models/M2/MSR/Documentation/TextModel/MultilanguageData.py +59 -58
- armodel/models/M2/MSR/Documentation/__init__.py +3 -3
- armodel/models/M2/MSR/documentation/__init__.py +3 -0
- armodel/models/__init__.py +86 -86
- armodel/models/utils/uuid_mgr.py +28 -29
- armodel/parser/__init__.py +2 -2
- armodel/parser/abstract_arxml_parser.py +323 -325
- armodel/parser/arxml_parser.py +5832 -5830
- armodel/parser/connector_xlsx_parser.py +192 -193
- armodel/parser/excel_parser.py +17 -17
- armodel/parser/file_parser.py +46 -46
- armodel/report/__init__.py +1 -1
- armodel/report/connector_xls_report.py +76 -77
- armodel/report/excel_report.py +41 -41
- armodel/transformer/abstract.py +6 -6
- armodel/transformer/admin_data.py +31 -31
- armodel/writer/__init__.py +1 -1
- armodel/writer/abstract_arxml_writer.py +146 -147
- armodel/writer/arxml_writer.py +5969 -5965
- {armodel-1.8.7.dist-info → armodel-1.9.1.dist-info}/METADATA +850 -662
- armodel-1.9.1.dist-info/RECORD +273 -0
- {armodel-1.8.7.dist-info → armodel-1.9.1.dist-info}/WHEEL +1 -1
- {armodel-1.8.7.dist-info → armodel-1.9.1.dist-info}/entry_points.txt +0 -1
- {armodel-1.8.7.dist-info → armodel-1.9.1.dist-info/licenses}/LICENSE +21 -21
- armodel/__pycache__/__init__.cpython-312.pyc +0 -0
- 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/SwcInternalBehavior/ModeDeclarationGroup.py +0 -24
- armodel/models/M2/AUTOSARTemplates/CommonStructure/SwcInternalBehavior/__init__.py +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/__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/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/__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/__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/BlockElements.py +0 -18
- 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/tests/__init__.py +0 -0
- armodel/tests/test_armodel/__init__.py +0 -0
- armodel/tests/test_armodel/models/__init__.py +0 -0
- armodel/tests/test_armodel/models/test_ECUCParameterDefTemplate.py +0 -116
- armodel/tests/test_armodel/models/test_Identifiable.py +0 -85
- armodel/tests/test_armodel/models/test_ar_object.py +0 -154
- armodel/tests/test_armodel/models/test_ar_package.py +0 -304
- armodel/tests/test_armodel/models/test_ar_ref.py +0 -81
- armodel/tests/test_armodel/models/test_bsw_module_template.py +0 -52
- armodel/tests/test_armodel/models/test_common_structure.py +0 -82
- armodel/tests/test_armodel/models/test_data_dictionary.py +0 -30
- armodel/tests/test_armodel/models/test_data_prototype.py +0 -93
- armodel/tests/test_armodel/models/test_datatype.py +0 -251
- armodel/tests/test_armodel/models/test_general_structure.py +0 -56
- armodel/tests/test_armodel/models/test_implementation.py +0 -27
- armodel/tests/test_armodel/models/test_m2_msr.py +0 -79
- armodel/tests/test_armodel/models/test_port_interface.py +0 -202
- armodel/tests/test_armodel/models/test_port_prototype.py +0 -15
- armodel/tests/test_armodel/parser/__init__.py +0 -0
- armodel/tests/test_armodel/parser/test_arxml_parser.py +0 -53
- armodel/tests/test_armodel/parser/test_bsw_module_descriiption.py +0 -218
- armodel/tests/test_armodel/parser/test_implementation_data_type.py +0 -247
- armodel/tests/test_armodel/parser/test_parse_bswmd.py +0 -202
- armodel/tests/test_armodel/parser/test_rte_event.py +0 -142
- armodel/tests/test_armodel/parser/test_runnable_entity.py +0 -135
- armodel/tests/test_armodel/parser/test_sw_components.py +0 -484
- armodel/tests/test_armodel/parser/test_system.py +0 -23
- 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-1.8.7.dist-info/RECORD +0 -360
- {armodel-1.8.7.dist-info → armodel-1.9.1.dist-info}/top_level.txt +0 -0
|
@@ -1,243 +1,756 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
from
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
self
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
self.
|
|
59
|
-
return self
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
def
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
self.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
self.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
return self.
|
|
145
|
-
|
|
146
|
-
def
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
self
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
self.
|
|
179
|
-
return self
|
|
180
|
-
|
|
181
|
-
def
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
return self.
|
|
211
|
-
|
|
212
|
-
def
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
self
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
1
|
+
"""
|
|
2
|
+
This module contains classes for representing AUTOSAR implementation structures
|
|
3
|
+
in the CommonStructure module. Implementation classes define software implementations
|
|
4
|
+
including code descriptors, compilers, dependencies, and resource consumption information.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from abc import ABC
|
|
8
|
+
from typing import List
|
|
9
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.ResourceConsumption import ResourceConsumption
|
|
10
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.EngineeringObject import AutosarEngineeringObject
|
|
11
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import Identifiable, PackageableElement, Referrable, ARElement
|
|
12
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import PositiveInteger, RefType, ARLiteral, String, RevisionLabelString, AREnum
|
|
13
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ImplementationProps(Referrable, ABC):
|
|
17
|
+
"""
|
|
18
|
+
Abstract base class for implementation properties in AUTOSAR models.
|
|
19
|
+
This class serves as a base for defining properties of implementations such as symbols and identifiers.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
23
|
+
"""
|
|
24
|
+
Initializes the ImplementationProps with a parent and short name.
|
|
25
|
+
Raises TypeError if this abstract class is instantiated directly.
|
|
26
|
+
|
|
27
|
+
Args:
|
|
28
|
+
parent: The parent ARObject that contains this implementation properties
|
|
29
|
+
short_name: The unique short name of this implementation properties
|
|
30
|
+
"""
|
|
31
|
+
if type(self) is ImplementationProps:
|
|
32
|
+
raise TypeError("ImplementationProps is an abstract class.")
|
|
33
|
+
|
|
34
|
+
super().__init__(parent, short_name)
|
|
35
|
+
|
|
36
|
+
# Symbol associated with this implementation properties
|
|
37
|
+
self.symbol: ARLiteral = None
|
|
38
|
+
|
|
39
|
+
def getSymbol(self):
|
|
40
|
+
"""
|
|
41
|
+
Gets the symbol associated with this implementation properties.
|
|
42
|
+
|
|
43
|
+
Returns:
|
|
44
|
+
ARLiteral: The symbol
|
|
45
|
+
"""
|
|
46
|
+
return self.symbol
|
|
47
|
+
|
|
48
|
+
def setSymbol(self, value):
|
|
49
|
+
"""
|
|
50
|
+
Sets the symbol associated with this implementation properties.
|
|
51
|
+
|
|
52
|
+
Args:
|
|
53
|
+
value: The symbol to set
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
self for method chaining
|
|
57
|
+
"""
|
|
58
|
+
self.symbol = value
|
|
59
|
+
return self
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class Code(Identifiable):
|
|
63
|
+
"""
|
|
64
|
+
Represents code descriptor in AUTOSAR models.
|
|
65
|
+
This class contains information about code artifacts and their properties used in implementations.
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
69
|
+
"""
|
|
70
|
+
Initializes the Code with a parent and short name.
|
|
71
|
+
|
|
72
|
+
Args:
|
|
73
|
+
parent: The parent ARObject that contains this code descriptor
|
|
74
|
+
short_name: The unique short name of this code descriptor
|
|
75
|
+
"""
|
|
76
|
+
super().__init__(parent, short_name)
|
|
77
|
+
|
|
78
|
+
# List of artifact descriptors for this code
|
|
79
|
+
self.artifactDescriptors: List[AutosarEngineeringObject] = []
|
|
80
|
+
# List of callback header references for this code
|
|
81
|
+
self.callbackHeaderRefs: List[RefType] = []
|
|
82
|
+
|
|
83
|
+
def addArtifactDescriptor(self, desc: AutosarEngineeringObject):
|
|
84
|
+
"""
|
|
85
|
+
Adds an artifact descriptor to this code descriptor.
|
|
86
|
+
|
|
87
|
+
Args:
|
|
88
|
+
desc: The artifact descriptor to add
|
|
89
|
+
|
|
90
|
+
Returns:
|
|
91
|
+
self for method chaining
|
|
92
|
+
"""
|
|
93
|
+
self.artifactDescriptors.append(desc)
|
|
94
|
+
return self
|
|
95
|
+
|
|
96
|
+
def getArtifactDescriptors(self, category: str = "") -> List[AutosarEngineeringObject]:
|
|
97
|
+
"""
|
|
98
|
+
Gets the list of artifact descriptors, optionally filtered by category.
|
|
99
|
+
|
|
100
|
+
Args:
|
|
101
|
+
category: Optional category to filter descriptors by (returns all if empty)
|
|
102
|
+
|
|
103
|
+
Returns:
|
|
104
|
+
List of AutosarEngineeringObject instances matching the criteria
|
|
105
|
+
"""
|
|
106
|
+
if (category == ""):
|
|
107
|
+
return self.artifactDescriptors
|
|
108
|
+
else:
|
|
109
|
+
return list(filter(lambda a: a.getCategory().getText() == category, self.artifactDescriptors))
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class Compiler(Identifiable):
|
|
113
|
+
"""
|
|
114
|
+
Represents a compiler in AUTOSAR models.
|
|
115
|
+
This class contains information about compiler configuration used in implementations.
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
119
|
+
"""
|
|
120
|
+
Initializes the Compiler with a parent and short name.
|
|
121
|
+
|
|
122
|
+
Args:
|
|
123
|
+
parent: The parent ARObject that contains this compiler
|
|
124
|
+
short_name: The unique short name of this compiler
|
|
125
|
+
"""
|
|
126
|
+
super().__init__(parent, short_name)
|
|
127
|
+
|
|
128
|
+
# Name of the compiler
|
|
129
|
+
self.name: String = None
|
|
130
|
+
# Options used with the compiler
|
|
131
|
+
self.options: String = None
|
|
132
|
+
# Vendor information for the compiler
|
|
133
|
+
self.vendor: String = None
|
|
134
|
+
# Version of the compiler
|
|
135
|
+
self.version: String = None
|
|
136
|
+
|
|
137
|
+
def getName(self):
|
|
138
|
+
"""
|
|
139
|
+
Gets the name of the compiler.
|
|
140
|
+
|
|
141
|
+
Returns:
|
|
142
|
+
String: The compiler name
|
|
143
|
+
"""
|
|
144
|
+
return self.name
|
|
145
|
+
|
|
146
|
+
def setName(self, value):
|
|
147
|
+
"""
|
|
148
|
+
Sets the name of the compiler.
|
|
149
|
+
|
|
150
|
+
Args:
|
|
151
|
+
value: The compiler name to set
|
|
152
|
+
|
|
153
|
+
Returns:
|
|
154
|
+
self for method chaining
|
|
155
|
+
"""
|
|
156
|
+
self.name = value
|
|
157
|
+
return self
|
|
158
|
+
|
|
159
|
+
def getOptions(self):
|
|
160
|
+
"""
|
|
161
|
+
Gets the options used with the compiler.
|
|
162
|
+
|
|
163
|
+
Returns:
|
|
164
|
+
String: The compiler options
|
|
165
|
+
"""
|
|
166
|
+
return self.options
|
|
167
|
+
|
|
168
|
+
def setOptions(self, value):
|
|
169
|
+
"""
|
|
170
|
+
Sets the options used with the compiler.
|
|
171
|
+
|
|
172
|
+
Args:
|
|
173
|
+
value: The compiler options to set
|
|
174
|
+
|
|
175
|
+
Returns:
|
|
176
|
+
self for method chaining
|
|
177
|
+
"""
|
|
178
|
+
self.options = value
|
|
179
|
+
return self
|
|
180
|
+
|
|
181
|
+
def getVendor(self):
|
|
182
|
+
"""
|
|
183
|
+
Gets the vendor information for the compiler.
|
|
184
|
+
|
|
185
|
+
Returns:
|
|
186
|
+
String: The compiler vendor
|
|
187
|
+
"""
|
|
188
|
+
return self.vendor
|
|
189
|
+
|
|
190
|
+
def setVendor(self, value):
|
|
191
|
+
"""
|
|
192
|
+
Sets the vendor information for the compiler.
|
|
193
|
+
|
|
194
|
+
Args:
|
|
195
|
+
value: The compiler vendor to set
|
|
196
|
+
|
|
197
|
+
Returns:
|
|
198
|
+
self for method chaining
|
|
199
|
+
"""
|
|
200
|
+
self.vendor = value
|
|
201
|
+
return self
|
|
202
|
+
|
|
203
|
+
def getVersion(self):
|
|
204
|
+
"""
|
|
205
|
+
Gets the version of the compiler.
|
|
206
|
+
|
|
207
|
+
Returns:
|
|
208
|
+
String: The compiler version
|
|
209
|
+
"""
|
|
210
|
+
return self.version
|
|
211
|
+
|
|
212
|
+
def setVersion(self, value):
|
|
213
|
+
"""
|
|
214
|
+
Sets the version of the compiler.
|
|
215
|
+
|
|
216
|
+
Args:
|
|
217
|
+
value: The compiler version to set
|
|
218
|
+
|
|
219
|
+
Returns:
|
|
220
|
+
self for method chaining
|
|
221
|
+
"""
|
|
222
|
+
self.version = value
|
|
223
|
+
return self
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class DependencyOnArtifact(Identifiable):
|
|
227
|
+
"""
|
|
228
|
+
Represents a dependency on an artifact in AUTOSAR models.
|
|
229
|
+
This class defines dependencies on artifacts required by implementations such as compilers, linkers, etc.
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
233
|
+
"""
|
|
234
|
+
Initializes the DependencyOnArtifact with a parent and short name.
|
|
235
|
+
|
|
236
|
+
Args:
|
|
237
|
+
parent: The parent ARObject that contains this dependency
|
|
238
|
+
short_name: The unique short name of this dependency
|
|
239
|
+
"""
|
|
240
|
+
super().__init__(parent, short_name)
|
|
241
|
+
|
|
242
|
+
# Artifact descriptor that this dependency references
|
|
243
|
+
self.artifactDescriptor: AutosarEngineeringObject = None
|
|
244
|
+
# Usage type of this dependency
|
|
245
|
+
self.usage = None
|
|
246
|
+
|
|
247
|
+
def getArtifactDescriptor(self):
|
|
248
|
+
"""
|
|
249
|
+
Gets the artifact descriptor that this dependency references.
|
|
250
|
+
|
|
251
|
+
Returns:
|
|
252
|
+
AutosarEngineeringObject: The artifact descriptor
|
|
253
|
+
"""
|
|
254
|
+
return self.artifactDescriptor
|
|
255
|
+
|
|
256
|
+
def setArtifactDescriptor(self, value):
|
|
257
|
+
"""
|
|
258
|
+
Sets the artifact descriptor that this dependency references.
|
|
259
|
+
|
|
260
|
+
Args:
|
|
261
|
+
value: The artifact descriptor to set
|
|
262
|
+
|
|
263
|
+
Returns:
|
|
264
|
+
self for method chaining
|
|
265
|
+
"""
|
|
266
|
+
self.artifactDescriptor = value
|
|
267
|
+
return self
|
|
268
|
+
|
|
269
|
+
def getUsage(self):
|
|
270
|
+
"""
|
|
271
|
+
Gets the usage type of this dependency.
|
|
272
|
+
|
|
273
|
+
Returns:
|
|
274
|
+
DependencyUsageEnum: The usage type
|
|
275
|
+
"""
|
|
276
|
+
return self.usage
|
|
277
|
+
|
|
278
|
+
def setUsage(self, value):
|
|
279
|
+
"""
|
|
280
|
+
Sets the usage type of this dependency.
|
|
281
|
+
|
|
282
|
+
Args:
|
|
283
|
+
value: The usage type to set
|
|
284
|
+
|
|
285
|
+
Returns:
|
|
286
|
+
self for method chaining
|
|
287
|
+
"""
|
|
288
|
+
self.usage = value
|
|
289
|
+
return self
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
class Implementation(ARElement, ABC):
|
|
293
|
+
"""
|
|
294
|
+
Abstract base class for implementations in AUTOSAR models.
|
|
295
|
+
This class serves as a base for defining software implementations including code, compilers, dependencies, and resource consumption information.
|
|
296
|
+
"""
|
|
297
|
+
|
|
298
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
299
|
+
"""
|
|
300
|
+
Initializes the Implementation with a parent and short name.
|
|
301
|
+
Raises TypeError if this abstract class is instantiated directly.
|
|
302
|
+
|
|
303
|
+
Args:
|
|
304
|
+
parent: The parent ARObject that contains this implementation
|
|
305
|
+
short_name: The unique short name of this implementation
|
|
306
|
+
"""
|
|
307
|
+
if type(self) is Implementation:
|
|
308
|
+
raise TypeError("Implementation is an abstract class.")
|
|
309
|
+
|
|
310
|
+
super().__init__(parent, short_name)
|
|
311
|
+
|
|
312
|
+
# Reference to the build action manifest for this implementation
|
|
313
|
+
self.buildActionManifestRef: RefType = None
|
|
314
|
+
# List of code descriptors for this implementation
|
|
315
|
+
self.codeDescriptors: List['Code'] = []
|
|
316
|
+
# List of compilers used in this implementation
|
|
317
|
+
self.compilers: List['Compiler'] = []
|
|
318
|
+
# List of generated artifacts for this implementation
|
|
319
|
+
self.generatedArtifacts: List['DependencyOnArtifact'] = []
|
|
320
|
+
# List of hardware element references for this implementation
|
|
321
|
+
self.hwElementRefs: List[RefType] = []
|
|
322
|
+
# List of linkers used in this implementation
|
|
323
|
+
self.linkers: List = []
|
|
324
|
+
# Microcontroller support information for this implementation
|
|
325
|
+
self.mcSupport = None
|
|
326
|
+
# Programming language used in this implementation
|
|
327
|
+
self.programmingLanguage = None
|
|
328
|
+
# List of required artifacts for this implementation
|
|
329
|
+
self.requiredArtifacts: List['DependencyOnArtifact'] = []
|
|
330
|
+
# List of required generator tools for this implementation
|
|
331
|
+
self.requiredGeneratorTools: List['DependencyOnArtifact'] = []
|
|
332
|
+
# Resource consumption information for this implementation
|
|
333
|
+
self.resourceConsumption: ResourceConsumption = None
|
|
334
|
+
# Reference to software component/BSW mapping for this implementation
|
|
335
|
+
self.swcBswMappingRef: RefType = None
|
|
336
|
+
# Software version information for this implementation
|
|
337
|
+
self.swVersion: List[RevisionLabelString] = []
|
|
338
|
+
# Code generator used for this implementation
|
|
339
|
+
self.usedCodeGenerator: String = None
|
|
340
|
+
# Vendor ID for this implementation
|
|
341
|
+
self.vendorId: PositiveInteger = 0
|
|
342
|
+
|
|
343
|
+
def getBuildActionManifestRef(self):
|
|
344
|
+
"""
|
|
345
|
+
Gets the reference to the build action manifest for this implementation.
|
|
346
|
+
|
|
347
|
+
Returns:
|
|
348
|
+
RefType: The build action manifest reference
|
|
349
|
+
"""
|
|
350
|
+
return self.buildActionManifestRef
|
|
351
|
+
|
|
352
|
+
def setBuildActionManifestRef(self, value):
|
|
353
|
+
"""
|
|
354
|
+
Sets the reference to the build action manifest for this implementation.
|
|
355
|
+
|
|
356
|
+
Args:
|
|
357
|
+
value: The build action manifest reference to set
|
|
358
|
+
|
|
359
|
+
Returns:
|
|
360
|
+
self for method chaining
|
|
361
|
+
"""
|
|
362
|
+
self.buildActionManifestRef = value
|
|
363
|
+
return self
|
|
364
|
+
|
|
365
|
+
def getCodeDescriptors(self) -> List['Code']:
|
|
366
|
+
"""
|
|
367
|
+
Gets all code descriptors from the elements list in this implementation.
|
|
368
|
+
|
|
369
|
+
Returns:
|
|
370
|
+
List of Code instances in this implementation
|
|
371
|
+
"""
|
|
372
|
+
return list(filter(lambda a: isinstance(a, Code), self.elements))
|
|
373
|
+
|
|
374
|
+
def createCodeDescriptor(self, short_name: str) -> 'Code':
|
|
375
|
+
"""
|
|
376
|
+
Creates and adds a Code descriptor to this implementation.
|
|
377
|
+
|
|
378
|
+
Args:
|
|
379
|
+
short_name: The short name for the new code descriptor
|
|
380
|
+
|
|
381
|
+
Returns:
|
|
382
|
+
The created Code instance
|
|
383
|
+
"""
|
|
384
|
+
if (short_name not in self.elements):
|
|
385
|
+
code_descriptor = Code(self, short_name)
|
|
386
|
+
self.addElement(code_descriptor)
|
|
387
|
+
self.codeDescriptors.append(code_descriptor)
|
|
388
|
+
return self.getElement(short_name)
|
|
389
|
+
|
|
390
|
+
def getCompilers(self):
|
|
391
|
+
"""
|
|
392
|
+
Gets the list of compilers used in this implementation.
|
|
393
|
+
|
|
394
|
+
Returns:
|
|
395
|
+
List of Compiler instances
|
|
396
|
+
"""
|
|
397
|
+
return self.compilers
|
|
398
|
+
|
|
399
|
+
def setCompilers(self, value):
|
|
400
|
+
"""
|
|
401
|
+
Sets the list of compilers used in this implementation.
|
|
402
|
+
Only sets the value if it is not None.
|
|
403
|
+
|
|
404
|
+
Args:
|
|
405
|
+
value: The list of compilers to set
|
|
406
|
+
|
|
407
|
+
Returns:
|
|
408
|
+
self for method chaining
|
|
409
|
+
"""
|
|
410
|
+
self.compilers = value
|
|
411
|
+
return self
|
|
412
|
+
|
|
413
|
+
def getGeneratedArtifacts(self):
|
|
414
|
+
"""
|
|
415
|
+
Gets the list of generated artifacts for this implementation.
|
|
416
|
+
|
|
417
|
+
Returns:
|
|
418
|
+
List of DependencyOnArtifact instances
|
|
419
|
+
"""
|
|
420
|
+
return self.generatedArtifacts
|
|
421
|
+
|
|
422
|
+
def setGeneratedArtifacts(self, value):
|
|
423
|
+
"""
|
|
424
|
+
Sets the list of generated artifacts for this implementation.
|
|
425
|
+
Only sets the value if it is not None.
|
|
426
|
+
|
|
427
|
+
Args:
|
|
428
|
+
value: The list of generated artifacts to set
|
|
429
|
+
|
|
430
|
+
Returns:
|
|
431
|
+
self for method chaining
|
|
432
|
+
"""
|
|
433
|
+
self.generatedArtifacts = value
|
|
434
|
+
return self
|
|
435
|
+
|
|
436
|
+
def getHwElementRefs(self):
|
|
437
|
+
"""
|
|
438
|
+
Gets the list of hardware element references for this implementation.
|
|
439
|
+
|
|
440
|
+
Returns:
|
|
441
|
+
List of RefType instances
|
|
442
|
+
"""
|
|
443
|
+
return self.hwElementRefs
|
|
444
|
+
|
|
445
|
+
def setHwElementRefs(self, value):
|
|
446
|
+
"""
|
|
447
|
+
Sets the list of hardware element references for this implementation.
|
|
448
|
+
Only sets the value if it is not None.
|
|
449
|
+
|
|
450
|
+
Args:
|
|
451
|
+
value: The list of hardware element references to set
|
|
452
|
+
|
|
453
|
+
Returns:
|
|
454
|
+
self for method chaining
|
|
455
|
+
"""
|
|
456
|
+
self.hwElementRefs = value
|
|
457
|
+
return self
|
|
458
|
+
|
|
459
|
+
def getLinkers(self):
|
|
460
|
+
"""
|
|
461
|
+
Gets the list of linkers used in this implementation.
|
|
462
|
+
|
|
463
|
+
Returns:
|
|
464
|
+
List of Linker instances
|
|
465
|
+
"""
|
|
466
|
+
return self.linkers
|
|
467
|
+
|
|
468
|
+
def setLinkers(self, value):
|
|
469
|
+
"""
|
|
470
|
+
Sets the list of linkers used in this implementation.
|
|
471
|
+
Only sets the value if it is not None.
|
|
472
|
+
|
|
473
|
+
Args:
|
|
474
|
+
value: The list of linkers to set
|
|
475
|
+
|
|
476
|
+
Returns:
|
|
477
|
+
self for method chaining
|
|
478
|
+
"""
|
|
479
|
+
self.linkers = value
|
|
480
|
+
return self
|
|
481
|
+
|
|
482
|
+
def getMcSupport(self):
|
|
483
|
+
"""
|
|
484
|
+
Gets the microcontroller support information for this implementation.
|
|
485
|
+
|
|
486
|
+
Returns:
|
|
487
|
+
Microcontroller support information
|
|
488
|
+
"""
|
|
489
|
+
return self.mcSupport
|
|
490
|
+
|
|
491
|
+
def setMcSupport(self, value):
|
|
492
|
+
"""
|
|
493
|
+
Sets the microcontroller support information for this implementation.
|
|
494
|
+
|
|
495
|
+
Args:
|
|
496
|
+
value: The microcontroller support information to set
|
|
497
|
+
|
|
498
|
+
Returns:
|
|
499
|
+
self for method chaining
|
|
500
|
+
"""
|
|
501
|
+
self.mcSupport = value
|
|
502
|
+
return self
|
|
503
|
+
|
|
504
|
+
def getProgrammingLanguage(self):
|
|
505
|
+
"""
|
|
506
|
+
Gets the programming language used in this implementation.
|
|
507
|
+
|
|
508
|
+
Returns:
|
|
509
|
+
ProgramminglanguageEnum: The programming language
|
|
510
|
+
"""
|
|
511
|
+
return self.programmingLanguage
|
|
512
|
+
|
|
513
|
+
def setProgrammingLanguage(self, value):
|
|
514
|
+
"""
|
|
515
|
+
Sets the programming language used in this implementation.
|
|
516
|
+
Only sets the value if it is not None.
|
|
517
|
+
|
|
518
|
+
Args:
|
|
519
|
+
value: The programming language to set
|
|
520
|
+
|
|
521
|
+
Returns:
|
|
522
|
+
self for method chaining
|
|
523
|
+
"""
|
|
524
|
+
self.programmingLanguage = value
|
|
525
|
+
return self
|
|
526
|
+
|
|
527
|
+
def getRequiredArtifacts(self):
|
|
528
|
+
"""
|
|
529
|
+
Gets the list of required artifacts for this implementation.
|
|
530
|
+
|
|
531
|
+
Returns:
|
|
532
|
+
List of DependencyOnArtifact instances
|
|
533
|
+
"""
|
|
534
|
+
return self.requiredArtifacts
|
|
535
|
+
|
|
536
|
+
def setRequiredArtifacts(self, value):
|
|
537
|
+
"""
|
|
538
|
+
Sets the list of required artifacts for this implementation.
|
|
539
|
+
Only sets the value if it is not None.
|
|
540
|
+
|
|
541
|
+
Args:
|
|
542
|
+
value: The list of required artifacts to set
|
|
543
|
+
|
|
544
|
+
Returns:
|
|
545
|
+
self for method chaining
|
|
546
|
+
"""
|
|
547
|
+
self.requiredArtifacts = value
|
|
548
|
+
return self
|
|
549
|
+
|
|
550
|
+
def getRequiredGeneratorTools(self):
|
|
551
|
+
"""
|
|
552
|
+
Gets the list of required generator tools for this implementation.
|
|
553
|
+
|
|
554
|
+
Returns:
|
|
555
|
+
List of DependencyOnArtifact instances
|
|
556
|
+
"""
|
|
557
|
+
return self.requiredGeneratorTools
|
|
558
|
+
|
|
559
|
+
def setRequiredGeneratorTools(self, value):
|
|
560
|
+
"""
|
|
561
|
+
Sets the list of required generator tools for this implementation.
|
|
562
|
+
Only sets the value if it is not None.
|
|
563
|
+
|
|
564
|
+
Args:
|
|
565
|
+
value: The list of required generator tools to set
|
|
566
|
+
|
|
567
|
+
Returns:
|
|
568
|
+
self for method chaining
|
|
569
|
+
"""
|
|
570
|
+
self.requiredGeneratorTools = value
|
|
571
|
+
return self
|
|
572
|
+
|
|
573
|
+
def getResourceConsumption(self):
|
|
574
|
+
"""
|
|
575
|
+
Gets the resource consumption information for this implementation.
|
|
576
|
+
|
|
577
|
+
Returns:
|
|
578
|
+
ResourceConsumption: The resource consumption information
|
|
579
|
+
"""
|
|
580
|
+
return self.resourceConsumption
|
|
581
|
+
|
|
582
|
+
def createResourceConsumption(self, short_name: str) -> ResourceConsumption:
|
|
583
|
+
"""
|
|
584
|
+
Creates and adds a ResourceConsumption to this implementation.
|
|
585
|
+
|
|
586
|
+
Args:
|
|
587
|
+
short_name: The short name for the new resource consumption
|
|
588
|
+
|
|
589
|
+
Returns:
|
|
590
|
+
The created ResourceConsumption instance
|
|
591
|
+
"""
|
|
592
|
+
if (short_name not in self.elements):
|
|
593
|
+
consumption = ResourceConsumption(self, short_name)
|
|
594
|
+
self.addElement(consumption)
|
|
595
|
+
self.resourceConsumption = consumption
|
|
596
|
+
return self.getElement(short_name)
|
|
597
|
+
|
|
598
|
+
def getSwcBswMappingRef(self):
|
|
599
|
+
"""
|
|
600
|
+
Gets the reference to software component/BSW mapping for this implementation.
|
|
601
|
+
|
|
602
|
+
Returns:
|
|
603
|
+
RefType: The SWC/BSW mapping reference
|
|
604
|
+
"""
|
|
605
|
+
return self.swcBswMappingRef
|
|
606
|
+
|
|
607
|
+
def setSwcBswMappingRef(self, value):
|
|
608
|
+
"""
|
|
609
|
+
Sets the reference to software component/BSW mapping for this implementation.
|
|
610
|
+
Only sets the value if it is not None.
|
|
611
|
+
|
|
612
|
+
Args:
|
|
613
|
+
value: The SWC/BSW mapping reference to set
|
|
614
|
+
|
|
615
|
+
Returns:
|
|
616
|
+
self for method chaining
|
|
617
|
+
"""
|
|
618
|
+
self.swcBswMappingRef = value
|
|
619
|
+
return self
|
|
620
|
+
|
|
621
|
+
def getSwVersion(self):
|
|
622
|
+
"""
|
|
623
|
+
Gets the software version information for this implementation.
|
|
624
|
+
|
|
625
|
+
Returns:
|
|
626
|
+
RevisionLabelString: The software version information
|
|
627
|
+
"""
|
|
628
|
+
return self.swVersion
|
|
629
|
+
|
|
630
|
+
def setSwVersion(self, value):
|
|
631
|
+
"""
|
|
632
|
+
Sets the software version information for this implementation.
|
|
633
|
+
Only sets the value if it is not None.
|
|
634
|
+
|
|
635
|
+
Args:
|
|
636
|
+
value: The software version information to set
|
|
637
|
+
|
|
638
|
+
Returns:
|
|
639
|
+
self for method chaining
|
|
640
|
+
"""
|
|
641
|
+
self.swVersion = value
|
|
642
|
+
return self
|
|
643
|
+
|
|
644
|
+
def getUsedCodeGenerator(self):
|
|
645
|
+
"""
|
|
646
|
+
Gets the code generator used for this implementation.
|
|
647
|
+
|
|
648
|
+
Returns:
|
|
649
|
+
String: The used code generator
|
|
650
|
+
"""
|
|
651
|
+
return self.usedCodeGenerator
|
|
652
|
+
|
|
653
|
+
def setUsedCodeGenerator(self, value):
|
|
654
|
+
"""
|
|
655
|
+
Sets the code generator used for this implementation.
|
|
656
|
+
Only sets the value if it is not None.
|
|
657
|
+
|
|
658
|
+
Args:
|
|
659
|
+
value: The used code generator to set
|
|
660
|
+
|
|
661
|
+
Returns:
|
|
662
|
+
self for method chaining
|
|
663
|
+
"""
|
|
664
|
+
self.usedCodeGenerator = value
|
|
665
|
+
return self
|
|
666
|
+
|
|
667
|
+
def getVendorId(self):
|
|
668
|
+
"""
|
|
669
|
+
Gets the vendor ID for this implementation.
|
|
670
|
+
|
|
671
|
+
Returns:
|
|
672
|
+
PositiveInteger: The vendor ID
|
|
673
|
+
"""
|
|
674
|
+
return self.vendorId
|
|
675
|
+
|
|
676
|
+
def setVendorId(self, value):
|
|
677
|
+
"""
|
|
678
|
+
Sets the vendor ID for this implementation.
|
|
679
|
+
Only sets the value if it is not None.
|
|
680
|
+
|
|
681
|
+
Args:
|
|
682
|
+
value: The vendor ID to set
|
|
683
|
+
|
|
684
|
+
Returns:
|
|
685
|
+
self for method chaining
|
|
686
|
+
"""
|
|
687
|
+
self.vendorId = value
|
|
688
|
+
return self
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
class DependencyUsageEnum(AREnum):
|
|
697
|
+
"""
|
|
698
|
+
Enumeration for dependency usage.
|
|
699
|
+
"""
|
|
700
|
+
|
|
701
|
+
OPTIONAL = "optional"
|
|
702
|
+
REQUIRED = "required"
|
|
703
|
+
|
|
704
|
+
def __init__(self):
|
|
705
|
+
super().__init__((
|
|
706
|
+
DependencyUsageEnum.OPTIONAL,
|
|
707
|
+
DependencyUsageEnum.REQUIRED,
|
|
708
|
+
))
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
class Linker(ARObject):
|
|
712
|
+
"""
|
|
713
|
+
Represents a linker configuration in AUTOSAR.
|
|
714
|
+
This class defines linker settings for implementation.
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
def __init__(self):
|
|
718
|
+
"""
|
|
719
|
+
Initializes the Linker with default values.
|
|
720
|
+
"""
|
|
721
|
+
super().__init__()
|
|
722
|
+
self.linkerName: str = None
|
|
723
|
+
self.linkerOptions: str = None
|
|
724
|
+
|
|
725
|
+
def getLinkerName(self):
|
|
726
|
+
return self.linkerName
|
|
727
|
+
|
|
728
|
+
def setLinkerName(self, value):
|
|
729
|
+
self.linkerName = value
|
|
730
|
+
return self
|
|
731
|
+
|
|
732
|
+
def getLinkerOptions(self):
|
|
733
|
+
return self.linkerOptions
|
|
734
|
+
|
|
735
|
+
def setLinkerOptions(self, value):
|
|
736
|
+
self.linkerOptions = value
|
|
737
|
+
return self
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
class ProgramminglanguageEnum(AREnum):
|
|
741
|
+
"""
|
|
742
|
+
Enumeration for programming languages.
|
|
743
|
+
"""
|
|
744
|
+
|
|
745
|
+
C = "C"
|
|
746
|
+
CPP = "C++"
|
|
747
|
+
JAVA = "Java"
|
|
748
|
+
PYTHON = "Python"
|
|
749
|
+
|
|
750
|
+
def __init__(self):
|
|
751
|
+
super().__init__((
|
|
752
|
+
ProgramminglanguageEnum.C,
|
|
753
|
+
ProgramminglanguageEnum.CPP,
|
|
754
|
+
ProgramminglanguageEnum.JAVA,
|
|
755
|
+
ProgramminglanguageEnum.PYTHON,
|
|
756
|
+
))
|