armodel 1.8.6__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 -296
- 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 -792
- 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/BswModuleTemplate/__init__.py +0 -4
- 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 -85
- 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.6.dist-info → armodel-1.9.1.dist-info}/METADATA +850 -656
- armodel-1.9.1.dist-info/RECORD +273 -0
- {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/WHEEL +1 -1
- {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/entry_points.txt +0 -1
- {armodel-1.8.6.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.6.dist-info/RECORD +0 -360
- {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/top_level.txt +0 -0
|
@@ -1,641 +1,647 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
from
|
|
9
|
-
from
|
|
10
|
-
|
|
11
|
-
from
|
|
12
|
-
from
|
|
13
|
-
from
|
|
14
|
-
from
|
|
15
|
-
from
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
self.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
self
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
def
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
self.nvDatas
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
def
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
def
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
self.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
self
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
def
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
def
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
self.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
self
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
def
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
def
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
self.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
self
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
def
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
def
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
self.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
self
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
return self
|
|
171
|
-
|
|
172
|
-
def
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
return self.getElement(short_name, VariableDataPrototype)
|
|
177
|
-
|
|
178
|
-
def
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
def
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
def
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
def
|
|
290
|
-
if (not self.IsElementExists(short_name)):
|
|
291
|
-
|
|
292
|
-
self.addElement(
|
|
293
|
-
return self.getElement(short_name,
|
|
294
|
-
|
|
295
|
-
def
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
return
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
def
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
def
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
self.
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
self
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
def
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
self.
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
self
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
self
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
self
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
def
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
self.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
self
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
self
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
self
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
self
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
self
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
def
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
def
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
self.dataMappings
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
def
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
def
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
mapping
|
|
574
|
-
self.
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
mapping
|
|
581
|
-
self.
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
mapping
|
|
588
|
-
self.
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
1
|
+
"""
|
|
2
|
+
This module contains classes for representing AUTOSAR port interfaces
|
|
3
|
+
in the SWComponentTemplate module. It includes various types of port
|
|
4
|
+
interfaces such as sender/receiver, client/server, mode switch, and
|
|
5
|
+
parameter interfaces, as well as mapping classes for interface mappings.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from abc import ABC
|
|
9
|
+
from typing import List
|
|
10
|
+
|
|
11
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure import TextValueSpecification
|
|
12
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.TriggerDeclaration import Trigger, TriggerMapping
|
|
13
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.AbstractStructure import AtpStructureElement, AtpType, AtpBlueprintable
|
|
14
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import ARElement, Identifiable
|
|
15
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
|
|
16
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import ARLiteral, ARNumerical, ArgumentDirectionEnum, Boolean
|
|
17
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import PositiveInteger
|
|
18
|
+
from armodel.models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.DataPrototypes import ParameterDataPrototype, VariableDataPrototype, AutosarDataPrototype
|
|
19
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import ARBoolean
|
|
20
|
+
from armodel.models.M2.AUTOSARTemplates.CommonStructure.ModeDeclaration import ModeDeclarationGroupPrototype, ModeDeclarationGroupPrototypeMapping
|
|
21
|
+
from armodel.models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class PortInterface(AtpType, ABC):
|
|
25
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
26
|
+
if type(self) is PortInterface:
|
|
27
|
+
raise TypeError("PortInterface is an abstract class.")
|
|
28
|
+
super().__init__(parent, short_name)
|
|
29
|
+
|
|
30
|
+
self.isService: ARBoolean = None
|
|
31
|
+
self.serviceKind: ARLiteral = None
|
|
32
|
+
|
|
33
|
+
def getIsService(self):
|
|
34
|
+
return self.isService
|
|
35
|
+
|
|
36
|
+
def setIsService(self, value):
|
|
37
|
+
self.isService = value
|
|
38
|
+
return self
|
|
39
|
+
|
|
40
|
+
def getServiceKind(self):
|
|
41
|
+
return self.serviceKind
|
|
42
|
+
|
|
43
|
+
def setServiceKind(self, value):
|
|
44
|
+
self.serviceKind = value
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class DataInterface(PortInterface, ABC):
|
|
49
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
50
|
+
if type(self) is DataInterface:
|
|
51
|
+
raise TypeError("DataInterface is an abstract class.")
|
|
52
|
+
super().__init__(parent, short_name)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class NvDataInterface(DataInterface):
|
|
56
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
57
|
+
super().__init__(parent, short_name)
|
|
58
|
+
|
|
59
|
+
self.nvDatas: List[VariableDataPrototype] = []
|
|
60
|
+
|
|
61
|
+
def getNvDatas(self):
|
|
62
|
+
return self.nvDatas
|
|
63
|
+
|
|
64
|
+
def setNvData(self, value):
|
|
65
|
+
self.nvDatas.append(value)
|
|
66
|
+
return self
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class ParameterInterface(DataInterface):
|
|
70
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
71
|
+
super().__init__(parent, short_name)
|
|
72
|
+
|
|
73
|
+
self.parameters: List[ParameterDataPrototype] = []
|
|
74
|
+
|
|
75
|
+
def getParameters(self):
|
|
76
|
+
return self.parameters
|
|
77
|
+
|
|
78
|
+
def createParameterDataPrototype(self, short_name: str) -> ParameterDataPrototype:
|
|
79
|
+
prototype = ParameterDataPrototype(self, short_name)
|
|
80
|
+
self.addElement(prototype)
|
|
81
|
+
self.parameters.append(prototype)
|
|
82
|
+
return prototype
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class InvalidationPolicy(ARObject):
|
|
86
|
+
def __init__(self):
|
|
87
|
+
super().__init__()
|
|
88
|
+
|
|
89
|
+
self.dataElementRef: RefType = None
|
|
90
|
+
self.handleInvalid: ARLiteral = None
|
|
91
|
+
|
|
92
|
+
def getDataElementRef(self):
|
|
93
|
+
return self.dataElementRef
|
|
94
|
+
|
|
95
|
+
def setDataElementRef(self, value):
|
|
96
|
+
self.dataElementRef = value
|
|
97
|
+
return self
|
|
98
|
+
|
|
99
|
+
def getHandleInvalid(self):
|
|
100
|
+
return self.handleInvalid
|
|
101
|
+
|
|
102
|
+
def setHandleInvalid(self, value):
|
|
103
|
+
self.handleInvalid = value
|
|
104
|
+
return self
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class MetaDataItem(ARObject):
|
|
108
|
+
def __init__(self):
|
|
109
|
+
super().__init__()
|
|
110
|
+
|
|
111
|
+
self.length: PositiveInteger = None
|
|
112
|
+
self.metaDataItemType: TextValueSpecification = None
|
|
113
|
+
|
|
114
|
+
def getLength(self):
|
|
115
|
+
return self.length
|
|
116
|
+
|
|
117
|
+
def setLength(self, value):
|
|
118
|
+
self.length = value
|
|
119
|
+
return self
|
|
120
|
+
|
|
121
|
+
def getMetaDataItemType(self):
|
|
122
|
+
return self.metaDataItemType
|
|
123
|
+
|
|
124
|
+
def setMetaDataItemType(self, value):
|
|
125
|
+
self.metaDataItemType = value
|
|
126
|
+
return self
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class MetaDataItemSet(ARObject):
|
|
130
|
+
def __init__(self):
|
|
131
|
+
super().__init__()
|
|
132
|
+
|
|
133
|
+
self.dataElementRefs: List[RefType] = []
|
|
134
|
+
self.metaDataItems: List[MetaDataItem] = []
|
|
135
|
+
|
|
136
|
+
def getDataElementRefs(self):
|
|
137
|
+
return self.dataElementRefs
|
|
138
|
+
|
|
139
|
+
def addDataElementRef(self, value):
|
|
140
|
+
self.dataElementRefs.append(value)
|
|
141
|
+
return self
|
|
142
|
+
|
|
143
|
+
def getMetaDataItems(self):
|
|
144
|
+
return self.metaDataItems
|
|
145
|
+
|
|
146
|
+
def addMetaDataItem(self, value):
|
|
147
|
+
self.metaDataItems.append(value)
|
|
148
|
+
return self
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class SenderReceiverInterface(DataInterface):
|
|
152
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
153
|
+
super().__init__(parent, short_name)
|
|
154
|
+
|
|
155
|
+
self.invalidationPolicies: List[InvalidationPolicy] = []
|
|
156
|
+
self.metaDataItemSets: List[MetaDataItemSet] = []
|
|
157
|
+
|
|
158
|
+
def getInvalidationPolicies(self):
|
|
159
|
+
return self.invalidationPolicies
|
|
160
|
+
|
|
161
|
+
def addInvalidationPolicy(self, value):
|
|
162
|
+
self.invalidationPolicies.append(value)
|
|
163
|
+
return self
|
|
164
|
+
|
|
165
|
+
def getMetaDataItemSets(self):
|
|
166
|
+
return self.metaDataItemSets
|
|
167
|
+
|
|
168
|
+
def addMetaDataItemSet(self, value):
|
|
169
|
+
self.metaDataItemSets.append(value)
|
|
170
|
+
return self
|
|
171
|
+
|
|
172
|
+
def createDataElement(self, short_name) -> VariableDataPrototype:
|
|
173
|
+
if (not self.IsElementExists(short_name)):
|
|
174
|
+
data_element = VariableDataPrototype(self, short_name)
|
|
175
|
+
self.addElement(data_element)
|
|
176
|
+
return self.getElement(short_name, VariableDataPrototype)
|
|
177
|
+
|
|
178
|
+
def getDataElements(self) -> List[VariableDataPrototype]:
|
|
179
|
+
return list(filter(lambda c: isinstance(c, VariableDataPrototype), self.elements))
|
|
180
|
+
|
|
181
|
+
def getDataElement(self, short_name) -> VariableDataPrototype:
|
|
182
|
+
return self.getElement(short_name, VariableDataPrototype)
|
|
183
|
+
|
|
184
|
+
def createInvalidationPolicy(self) -> InvalidationPolicy:
|
|
185
|
+
policy = InvalidationPolicy()
|
|
186
|
+
self.invalidationPolicies.append(policy)
|
|
187
|
+
return policy
|
|
188
|
+
|
|
189
|
+
def getInvalidationPolicys(self) -> List[InvalidationPolicy]:
|
|
190
|
+
return list(filter(lambda c: isinstance(c, InvalidationPolicy), self.invalidationPolicies))
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
class ArgumentDataPrototype(AutosarDataPrototype):
|
|
194
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
195
|
+
super().__init__(parent, short_name)
|
|
196
|
+
|
|
197
|
+
self.direction: ArgumentDirectionEnum = None
|
|
198
|
+
self.serverArgumentImplPolicy = None
|
|
199
|
+
|
|
200
|
+
def getDirection(self):
|
|
201
|
+
return self.direction
|
|
202
|
+
|
|
203
|
+
def setDirection(self, value):
|
|
204
|
+
if value is not None:
|
|
205
|
+
self.direction = value
|
|
206
|
+
return self
|
|
207
|
+
|
|
208
|
+
def getServerArgumentImplPolicy(self):
|
|
209
|
+
return self.serverArgumentImplPolicy
|
|
210
|
+
|
|
211
|
+
def setServerArgumentImplPolicy(self, value):
|
|
212
|
+
if value is not None:
|
|
213
|
+
self.serverArgumentImplPolicy = value
|
|
214
|
+
return self
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
class ApplicationError(Identifiable):
|
|
218
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
219
|
+
super().__init__(parent, short_name)
|
|
220
|
+
|
|
221
|
+
self.error_code: ARNumerical = None
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
class ClientServerOperation(AtpStructureElement):
|
|
225
|
+
"""
|
|
226
|
+
An operation declared within the scope of a client/server interface.
|
|
227
|
+
Package: M2::AUTOSARTemplates::SWComponentTemplate::PortInterface
|
|
228
|
+
Base: ARObject, AtpClassifier , AtpBlueprintable, AtpStructureElement, Identifiable, MultilanguageReferrable, Referrable
|
|
229
|
+
|
|
230
|
+
Attributes:
|
|
231
|
+
-----------
|
|
232
|
+
_argument: ArgumentDataPrototype (optional)
|
|
233
|
+
An argument of this ClientServerOperation
|
|
234
|
+
|
|
235
|
+
_possibleError: RefType -> ApplicationError (optional)
|
|
236
|
+
Possible errors that may by raised by the referring operation
|
|
237
|
+
|
|
238
|
+
Methods:
|
|
239
|
+
--------
|
|
240
|
+
addArgumentDataPrototype add the argument
|
|
241
|
+
getArgumentDataPrototypes get the arguments
|
|
242
|
+
addPossibleErrorRef add the possible error
|
|
243
|
+
getPossbileErrorRefs get the possible errors
|
|
244
|
+
|
|
245
|
+
"""
|
|
246
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
247
|
+
super().__init__(parent, short_name)
|
|
248
|
+
|
|
249
|
+
self.arguments: List[ArgumentDataPrototype] = []
|
|
250
|
+
self.possibleErrorRefs: List[RefType] = []
|
|
251
|
+
|
|
252
|
+
def getArguments(self):
|
|
253
|
+
return self.arguments
|
|
254
|
+
|
|
255
|
+
def createArgumentDataPrototype(self, short_name):
|
|
256
|
+
if not self.IsElementExists(short_name):
|
|
257
|
+
prototype = ArgumentDataPrototype(self, short_name)
|
|
258
|
+
self.addElement(prototype)
|
|
259
|
+
self.arguments.append(prototype)
|
|
260
|
+
return self.getElement(short_name)
|
|
261
|
+
|
|
262
|
+
def getPossibleErrorRefs(self):
|
|
263
|
+
return self.possibleErrorRefs
|
|
264
|
+
|
|
265
|
+
def addPossibleErrorRef(self, value):
|
|
266
|
+
if value is not None:
|
|
267
|
+
self.possibleErrorRefs.append(value)
|
|
268
|
+
return self
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
class ClientServerInterface(PortInterface):
|
|
272
|
+
"""
|
|
273
|
+
A client/server interface declares a number of operations that can be invoked on a server by a client.
|
|
274
|
+
Package: M2::AUTOSARTemplates::SWComponentTemplate::PortInterface
|
|
275
|
+
Base: ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier , AtpType, CollectableElement, Identifiable, MultilanguageReferrable,
|
|
276
|
+
PackageableElement, PortInterface, Referrable
|
|
277
|
+
|
|
278
|
+
Methods:
|
|
279
|
+
--------
|
|
280
|
+
createOperation create ClientServerOperation(s) of this ClientServerInterface.
|
|
281
|
+
createApplicationError create Application errors that are defined as part of this interface
|
|
282
|
+
getOperations get all ClientServerOperation(s) of this ClientServerInterface
|
|
283
|
+
getPossibleErrors get all Application error(s) of this ClientServerInterface
|
|
284
|
+
|
|
285
|
+
"""
|
|
286
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
287
|
+
super().__init__(parent, short_name)
|
|
288
|
+
|
|
289
|
+
def createOperation(self, short_name: str) -> ClientServerOperation:
|
|
290
|
+
if (not self.IsElementExists(short_name)):
|
|
291
|
+
operation = ClientServerOperation(self, short_name)
|
|
292
|
+
self.addElement(operation)
|
|
293
|
+
return self.getElement(short_name, ClientServerOperation)
|
|
294
|
+
|
|
295
|
+
def createApplicationError(self, short_name: str) -> ApplicationError:
|
|
296
|
+
if (not self.IsElementExists(short_name)):
|
|
297
|
+
error = ApplicationError(self, short_name)
|
|
298
|
+
self.addElement(error)
|
|
299
|
+
return self.getElement(short_name, ApplicationError)
|
|
300
|
+
|
|
301
|
+
def getOperations(self) -> List[ClientServerOperation]:
|
|
302
|
+
return list(filter(lambda c: isinstance(c, ClientServerOperation), self.elements))
|
|
303
|
+
|
|
304
|
+
def getPossibleErrors(self) -> List[ApplicationError]:
|
|
305
|
+
return list(filter(lambda c: isinstance(c, ApplicationError), self.elements))
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
class TriggerInterface(PortInterface):
|
|
309
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
310
|
+
super().__init__(parent, short_name)
|
|
311
|
+
|
|
312
|
+
self._triggers: List[Trigger] = []
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
class ModeSwitchInterface(PortInterface):
|
|
316
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
317
|
+
super().__init__(parent, short_name)
|
|
318
|
+
|
|
319
|
+
self._modeGroup: List[ModeDeclarationGroupPrototype] = []
|
|
320
|
+
|
|
321
|
+
def createModeGroup(self, short_name: str) -> ModeDeclarationGroupPrototype:
|
|
322
|
+
if not self.IsElementExists(short_name):
|
|
323
|
+
prototype = ModeDeclarationGroupPrototype(self, short_name)
|
|
324
|
+
self.addElement(prototype)
|
|
325
|
+
return self.getElement(short_name, ModeDeclarationGroupPrototype)
|
|
326
|
+
|
|
327
|
+
def getModeGroups(self) -> List[ModeDeclarationGroupPrototype]:
|
|
328
|
+
return list(sorted(filter(lambda c: isinstance(c, ModeDeclarationGroupPrototype), self.elements), key=lambda o: o.short_name))
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
class PortInterfaceMapping(AtpBlueprintable, ABC):
|
|
332
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
333
|
+
if type(self) is PortInterfaceMapping:
|
|
334
|
+
raise TypeError("PortInterfaceMapping is an abstract class.")
|
|
335
|
+
super().__init__(parent, short_name)
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
class ClientServerApplicationErrorMapping(ARObject):
|
|
339
|
+
def __init__(self):
|
|
340
|
+
super().__init__()
|
|
341
|
+
|
|
342
|
+
self.firstApplicationErrorRef: RefType = None
|
|
343
|
+
self.secondApplicationErrorRef: RefType = None
|
|
344
|
+
|
|
345
|
+
def getFirstApplicationErrorRef(self):
|
|
346
|
+
return self.firstApplicationErrorRef
|
|
347
|
+
|
|
348
|
+
def setFirstApplicationErrorRef(self, value):
|
|
349
|
+
self.firstApplicationErrorRef = value
|
|
350
|
+
return self
|
|
351
|
+
|
|
352
|
+
def getSecondApplicationErrorRef(self):
|
|
353
|
+
return self.secondApplicationErrorRef
|
|
354
|
+
|
|
355
|
+
def setSecondApplicationErrorRef(self, value):
|
|
356
|
+
self.secondApplicationErrorRef = value
|
|
357
|
+
return self
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
class ClientServerOperationMapping(ARObject):
|
|
361
|
+
def __init__(self):
|
|
362
|
+
super().__init__()
|
|
363
|
+
|
|
364
|
+
self.argumentMappings: List['DataPrototypeMapping'] = []
|
|
365
|
+
self.firstOperationRef: RefType = None
|
|
366
|
+
self.firstToSecondDataTransformationRef: RefType = None
|
|
367
|
+
self.secondOperationRef: RefType = None
|
|
368
|
+
|
|
369
|
+
def getArgumentMappings(self):
|
|
370
|
+
return self.argumentMappings
|
|
371
|
+
|
|
372
|
+
def addArgumentMapping(self, value):
|
|
373
|
+
self.argumentMappings.append(value)
|
|
374
|
+
return self
|
|
375
|
+
|
|
376
|
+
def getFirstOperationRef(self):
|
|
377
|
+
return self.firstOperationRef
|
|
378
|
+
|
|
379
|
+
def setFirstOperationRef(self, value):
|
|
380
|
+
self.firstOperationRef = value
|
|
381
|
+
return self
|
|
382
|
+
|
|
383
|
+
def getFirstToSecondDataTransformationRef(self):
|
|
384
|
+
return self.firstToSecondDataTransformationRef
|
|
385
|
+
|
|
386
|
+
def setFirstToSecondDataTransformationRef(self, value):
|
|
387
|
+
self.firstToSecondDataTransformationRef = value
|
|
388
|
+
return self
|
|
389
|
+
|
|
390
|
+
def getSecondOperationRef(self):
|
|
391
|
+
return self.secondOperationRef
|
|
392
|
+
|
|
393
|
+
def setSecondOperationRef(self, value):
|
|
394
|
+
self.secondOperationRef = value
|
|
395
|
+
return self
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
class DataPrototypeMapping(ARObject):
|
|
399
|
+
def __init__(self):
|
|
400
|
+
super().__init__()
|
|
401
|
+
|
|
402
|
+
self.firstDataPrototypeRef: RefType = None
|
|
403
|
+
self.firstToSecondDataTransformationRef: RefType = None
|
|
404
|
+
self.secondDataPrototypeRef: RefType = None
|
|
405
|
+
self.secondToFirstDataTransformationRef: RefType = None
|
|
406
|
+
self.subElementMappings = []
|
|
407
|
+
self.textTableMappings: List['TextTableMapping'] = []
|
|
408
|
+
|
|
409
|
+
def getFirstDataPrototypeRef(self):
|
|
410
|
+
return self.firstDataPrototypeRef
|
|
411
|
+
|
|
412
|
+
def setFirstDataPrototypeRef(self, value):
|
|
413
|
+
self.firstDataPrototypeRef = value
|
|
414
|
+
return self
|
|
415
|
+
|
|
416
|
+
def getFirstToSecondDataTransformationRef(self):
|
|
417
|
+
return self.firstToSecondDataTransformationRef
|
|
418
|
+
|
|
419
|
+
def setFirstToSecondDataTransformationRef(self, value):
|
|
420
|
+
self.firstToSecondDataTransformationRef = value
|
|
421
|
+
return self
|
|
422
|
+
|
|
423
|
+
def getSecondDataPrototypeRef(self):
|
|
424
|
+
return self.secondDataPrototypeRef
|
|
425
|
+
|
|
426
|
+
def setSecondDataPrototypeRef(self, value):
|
|
427
|
+
self.secondDataPrototypeRef = value
|
|
428
|
+
return self
|
|
429
|
+
|
|
430
|
+
def getSecondToFirstDataTransformationRef(self):
|
|
431
|
+
return self.secondToFirstDataTransformationRef
|
|
432
|
+
|
|
433
|
+
def setSecondToFirstDataTransformationRef(self, value):
|
|
434
|
+
self.secondToFirstDataTransformationRef = value
|
|
435
|
+
return self
|
|
436
|
+
|
|
437
|
+
def getSubElementMappings(self):
|
|
438
|
+
return self.subElementMappings
|
|
439
|
+
|
|
440
|
+
def setSubElementMappings(self, value):
|
|
441
|
+
self.subElementMappings = value
|
|
442
|
+
return self
|
|
443
|
+
|
|
444
|
+
def getTextTableMappings(self):
|
|
445
|
+
return self.textTableMappings
|
|
446
|
+
|
|
447
|
+
def setTextTableMappings(self, value):
|
|
448
|
+
self.textTableMappings = value
|
|
449
|
+
return self
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
class ClientServerInterfaceMapping(PortInterfaceMapping):
|
|
453
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
454
|
+
super().__init__(parent, short_name)
|
|
455
|
+
|
|
456
|
+
self.errorMappings: List['ClientServerApplicationErrorMapping'] = []
|
|
457
|
+
self.operationMappings: List['ClientServerOperationMapping'] = []
|
|
458
|
+
|
|
459
|
+
def getErrorMappings(self):
|
|
460
|
+
return self.errorMappings
|
|
461
|
+
|
|
462
|
+
def addErrorMapping(self, value):
|
|
463
|
+
if value is not None:
|
|
464
|
+
self.errorMappings.append(value)
|
|
465
|
+
return self
|
|
466
|
+
|
|
467
|
+
def getOperationMappings(self):
|
|
468
|
+
return self.operationMappings
|
|
469
|
+
|
|
470
|
+
def addOperationMapping(self, value):
|
|
471
|
+
if value is not None:
|
|
472
|
+
self.operationMappings.append(value)
|
|
473
|
+
return self
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
class VariableAndParameterInterfaceMapping(PortInterfaceMapping):
|
|
477
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
478
|
+
super().__init__(parent, short_name)
|
|
479
|
+
|
|
480
|
+
self.dataMappings: List['DataPrototypeMapping'] = []
|
|
481
|
+
|
|
482
|
+
def getDataMappings(self):
|
|
483
|
+
return self.dataMappings
|
|
484
|
+
|
|
485
|
+
def addDataMapping(self, value):
|
|
486
|
+
self.dataMappings.append(value)
|
|
487
|
+
return self
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
class ModeInterfaceMapping(PortInterfaceMapping):
|
|
491
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
492
|
+
super().__init__(parent, short_name)
|
|
493
|
+
|
|
494
|
+
self.modeMapping: 'ModeDeclarationGroupPrototypeMapping' = None
|
|
495
|
+
|
|
496
|
+
def getModeMapping(self):
|
|
497
|
+
return self.modeMapping
|
|
498
|
+
|
|
499
|
+
def setModeMapping(self, value):
|
|
500
|
+
if value is not None:
|
|
501
|
+
self.modeMapping = value
|
|
502
|
+
return self
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
class TriggerInterfaceMapping(PortInterfaceMapping):
|
|
506
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
507
|
+
super().__init__(parent, short_name)
|
|
508
|
+
|
|
509
|
+
self.triggerMapping: List[TriggerMapping] = []
|
|
510
|
+
|
|
511
|
+
def getTriggerMapping(self) -> List[TriggerMapping]:
|
|
512
|
+
return self.triggerMapping
|
|
513
|
+
|
|
514
|
+
def setTriggerMapping(self, value: List[TriggerMapping]):
|
|
515
|
+
if value is not None:
|
|
516
|
+
self.triggerMapping = value
|
|
517
|
+
return self
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
class ModeDeclarationMapping(AtpStructureElement):
|
|
521
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
522
|
+
super().__init__(parent, short_name)
|
|
523
|
+
|
|
524
|
+
self.firstModeRefs: List[RefType] = []
|
|
525
|
+
self.secondModeRef: RefType = []
|
|
526
|
+
|
|
527
|
+
def getFirstModeRefs(self) -> List[RefType]:
|
|
528
|
+
return self.firstModeRefs
|
|
529
|
+
|
|
530
|
+
def addFirstModeRef(self, value: 'RefType'):
|
|
531
|
+
if value is not None:
|
|
532
|
+
self.firstModeRefs.append(value)
|
|
533
|
+
return self
|
|
534
|
+
|
|
535
|
+
def getSecondModeRef(self) -> RefType:
|
|
536
|
+
return self.secondModeRef
|
|
537
|
+
|
|
538
|
+
def setSecondModeRef(self, value: RefType):
|
|
539
|
+
if value is not None:
|
|
540
|
+
self.secondModeRef = value
|
|
541
|
+
return self
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
class ModeDeclarationMappingSet(AtpType):
|
|
545
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
546
|
+
super().__init__(parent, short_name)
|
|
547
|
+
|
|
548
|
+
self.modeDeclarationMappings: List[ModeDeclarationMapping] = []
|
|
549
|
+
|
|
550
|
+
def getModeDeclarationMappings(self) -> List[ModeDeclarationMapping]:
|
|
551
|
+
return self.modeDeclarationMappings
|
|
552
|
+
|
|
553
|
+
def createModeDeclarationMapping(self, short_name: str) -> ModeDeclarationMapping:
|
|
554
|
+
if (not self.IsElementExists(short_name)):
|
|
555
|
+
mapping = ModeDeclarationMapping(self, short_name)
|
|
556
|
+
self.addElement(mapping)
|
|
557
|
+
self.modeDeclarationMappings.append(mapping)
|
|
558
|
+
return self.getElement(short_name)
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
class PortInterfaceMappingSet(AtpBlueprintable):
|
|
562
|
+
def __init__(self, parent: ARObject, short_name: str):
|
|
563
|
+
super().__init__(parent, short_name)
|
|
564
|
+
|
|
565
|
+
self.portInterfaceMappings = [] # type: List[PortInterfaceMapping]
|
|
566
|
+
|
|
567
|
+
def getPortInterfaceMappings(self):
|
|
568
|
+
return self.portInterfaceMappings
|
|
569
|
+
|
|
570
|
+
def createVariableAndParameterInterfaceMapping(self, short_name: str):
|
|
571
|
+
if (not self.IsElementExists(short_name)):
|
|
572
|
+
mapping = VariableAndParameterInterfaceMapping(self, short_name)
|
|
573
|
+
self.addElement(mapping)
|
|
574
|
+
self.portInterfaceMappings.append(mapping)
|
|
575
|
+
return self.getElement(short_name)
|
|
576
|
+
|
|
577
|
+
def createClientServerInterfaceMapping(self, short_name: str):
|
|
578
|
+
if (not self.IsElementExists(short_name)):
|
|
579
|
+
mapping = ClientServerInterfaceMapping(self, short_name)
|
|
580
|
+
self.addElement(mapping)
|
|
581
|
+
self.portInterfaceMappings.append(mapping)
|
|
582
|
+
return self.getElement(short_name)
|
|
583
|
+
|
|
584
|
+
def createModeInterfaceMapping(self, short_name: str):
|
|
585
|
+
if (not self.IsElementExists(short_name)):
|
|
586
|
+
mapping = ModeInterfaceMapping(self, short_name)
|
|
587
|
+
self.addElement(mapping)
|
|
588
|
+
self.portInterfaceMappings.append(mapping)
|
|
589
|
+
return self.getElement(short_name)
|
|
590
|
+
|
|
591
|
+
def createTriggerInterfaceMapping(self, short_name: str):
|
|
592
|
+
if (not self.IsElementExists(short_name)):
|
|
593
|
+
mapping = TriggerInterfaceMapping(self, short_name)
|
|
594
|
+
self.addElement(mapping)
|
|
595
|
+
self.portInterfaceMappings.append(mapping)
|
|
596
|
+
return self.getElement(short_name)
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
class TextTableMapping(ARObject):
|
|
600
|
+
def __init__(self):
|
|
601
|
+
super().__init__()
|
|
602
|
+
|
|
603
|
+
self.bitfieldTextTableMaskFirst: PositiveInteger = None
|
|
604
|
+
self.bitfieldTextTableMaskSecond: PositiveInteger = None
|
|
605
|
+
self.identicalMapping: Boolean = None
|
|
606
|
+
self.mappingDirection = None
|
|
607
|
+
self.valuePairs = []
|
|
608
|
+
|
|
609
|
+
def getBitfieldTextTableMaskFirst(self):
|
|
610
|
+
return self.bitfieldTextTableMaskFirst
|
|
611
|
+
|
|
612
|
+
def setBitfieldTextTableMaskFirst(self, value):
|
|
613
|
+
if value is not None:
|
|
614
|
+
self.bitfieldTextTableMaskFirst = value
|
|
615
|
+
return self
|
|
616
|
+
|
|
617
|
+
def getBitfieldTextTableMaskSecond(self):
|
|
618
|
+
return self.bitfieldTextTableMaskSecond
|
|
619
|
+
|
|
620
|
+
def setBitfieldTextTableMaskSecond(self, value):
|
|
621
|
+
if value is not None:
|
|
622
|
+
self.bitfieldTextTableMaskSecond = value
|
|
623
|
+
return self
|
|
624
|
+
|
|
625
|
+
def getIdenticalMapping(self):
|
|
626
|
+
return self.identicalMapping
|
|
627
|
+
|
|
628
|
+
def setIdenticalMapping(self, value):
|
|
629
|
+
if value is not None:
|
|
630
|
+
self.identicalMapping = value
|
|
631
|
+
return self
|
|
632
|
+
|
|
633
|
+
def getMappingDirection(self):
|
|
634
|
+
return self.mappingDirection
|
|
635
|
+
|
|
636
|
+
def setMappingDirection(self, value):
|
|
637
|
+
if value is not None:
|
|
638
|
+
self.mappingDirection = value
|
|
639
|
+
return self
|
|
640
|
+
|
|
641
|
+
def getValuePairs(self):
|
|
642
|
+
return self.valuePairs
|
|
643
|
+
|
|
644
|
+
def setValuePairs(self, value):
|
|
645
|
+
if value is not None:
|
|
646
|
+
self.valuePairs = value
|
|
647
|
+
return self
|