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.
Files changed (431) hide show
  1. armodel/__init__.py +19 -3
  2. armodel/cli/arxml_dump_cli.py +196 -197
  3. armodel/cli/arxml_format_cli.py +84 -84
  4. armodel/cli/connector2xlsx_cli.py +73 -73
  5. armodel/cli/connector_update_cli.py +73 -73
  6. armodel/cli/file_list_cli.py +69 -69
  7. armodel/cli/format_xml_cli.py +62 -62
  8. armodel/cli/memory_section_cli.py +74 -75
  9. armodel/cli/swc_list_cli.py +79 -79
  10. armodel/cli/system_signal_cli.py +73 -73
  11. armodel/cli/uuid_checker_cli.py +95 -95
  12. armodel/data_models/sw_connector.py +21 -21
  13. armodel/lib/__init__.py +4 -4
  14. armodel/lib/cli_args_parser.py +36 -35
  15. armodel/lib/sw_component.py +34 -35
  16. armodel/lib/system_signal.py +36 -36
  17. armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/FirewallRule.py +62 -0
  18. armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/FirewallRuleProps.py +83 -0
  19. armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/StateDependentFirewall.py +62 -0
  20. armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/Firewall/__init__.py +5 -0
  21. armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/PlatformModuleDeployment/__init__.py +3 -0
  22. armodel/models/M2/AUTOSARTemplates/AdaptivePlatform/__init__.py +3 -0
  23. armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure/__init__.py +320 -0
  24. armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py +315 -296
  25. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswAsynchronousServerCallReturnsEvent.py +27 -0
  26. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswExclusiveAreaPolicy.py +22 -0
  27. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswInterruptEvent.py +18 -0
  28. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeManagerErrorEvent.py +18 -0
  29. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswModeReceiverPolicy.py +22 -0
  30. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswSchedulerNamePrefix.py +26 -0
  31. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswServiceDependency.py +27 -0
  32. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/BswTriggerDirectImplementation.py +21 -0
  33. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior/RoleBasedBswModuleEntryAssignment.py +35 -0
  34. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py +2223 -792
  35. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswImplementation.py +180 -60
  36. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationship.py +26 -0
  37. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationshipEnum.py +24 -0
  38. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces/BswEntryRelationshipSet.py +24 -0
  39. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces.py +586 -200
  40. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview/ModeInBswModuleDescriptionInstanceRef.py +17 -0
  41. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview.py +445 -179
  42. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__init__.py +0 -4
  43. armodel/models/M2/AUTOSARTemplates/CommonStructure/Constants/__init__.py +670 -0
  44. armodel/models/M2/AUTOSARTemplates/CommonStructure/Filter.py +243 -96
  45. armodel/models/M2/AUTOSARTemplates/CommonStructure/FlatMap.py +273 -69
  46. armodel/models/M2/AUTOSARTemplates/CommonStructure/Implementation.py +756 -243
  47. armodel/models/M2/AUTOSARTemplates/CommonStructure/ImplementationDataTypes.py +336 -170
  48. armodel/models/M2/AUTOSARTemplates/CommonStructure/InternalBehavior.py +430 -136
  49. armodel/models/M2/AUTOSARTemplates/CommonStructure/McGroups.py +53 -0
  50. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/ImplementationElementInParameterInstanceRef.py +15 -0
  51. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McDataAccessDetails.py +60 -0
  52. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McDataInstance.py +62 -0
  53. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McFunction.py +62 -0
  54. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McParameterElementGroup.py +39 -0
  55. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McSupportData.py +62 -0
  56. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/McSwEmulationMethodSupport.py +37 -0
  57. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RoleBasedMcDataAssignment.py +61 -0
  58. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/McFunctionDataRefSet.py +39 -0
  59. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptAccessEnum.py +12 -0
  60. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptComponent.py +60 -0
  61. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptEnablerImplTypeEnum.py +11 -0
  62. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutableEntity.py +62 -0
  63. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutableEntityEvent.py +62 -0
  64. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutionContext.py +38 -0
  65. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptExecutionControlEnum.py +11 -0
  66. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptPreparationEnum.py +11 -0
  67. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptServicePoint.py +62 -0
  68. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptSupportData.py +111 -0
  69. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/RptSwPrototypingAccess.py +62 -0
  70. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/RptSupport/__init__.py +27 -0
  71. armodel/models/M2/AUTOSARTemplates/CommonStructure/MeasurementCalibrationSupport/__init__.py +19 -0
  72. armodel/models/M2/AUTOSARTemplates/CommonStructure/ModeDeclaration.py +424 -148
  73. armodel/models/M2/AUTOSARTemplates/CommonStructure/ModeDeclarationExtra.py +73 -0
  74. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/ExecutionTime/__init__.py +132 -0
  75. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/HardwareConfiguration.py +93 -32
  76. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/HeapUsage.py +78 -10
  77. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/MemorySectionUsage.py +239 -81
  78. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/SoftwareContext.py +68 -23
  79. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/StackUsage.py +274 -92
  80. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__init__.py +135 -53
  81. armodel/models/M2/AUTOSARTemplates/CommonStructure/ServiceNeeds.py +2955 -839
  82. armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationControlEnum.py +11 -0
  83. armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationElementProps.py +37 -0
  84. armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationEventProps.py +37 -0
  85. armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationProps.py +38 -0
  86. armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/SignalServiceTranslationPropsSet.py +38 -0
  87. armodel/models/M2/AUTOSARTemplates/CommonStructure/SignalServiceTranslation/__init__.py +13 -0
  88. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/AbstractBlueprintStructure/AtpBlueprint.py +32 -0
  89. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/AbstractBlueprintStructure/__init__.py +7 -0
  90. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/PortPrototypeBlueprint.py +186 -73
  91. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__init__.py +10 -0
  92. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintGenerator/BlueprintGenerator.py +37 -0
  93. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintGenerator/__init__.py +3 -0
  94. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintMapping/BlueprintMappingSet.py +38 -0
  95. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintMapping/__init__.py +3 -0
  96. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/Keyword.py +126 -45
  97. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__init__.py +5 -0
  98. armodel/models/M2/AUTOSARTemplates/CommonStructure/SwcBswMapping.py +290 -77
  99. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/TDLETZoneClock.py +61 -0
  100. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/TimingClock.py +60 -0
  101. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/TimingClockSyncAccuracy.py +60 -0
  102. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingClock/__init__.py +5 -0
  103. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/ModeInBswInstanceRef.py +14 -0
  104. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/ModeInSwcInstanceRef.py +14 -0
  105. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingCondition.py +61 -0
  106. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingConditionFormula.py +37 -0
  107. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingExtensionResource.py +60 -0
  108. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/TimingModeInstance.py +61 -0
  109. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingCondition/__init__.py +15 -0
  110. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/AgeConstraint.py +57 -0
  111. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/EventTriggeringConstraint.py +203 -0
  112. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/ExecutionOrderConstraint.py +193 -45
  113. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/ExecutionTimeConstraint.py +101 -0
  114. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/LatencyTimingConstraint.py +100 -0
  115. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/OffsetConstraint.py +56 -0
  116. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/SynchronizationPointConstraint.py +57 -0
  117. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/SynchronizationTiming.py +117 -0
  118. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/TimingConstraint.py +59 -24
  119. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/TimingExtensions.py +69 -32
  120. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__init__.py +48 -0
  121. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/Traceable.py +11 -0
  122. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/__init__.py +16 -0
  123. armodel/models/M2/AUTOSARTemplates/CommonStructure/TriggerDeclaration.py +147 -52
  124. armodel/models/M2/AUTOSARTemplates/CommonStructure/__init__.py +17 -205
  125. armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/DiagnosticCommonElement.py +11 -0
  126. armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/DiagnosticContribution.py +137 -47
  127. armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/__init__.py +10 -0
  128. armodel/models/M2/AUTOSARTemplates/ECUCDescriptionTemplate.py +285 -346
  129. armodel/models/M2/AUTOSARTemplates/ECUCParameterDefTemplate.py +1561 -1249
  130. armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/HwAttributeValue.py +117 -0
  131. armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/HwElementCategory.py +176 -59
  132. armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/HwElementConnector.py +73 -0
  133. armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__init__.py +401 -145
  134. armodel/models/M2/AUTOSARTemplates/GenericStructure/AbstractStructure.py +293 -92
  135. armodel/models/M2/AUTOSARTemplates/GenericStructure/DocumentationOnM1/__init__.py +39 -0
  136. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py +1314 -816
  137. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/AnyInstanceRef.py +88 -0
  138. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ArObject.py +37 -17
  139. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ElementCollection.py +197 -74
  140. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/EngineeringObject.py +129 -51
  141. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/Enumerations.py +16 -0
  142. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/Identifiable.py +599 -236
  143. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/PrimitiveTypes.py +902 -594
  144. armodel/models/M2/AUTOSARTemplates/GenericStructure/LifeCycles.py +395 -155
  145. armodel/models/M2/AUTOSARTemplates/GenericStructure/RolesAndRights/AtpDefinition.py +36 -0
  146. armodel/models/M2/AUTOSARTemplates/GenericStructure/RolesAndRights/__init__.py +7 -0
  147. armodel/models/M2/AUTOSARTemplates/GenericStructure/VariantHandling/AttributeValueVariationPoints/__init__.py +36 -0
  148. armodel/models/M2/AUTOSARTemplates/GenericStructure/VariantHandling/__init__.py +182 -0
  149. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/ApplicationAttributes/__init__.py +97 -0
  150. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py +784 -712
  151. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/InstanceRefs.py +186 -179
  152. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__init__.py +363 -463
  153. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/InstanceRefs.py +160 -154
  154. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__init__.py +160 -100
  155. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/DataPrototypes.py +145 -145
  156. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/Datatypes.py +137 -131
  157. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/EndToEndProtection.py +191 -184
  158. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/InstanceRefs.py +45 -39
  159. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__init__.py +647 -641
  160. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/RPTScenario.py +21 -17
  161. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SoftwareComponentDocumentation.py +84 -80
  162. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwComponentType.py +76 -0
  163. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcImplementation.py +37 -34
  164. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/AccessCount.py +26 -21
  165. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/AutosarVariableRef.py +39 -34
  166. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/DataElements.py +57 -52
  167. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/IncludedDataTypes.py +32 -24
  168. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/InstanceRefsUsage.py +160 -155
  169. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ModeDeclarationGroup.py +68 -63
  170. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PerInstanceMemory.py +46 -40
  171. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PortAPIOptions.py +91 -86
  172. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py +219 -206
  173. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServerCall.py +33 -26
  174. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServiceMapping.py +148 -137
  175. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Trigger.py +54 -49
  176. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__init__.py +488 -489
  177. armodel/models/M2/AUTOSARTemplates/SystemTemplate/DataMapping.py +334 -259
  178. armodel/models/M2/AUTOSARTemplates/SystemTemplate/DiagnosticConnection.py +62 -58
  179. armodel/models/M2/AUTOSARTemplates/SystemTemplate/DoIp.py +48 -29
  180. armodel/models/M2/AUTOSARTemplates/SystemTemplate/{EcuResourceMapping.py → ECUResourceMapping.py} +48 -45
  181. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanCommunication.py +139 -122
  182. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanTopology.py +628 -344
  183. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__init__.py +2 -0
  184. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetCommunication.py +267 -244
  185. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetFrame.py +30 -16
  186. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetTopology.py +750 -685
  187. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/NetworkEndpoint.py +375 -327
  188. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/ServiceInstances.py +924 -975
  189. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/FlexrayCommunication.py +92 -76
  190. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/FlexrayTopology.py +669 -654
  191. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/LinCommunication.py +193 -149
  192. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/LinTopology.py +110 -92
  193. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Multiplatform.py +205 -205
  194. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreCommunication.py +1376 -1232
  195. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreTopology.py +800 -662
  196. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/EcuInstance.py +269 -270
  197. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/Timing.py +172 -172
  198. armodel/models/M2/AUTOSARTemplates/SystemTemplate/InstanceRefs.py +90 -87
  199. armodel/models/M2/AUTOSARTemplates/SystemTemplate/NetworkManagement.py +899 -789
  200. armodel/models/M2/AUTOSARTemplates/SystemTemplate/RteEventToOsTaskMapping.py +43 -35
  201. armodel/models/M2/AUTOSARTemplates/SystemTemplate/SWmapping.py +65 -52
  202. armodel/models/M2/AUTOSARTemplates/SystemTemplate/SecureCommunication.py +105 -83
  203. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Transformer/__init__.py +574 -524
  204. armodel/models/M2/AUTOSARTemplates/SystemTemplate/TransportProtocols.py +739 -658
  205. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__init__.py +493 -458
  206. armodel/models/M2/MSR/AsamHdo/AdminData.py +150 -136
  207. armodel/models/M2/MSR/AsamHdo/BaseTypes.py +95 -76
  208. armodel/models/M2/MSR/AsamHdo/ComputationMethod.py +367 -329
  209. armodel/models/M2/MSR/AsamHdo/Constraints/GlobalConstraints.py +58 -41
  210. armodel/models/M2/MSR/AsamHdo/SpecialData.py +99 -87
  211. armodel/models/M2/MSR/AsamHdo/Units.py +159 -105
  212. armodel/models/M2/MSR/CalibrationData/CalibrationValue.py +55 -57
  213. armodel/models/M2/MSR/DataDictionary/AuxillaryObjects.py +40 -41
  214. armodel/models/M2/MSR/DataDictionary/Axis.py +142 -144
  215. armodel/models/M2/MSR/DataDictionary/CalibrationParameter.py +35 -36
  216. armodel/models/M2/MSR/DataDictionary/DataDefProperties.py +383 -351
  217. armodel/models/M2/MSR/DataDictionary/RecordLayout.py +207 -209
  218. armodel/models/M2/MSR/DataDictionary/ServiceProcessTask.py +31 -33
  219. armodel/models/M2/MSR/DataDictionary/SystemConstant.py +32 -0
  220. armodel/models/M2/MSR/Documentation/Annotation.py +40 -41
  221. armodel/models/M2/MSR/Documentation/BlockElements/Figure.py +162 -163
  222. armodel/models/M2/MSR/Documentation/BlockElements/Formula/__init__.py +26 -0
  223. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/ListElements.py +55 -56
  224. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/PaginationAndView.py +35 -30
  225. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__init__.py +110 -110
  226. armodel/models/M2/MSR/Documentation/TextModel/LanguageDataModel.py +57 -44
  227. armodel/models/M2/MSR/Documentation/TextModel/MultilanguageData.py +59 -58
  228. armodel/models/M2/MSR/Documentation/__init__.py +3 -3
  229. armodel/models/M2/MSR/documentation/__init__.py +3 -0
  230. armodel/models/__init__.py +86 -85
  231. armodel/models/utils/uuid_mgr.py +28 -29
  232. armodel/parser/__init__.py +2 -2
  233. armodel/parser/abstract_arxml_parser.py +323 -325
  234. armodel/parser/arxml_parser.py +5832 -5830
  235. armodel/parser/connector_xlsx_parser.py +192 -193
  236. armodel/parser/excel_parser.py +17 -17
  237. armodel/parser/file_parser.py +46 -46
  238. armodel/report/__init__.py +1 -1
  239. armodel/report/connector_xls_report.py +76 -77
  240. armodel/report/excel_report.py +41 -41
  241. armodel/transformer/abstract.py +6 -6
  242. armodel/transformer/admin_data.py +31 -31
  243. armodel/writer/__init__.py +1 -1
  244. armodel/writer/abstract_arxml_writer.py +146 -147
  245. armodel/writer/arxml_writer.py +5969 -5965
  246. {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/METADATA +850 -656
  247. armodel-1.9.1.dist-info/RECORD +273 -0
  248. {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/WHEEL +1 -1
  249. {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/entry_points.txt +0 -1
  250. {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info/licenses}/LICENSE +21 -21
  251. armodel/__pycache__/__init__.cpython-312.pyc +0 -0
  252. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswBehavior.cpython-312.pyc +0 -0
  253. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswImplementation.cpython-312.pyc +0 -0
  254. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswInterfaces.cpython-312.pyc +0 -0
  255. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/BswOverview.cpython-312.pyc +0 -0
  256. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
  257. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/HardwareConfiguration.cpython-312.pyc +0 -0
  258. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/HeapUsage.cpython-312.pyc +0 -0
  259. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/MemorySectionUsage.cpython-312.pyc +0 -0
  260. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/SoftwareContext.cpython-312.pyc +0 -0
  261. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/StackUsage.cpython-312.pyc +0 -0
  262. armodel/models/M2/AUTOSARTemplates/CommonStructure/ResourceConsumption/__pycache__/__init__.cpython-312.pyc +0 -0
  263. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__pycache__/PortPrototypeBlueprint.cpython-312.pyc +0 -0
  264. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__pycache__/__init__.cpython-312.pyc +0 -0
  265. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__pycache__/Keyword.cpython-312.pyc +0 -0
  266. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
  267. armodel/models/M2/AUTOSARTemplates/CommonStructure/SwcInternalBehavior/ModeDeclarationGroup.py +0 -24
  268. armodel/models/M2/AUTOSARTemplates/CommonStructure/SwcInternalBehavior/__init__.py +0 -0
  269. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/ExecutionOrderConstraint.cpython-312.pyc +0 -0
  270. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/TimingConstraint.cpython-312.pyc +0 -0
  271. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/TimingExtensions.cpython-312.pyc +0 -0
  272. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__pycache__/__init__.cpython-312.pyc +0 -0
  273. armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/__pycache__/__init__.cpython-312.pyc +0 -0
  274. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/Filter.cpython-312.pyc +0 -0
  275. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/FlatMap.cpython-312.pyc +0 -0
  276. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/Implementation.cpython-312.pyc +0 -0
  277. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ImplementationDataTypes.cpython-312.pyc +0 -0
  278. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/InternalBehavior.cpython-312.pyc +0 -0
  279. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ModeDeclaration.cpython-312.pyc +0 -0
  280. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/ServiceNeeds.cpython-312.pyc +0 -0
  281. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/SwcBswMapping.cpython-312.pyc +0 -0
  282. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/TriggerDeclaration.cpython-312.pyc +0 -0
  283. armodel/models/M2/AUTOSARTemplates/CommonStructure/__pycache__/__init__.cpython-312.pyc +0 -0
  284. armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/__pycache__/DiagnosticContribution.cpython-312.pyc +0 -0
  285. armodel/models/M2/AUTOSARTemplates/DiagnosticExtract/__pycache__/__init__.cpython-312.pyc +0 -0
  286. armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__pycache__/HwElementCategory.cpython-312.pyc +0 -0
  287. armodel/models/M2/AUTOSARTemplates/EcuResourceTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
  288. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/ARPackage.cpython-312.pyc +0 -0
  289. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/ArObject.cpython-312.pyc +0 -0
  290. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/ElementCollection.cpython-312.pyc +0 -0
  291. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/EngineeringObject.cpython-312.pyc +0 -0
  292. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/Identifiable.cpython-312.pyc +0 -0
  293. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/PrimitiveTypes.cpython-312.pyc +0 -0
  294. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__pycache__/__init__.cpython-312.pyc +0 -0
  295. armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/AbstractStructure.cpython-312.pyc +0 -0
  296. armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/LifeCycles.cpython-312.pyc +0 -0
  297. armodel/models/M2/AUTOSARTemplates/GenericStructure/__pycache__/__init__.cpython-312.pyc +0 -0
  298. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
  299. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__pycache__/__init__.cpython-312.pyc +0 -0
  300. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
  301. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Composition/__pycache__/__init__.cpython-312.pyc +0 -0
  302. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/DataPrototypes.cpython-312.pyc +0 -0
  303. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/Datatypes.cpython-312.pyc +0 -0
  304. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Datatype/__pycache__/__init__.cpython-312.pyc +0 -0
  305. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
  306. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__pycache__/__init__.cpython-312.pyc +0 -0
  307. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/AccessCount.cpython-312.pyc +0 -0
  308. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/AutosarVariableRef.cpython-312.pyc +0 -0
  309. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/DataElements.cpython-312.pyc +0 -0
  310. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/IncludedDataTypes.cpython-312.pyc +0 -0
  311. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/InstanceRefsUsage.cpython-312.pyc +0 -0
  312. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/ModeDeclarationGroup.cpython-312.pyc +0 -0
  313. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/PerInstanceMemory.cpython-312.pyc +0 -0
  314. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/PortAPIOptions.cpython-312.pyc +0 -0
  315. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/RTEEvents.cpython-312.pyc +0 -0
  316. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/ServerCall.cpython-312.pyc +0 -0
  317. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/ServiceMapping.cpython-312.pyc +0 -0
  318. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/Trigger.cpython-312.pyc +0 -0
  319. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__pycache__/__init__.cpython-312.pyc +0 -0
  320. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/Communication.cpython-312.pyc +0 -0
  321. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/EndToEndProtection.cpython-312.pyc +0 -0
  322. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/RPTScenario.cpython-312.pyc +0 -0
  323. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/SwcImplementation.cpython-312.pyc +0 -0
  324. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
  325. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__pycache__/CanCommunication.cpython-312.pyc +0 -0
  326. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__pycache__/CanTopology.cpython-312.pyc +0 -0
  327. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__pycache__/__init__.cpython-312.pyc +0 -0
  328. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/EthernetCommunication.cpython-312.pyc +0 -0
  329. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/EthernetFrame.cpython-312.pyc +0 -0
  330. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/EthernetTopology.cpython-312.pyc +0 -0
  331. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/NetworkEndpoint.cpython-312.pyc +0 -0
  332. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/ServiceInstances.cpython-312.pyc +0 -0
  333. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__pycache__/__init__.cpython-312.pyc +0 -0
  334. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/__pycache__/FlexrayCommunication.cpython-312.pyc +0 -0
  335. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/__pycache__/FlexrayTopology.cpython-312.pyc +0 -0
  336. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Flexray/__pycache__/__init__.cpython-312.pyc +0 -0
  337. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__pycache__/LinCommunication.cpython-312.pyc +0 -0
  338. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__pycache__/LinTopology.cpython-312.pyc +0 -0
  339. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__pycache__/__init__.cpython-312.pyc +0 -0
  340. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/CoreCommunication.cpython-312.pyc +0 -0
  341. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/CoreTopology.cpython-312.pyc +0 -0
  342. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/EcuInstance.cpython-312.pyc +0 -0
  343. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/Timing.cpython-312.pyc +0 -0
  344. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__pycache__/__init__.cpython-312.pyc +0 -0
  345. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/__pycache__/Fibex4Multiplatform.cpython-312.pyc +0 -0
  346. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/__pycache__/__init__.cpython-312.pyc +0 -0
  347. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Transformer/__pycache__/__init__.cpython-312.pyc +0 -0
  348. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DataMapping.cpython-312.pyc +0 -0
  349. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DiagnosticConnection.cpython-312.pyc +0 -0
  350. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/DoIp.cpython-312.pyc +0 -0
  351. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/EcuResourceMapping.cpython-312.pyc +0 -0
  352. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/InstanceRefs.cpython-312.pyc +0 -0
  353. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/NetworkManagement.cpython-312.pyc +0 -0
  354. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/RteEventToOsTaskMapping.cpython-312.pyc +0 -0
  355. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/SWmapping.cpython-312.pyc +0 -0
  356. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/SecureCommunication.cpython-312.pyc +0 -0
  357. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/TransportProtocols.cpython-312.pyc +0 -0
  358. armodel/models/M2/AUTOSARTemplates/SystemTemplate/__pycache__/__init__.cpython-312.pyc +0 -0
  359. armodel/models/M2/AUTOSARTemplates/__pycache__/AutosarTopLevelStructure.cpython-312.pyc +0 -0
  360. armodel/models/M2/AUTOSARTemplates/__pycache__/ECUCDescriptionTemplate.cpython-312.pyc +0 -0
  361. armodel/models/M2/AUTOSARTemplates/__pycache__/ECUCParameterDefTemplate.cpython-312.pyc +0 -0
  362. armodel/models/M2/AUTOSARTemplates/__pycache__/__init__.cpython-312.pyc +0 -0
  363. armodel/models/M2/MSR/AsamHdo/Constraints/__pycache__/GlobalConstraints.cpython-312.pyc +0 -0
  364. armodel/models/M2/MSR/AsamHdo/Constraints/__pycache__/__init__.cpython-312.pyc +0 -0
  365. armodel/models/M2/MSR/AsamHdo/__pycache__/AdminData.cpython-312.pyc +0 -0
  366. armodel/models/M2/MSR/AsamHdo/__pycache__/BaseTypes.cpython-312.pyc +0 -0
  367. armodel/models/M2/MSR/AsamHdo/__pycache__/ComputationMethod.cpython-312.pyc +0 -0
  368. armodel/models/M2/MSR/AsamHdo/__pycache__/SpecialData.cpython-312.pyc +0 -0
  369. armodel/models/M2/MSR/AsamHdo/__pycache__/Units.cpython-312.pyc +0 -0
  370. armodel/models/M2/MSR/AsamHdo/__pycache__/__init__.cpython-312.pyc +0 -0
  371. armodel/models/M2/MSR/CalibrationData/__pycache__/CalibrationValue.cpython-312.pyc +0 -0
  372. armodel/models/M2/MSR/CalibrationData/__pycache__/__init__.cpython-312.pyc +0 -0
  373. armodel/models/M2/MSR/DataDictionary/__pycache__/AuxillaryObjects.cpython-312.pyc +0 -0
  374. armodel/models/M2/MSR/DataDictionary/__pycache__/Axis.cpython-312.pyc +0 -0
  375. armodel/models/M2/MSR/DataDictionary/__pycache__/CalibrationParameter.cpython-312.pyc +0 -0
  376. armodel/models/M2/MSR/DataDictionary/__pycache__/DataDefProperties.cpython-312.pyc +0 -0
  377. armodel/models/M2/MSR/DataDictionary/__pycache__/RecordLayout.cpython-312.pyc +0 -0
  378. armodel/models/M2/MSR/DataDictionary/__pycache__/ServiceProcessTask.cpython-312.pyc +0 -0
  379. armodel/models/M2/MSR/DataDictionary/__pycache__/__init__.cpython-312.pyc +0 -0
  380. armodel/models/M2/MSR/Documentation/BlockElements/__pycache__/Figure.cpython-312.pyc +0 -0
  381. armodel/models/M2/MSR/Documentation/BlockElements/__pycache__/__init__.cpython-312.pyc +0 -0
  382. armodel/models/M2/MSR/Documentation/BlockElements.py +0 -18
  383. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__pycache__/ListElements.cpython-312.pyc +0 -0
  384. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__pycache__/PaginationAndView.cpython-312.pyc +0 -0
  385. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__pycache__/__init__.cpython-312.pyc +0 -0
  386. armodel/models/M2/MSR/Documentation/TextModel/__pycache__/LanguageDataModel.cpython-312.pyc +0 -0
  387. armodel/models/M2/MSR/Documentation/TextModel/__pycache__/MultilanguageData.cpython-312.pyc +0 -0
  388. armodel/models/M2/MSR/Documentation/TextModel/__pycache__/__init__.cpython-312.pyc +0 -0
  389. armodel/models/M2/MSR/Documentation/__pycache__/Annotation.cpython-312.pyc +0 -0
  390. armodel/models/M2/MSR/Documentation/__pycache__/__init__.cpython-312.pyc +0 -0
  391. armodel/models/M2/MSR/__pycache__/__init__.cpython-312.pyc +0 -0
  392. armodel/models/M2/__pycache__/__init__.cpython-312.pyc +0 -0
  393. armodel/models/__pycache__/__init__.cpython-312.pyc +0 -0
  394. armodel/models/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  395. armodel/models/utils/__pycache__/uuid_mgr.cpython-312.pyc +0 -0
  396. armodel/parser/__pycache__/__init__.cpython-312.pyc +0 -0
  397. armodel/parser/__pycache__/abstract_arxml_parser.cpython-312.pyc +0 -0
  398. armodel/parser/__pycache__/arxml_parser.cpython-312.pyc +0 -0
  399. armodel/parser/__pycache__/file_parser.cpython-312.pyc +0 -0
  400. armodel/tests/__init__.py +0 -0
  401. armodel/tests/test_armodel/__init__.py +0 -0
  402. armodel/tests/test_armodel/models/__init__.py +0 -0
  403. armodel/tests/test_armodel/models/test_ECUCParameterDefTemplate.py +0 -116
  404. armodel/tests/test_armodel/models/test_Identifiable.py +0 -85
  405. armodel/tests/test_armodel/models/test_ar_object.py +0 -154
  406. armodel/tests/test_armodel/models/test_ar_package.py +0 -304
  407. armodel/tests/test_armodel/models/test_ar_ref.py +0 -81
  408. armodel/tests/test_armodel/models/test_bsw_module_template.py +0 -52
  409. armodel/tests/test_armodel/models/test_common_structure.py +0 -82
  410. armodel/tests/test_armodel/models/test_data_dictionary.py +0 -30
  411. armodel/tests/test_armodel/models/test_data_prototype.py +0 -93
  412. armodel/tests/test_armodel/models/test_datatype.py +0 -251
  413. armodel/tests/test_armodel/models/test_general_structure.py +0 -56
  414. armodel/tests/test_armodel/models/test_implementation.py +0 -27
  415. armodel/tests/test_armodel/models/test_m2_msr.py +0 -79
  416. armodel/tests/test_armodel/models/test_port_interface.py +0 -202
  417. armodel/tests/test_armodel/models/test_port_prototype.py +0 -15
  418. armodel/tests/test_armodel/parser/__init__.py +0 -0
  419. armodel/tests/test_armodel/parser/test_arxml_parser.py +0 -53
  420. armodel/tests/test_armodel/parser/test_bsw_module_descriiption.py +0 -218
  421. armodel/tests/test_armodel/parser/test_implementation_data_type.py +0 -247
  422. armodel/tests/test_armodel/parser/test_parse_bswmd.py +0 -202
  423. armodel/tests/test_armodel/parser/test_rte_event.py +0 -142
  424. armodel/tests/test_armodel/parser/test_runnable_entity.py +0 -135
  425. armodel/tests/test_armodel/parser/test_sw_components.py +0 -484
  426. armodel/tests/test_armodel/parser/test_system.py +0 -23
  427. armodel/writer/__pycache__/__init__.cpython-312.pyc +0 -0
  428. armodel/writer/__pycache__/abstract_arxml_writer.cpython-312.pyc +0 -0
  429. armodel/writer/__pycache__/arxml_writer.cpython-312.pyc +0 -0
  430. armodel-1.8.6.dist-info/RECORD +0 -360
  431. {armodel-1.8.6.dist-info → armodel-1.9.1.dist-info}/top_level.txt +0 -0
@@ -1,656 +1,850 @@
1
- Metadata-Version: 2.1
2
- Name: armodel
3
- Version: 1.8.6
4
- Summary: the python arxml parser
5
- Home-page: http://github.com/melodypapa/py-armodel
6
- Author: melodypapa
7
- Author-email: melodypapa@outlook.com
8
- License: MIT
9
- Keywords: AUTOSAR ARXML
10
- Platform: UNKNOWN
11
- Classifier: Development Status :: 1 - Planning
12
- Classifier: Environment :: Console
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Operating System :: OS Independent
16
- Requires-Python: >=3.5
17
- Description-Content-Type: text/markdown
18
- Requires-Dist: colorama
19
- Requires-Dist: openpyxl
20
- Requires-Dist: lxml
21
- Provides-Extra: pytest
22
- Requires-Dist: pytest-cov ; extra == 'pytest'
23
-
24
- # 1. py-armodel
25
-
26
- ## 1.1. Purpose
27
-
28
- To support AUTOSAR model with python
29
-
30
- ## 1.2. Reference Documents
31
- 1. AUTOSAR_TPS_XMLSchemaProductionRules.pdf
32
- 2. AUTOSAR_TPS_ARXMLSerializationRules.pdf
33
-
34
- |Version|Documentation|Travis CI|Coverage Status|Pypi|
35
- |--|--|--|--|--|
36
- |[![GitHub version](https://badge.fury.io/gh/melodypapa%2Fpy-armodel.svg)](https://badge.fury.io/gh/melodypapa%2Fpy-armodel)|[![Documentation Status](https://readthedocs.org/projects/py-armodel/badge/?version=latest)](https://py-armodel.readthedocs.io/en/latest)|[![](https://www.travis-ci.com/melodypapa/py-armodel.svg?branch=main)](https://www.travis-ci.com/melodypapa/py-armodel)|[![Coverage Status](https://coveralls.io/repos/github/melodypapa/py-armodel/badge.svg?branch=main)](https://coveralls.io/github/melodypapa/py-armodel?branch=main)|[![PyPI version](https://badge.fury.io/py/armodel.svg)](https://badge.fury.io/py/armodel)|
37
-
38
- ## 1.3. How to create the distribution and upload to pypi
39
- 1. Run `python setup.py bdist_wheel` to generate distribution
40
- 2. Run `twine check dist/*` to check the validation of distribution
41
- 3. Run `twine upload dist/*` to upload to pypi repository
42
- 4. Check the website https://pypi.org/project/armodel/ to find out it works or not
43
-
44
- And more details can be found at https://packaging.python.org/
45
-
46
- ## 1.4. How to perform Unit test
47
-
48
- * Run `pip install pytest pytest-cov` to install pytest.
49
- * Run `pytest --cov=armodel --cov-report term-missing` to verify all the functionality.
50
-
51
- ## 1.5. How to create a distribution and wheel
52
-
53
- * Run `python setup.py sdist bdist_wheel --universal`
54
-
55
- ## 1.6. How to create the document
56
-
57
- 1. Run `pip install sphinx` to install the necessary document
58
-
59
- ## 1.7. Heritage
60
-
61
- ```
62
- - ARObject
63
- - Referrable
64
- - MultilanguageReferrable
65
- - Identifiable
66
- - PackageableElement
67
- - ARElement
68
- - AtpType
69
- - AutosarDataType
70
- - PortInterface
71
- - DataInterface
72
- - NvDataInterface
73
- - ParameterInterface
74
- - SenderReceiverInterface
75
- - BswModuleEntry
76
- - EndToEndProtectionSet
77
- - Implementation
78
- - BswImplementation
79
- - AtpFeature
80
- - AtpPrototype
81
- - AtpPrototype
82
- - DataPrototype
83
- - AutosarDataPrototype
84
- - VariableDataPrototype
85
- - ApplicationCompositeElementDataPrototype
86
- - ApplicationArrayElement
87
- - ApplicationRecordElement
88
- - AtpStructureElement
89
- - BswModuleDescription
90
- - ExecutableEntity
91
- - SwcBswMapping
92
- - PortPrototype
93
- - AbstractProvidedPortPrototype
94
- - PPortPrototype
95
- - AbstractRequiredPortPrototype
96
- - RPortPrototype
97
- - ValueSpecification
98
- - ConstantReference
99
- ```
100
-
101
- ## 1.8. CLI usages
102
-
103
- ### 1.8.1. arxml-dump
104
-
105
- **Dump all the arxml data to screen**
106
-
107
-
108
- `arxml-dump --arxml arg -h`
109
-
110
- --arxml arg The file name of arxml data
111
- -h show the help information
112
-
113
- #### 1.8.1.1. arxml-dump usage
114
-
115
- **Dump the arxml data from test1.arxml and test2.arxml**
116
-
117
- ```
118
- $arxml-dump --arxml test1.arxml --arxml test2.arxml
119
- ```
120
-
121
- ### 1.8.2. arxml-swc
122
-
123
- **List all the SwComponentType in the autosar model**
124
-
125
- usage: swc-list [-h] [-v] [-f FORMAT] [--filter FILTER] Input [Input ...]
126
-
127
- -h, --help show the help message and exit
128
- -v, --verbose Print debug information
129
- -f FORMAT, --format FORMAT
130
- Specify the short or long name of Sw-C.
131
- *short* : only print the short name of SWComponentType
132
- *long* : print the SWComponentType with ARPackage names
133
- --filter FILTER Set the filter condition.
134
- *CompositionSwComponent* : Print the CompositionSwComponent only.
135
-
136
-
137
- #### 1.8.2.1. List all the SW-Components in the specific path
138
-
139
- ```
140
- $arxml-swc <arxml_folder>
141
- ```
142
-
143
- #### 1.8.2.2. List all the CompositionSwComponent with the long name
144
-
145
- ```
146
- $arxml-swc --format long --filter CompositionSwComponent <arxml_folder>
147
- ```
148
-
149
- ### 1.8.3. connector2xlsx
150
-
151
- **Export all the SwConnector (AssemblySwConnector, DelegationSwConnector) to excel file**
152
-
153
- ```
154
- $connector2xlsx src/armodel/tests/test_files/SoftwareComponents.arxml data/SoftwareComponents.xlsx
155
- ```
156
-
157
- ### 1.8.4. connector-update
158
-
159
- **Update all the SwConnector (AssemblySwConnector, DelegationSwConnector) from excel file**
160
-
161
- ```
162
- $connector-update src/armodel/tests/test_files/SoftwareComponents.arxml data/SoftwareComponents.xlsx data/Test.arxml
163
- ```
164
-
165
-
166
- ## 1.9. API
167
-
168
- ### 1.9.1. Constructor
169
-
170
- ```
171
- ARXMLParser(options={"warning": True})
172
- ```
173
-
174
- ## 1.10. Change notes:
175
-
176
- **Version 0.1.1**
177
-
178
- Add the ARRAY category support for ImplementationDataType
179
-
180
- **Version 0.1.2**
181
-
182
- Add the AsynchronousServerCallPoint support for ARXML
183
-
184
- **Version 0.1.3**
185
-
186
- Fix the attribute intervalType of **Limit** is empty issue.
187
-
188
- **Version 1.0.0**
189
-
190
- 1. Add the logging support
191
- 2. Add the <warning> option to disable exception raised.
192
- 3. Add the BswMD support
193
-
194
- **Version 1.1.0**
195
-
196
- 1. Add the InitEvent support. (Issue #5)
197
- 2. Add the DataReceiveEvent support. (Issue #5)
198
- 3. Add the SwcModeSwitchEvent support. (Issue #5)
199
-
200
- **Version 1.2.0**
201
-
202
- 1. Add the SwcImplementation support (Issue #9)
203
- 2. Add the integer value for memory section alignment (Issue #9)
204
- 3. Remove the required attributes for the Implementation according to the AUTOSAR standard 23R-11. (Issue #9)
205
- 4. Change the START-ON-EVENT-REF to optional according to the AUTOSAR standard 23R-11. (Issue #9)
206
- 5. Change the HANDLE-OUT-OF-RANGE to optional according to the AUTOSAR standard 23R-11. (Issue #9)
207
- 6. Add the SensorActuatorSwComponentType support (Issue #9)
208
- 7. Change the CATEGORY of COMPU-METHOD to optional.
209
- 8. Change the CAN-BE-INVOKED-CONCURRENTLY to optional.
210
-
211
- **Version 1.3.0**
212
-
213
- 1. List all the SwComponentType (Issue #11)
214
- 2. Support to parse the DelegationSwConnector (Issue #12)
215
- 3. Correct the class definitions of PPortInCompositionInstanceRef and RPortInCompositionInstanceRef. (Issue #12)
216
-
217
- **Version 1.4.0**
218
-
219
- 1. Support to write the AUTOSAR model to arxml file (Issue #17)
220
- * ARPackage
221
- * CompositionSwComponent
222
- * CompuMethod
223
- * DataConstr
224
- * Unit
225
- 2. Support to read the AUTOSAR model from arxml file (Issue #17)
226
- * ConstantSpecification
227
- * DataConstr
228
- * Unit
229
-
230
- **Version 1.4.1**
231
-
232
- 1. Support to read the AUTOSAR model from arxml file (Issue #19)
233
- * ServerComSpec
234
- * PerInstanceMemory
235
- * PortDefinedArgumentValue
236
- * DataWriteAccesses
237
- * NvBlockNeeds
238
- * CompositeNetworkRepresentation
239
- * PortGroup
240
- 2. Support to write the AUTOSAR model to arxml file (Issue #19)
241
- * ServerComSpec
242
- * PerInstanceMemory
243
- * ServerCallPoint
244
- * ReadLocalVariable
245
- * WrittenLocalVariable
246
- * PortDefinedArgumentValue
247
- * RVariableInAtomicSwcInstanceRef
248
- * DataWriteAccesses
249
- * NvBlockNeeds
250
- * RecordValueSpecification
251
- * CompositeNetworkRepresentation
252
- * PortGroup
253
- 3. Move the ARPackage from the Elements.
254
-
255
- **Version 1.4.2**
256
-
257
- 1. Support to read the AUTOSAR model from arxml file (Issue #23)
258
- * EndToEndProtectionSet
259
- * EndToEndProtection
260
- * EndToEndProtectionVariablePrototype
261
- * EndToEndDescription
262
- * ApplicationArrayDataType
263
- * SwRecordLayout
264
- * SwCalprmAxisSet
265
- * SwCalprmAxis
266
- * ApplicationArrayElement
267
- * ApplicationArrayDataType
268
- * SwRecordLayoutGroup
269
- * SwRecordLayoutGroupContent
270
- 2. Support to write the AUTOSAR model to arxml file (Issue #23)
271
- * EndToEndProtectionSet
272
- * EndToEndProtection
273
- * EndToEndProtectionVariablePrototype
274
- * EndToEndDescription
275
- * ApplicationArrayDataType
276
- * SwRecordLayout
277
- * SwCalprmAxisSet
278
- * SwCalprmAxis
279
- * ApplicationArrayElement
280
- * ApplicationArrayDataType
281
- * SwRecordLayoutGroup
282
- * SwRecordLayoutGroupContent
283
- * ImplementationDataType
284
-
285
- **Version 1.4.3**
286
-
287
- 1. Support to write the AUTOSAR model to arxml file (Issue #25)
288
- * BswCalledEntity
289
- * BswSchedulableEntity
290
- * BswImplementation
291
- * ServiceSwComponentType
292
- * DataTypeMappingSet
293
- * ModeRequestTypeMap
294
- * PortInterface
295
- * ModeInterface
296
- 2. Support ot read the AUTOSAR model to arxml file (Issue #25)
297
- * ServiceSwComponentType
298
- * ModeRequestTypeMap
299
- * PortInterface
300
- * ModeInterface
301
- 3. Refactor the Base ARType
302
- * ARFloat
303
- * ARNumerical
304
- * ARLiteral
305
- 4. Fix Issue #22 - raise wrong Exception: Invalid ResourceConsumption of Implementation
306
-
307
- **Version 1.5.0**
308
-
309
- 1. Fix the old ARElement (Issue #27)
310
- * InitEvent
311
- * SwcTiming
312
- * ConstantMemory
313
- * ModeSwitchReceiverComSpec
314
- * MODE-ACCESS-POINTS
315
- 2. Add the timestamp to following ARElement (Issue #27)
316
- * AUTOSAR-VARIABLE-IREF
317
- * MODE-REQUEST-TYPE-MAP
318
- 3. Timing Extension (Issue #27)
319
- * TIMING-REQUIREMENTS
320
- * EXECUTION-ORDER-CONSTRAINT
321
- * EOC-EXECUTABLE-ENTITY-REF
322
- 4. Communication (Issue #27)
323
- * LIN-CLUSTER
324
- * NM-PDU
325
- * LIN-UNCONDITIONAL-FRAME
326
- * CAN-FRAME
327
- * GATEWAY
328
- * I-SIGNAL
329
-
330
- **Version 1.6.0**
331
-
332
- 1. Add the annotation support for the Identifiable class. (Issue #29)
333
- 2. Ecuc (Issue #29)
334
- * EcucValueCollection
335
- * EcucModuleConfigurationValues
336
- * EcucContainerValue
337
- * EcucParameterValue
338
- * EcucAbstractReferenceValue
339
- 3. To support the following AR Element:
340
- * I-SIGNAL-GROUP
341
- * I-SIGNAL-I-PDU-GROUP
342
- * NM-CONFIG
343
- * NM-NODE
344
- * NM-CLUSTER
345
- * CAN-NM-MODE
346
- * NM-ECU
347
- * SECURED-I-PDU
348
- * MODE-SWITCH-POINTS
349
- 4. Create the CLI (armodel-system-signal) to list all the system signals
350
-
351
- **Version 1.6.1**
352
-
353
- 1. Organize the armodel package.
354
- 2. Add the Get/Set method for several class.
355
-
356
- **Version 1.6.2**
357
-
358
- 1. Change the AUTOSAR.clear() to AUTOSAR.new().
359
- 2. Fix the several refactor methods issue.
360
-
361
- **Version 1.6.3**
362
-
363
- 1. Change the Package structure according to AUTOSAR standard.
364
-
365
- **Version 1.6.4**
366
-
367
- 1. Refactor the Implementation.
368
- 2. Fix the Binary value
369
- 3. Refactor the SwComponentType.
370
-
371
- **Version 1.7.0**
372
-
373
- 1. To support the following AR Element:
374
- * SWC-TO-ECU-MAPPING
375
- * SW-MAPPINGS
376
- * ROOT-SOFTWARE-COMPOSITIONS
377
- * SPEED
378
- * ECU-INSTANCE
379
- * COMM-CONTROLLERS
380
- * CAN-COMMUNICATION-CONNECTOR
381
- * I-PDU-TIMING
382
- * DATA-FILTER
383
- * EVENT-CONTROLLED-TIMING
384
-
385
- **Version 1.7.1**
386
-
387
- 1. To support the following AR Element:
388
- * INTRODUCTION
389
- * LIST
390
- * SW-INTENDED-RESOLUTION
391
- * REFERENCE-BASE
392
-
393
- **Version 1.7.2**
394
-
395
- 1. Fix the invalidationPolicy of SenderReceiverInterface cannot be written in ARXML
396
- 2. To support the following AR Element:
397
- * SW-ADDR-METHOD
398
- * DIAGNOSTIC-COMMUNICATION-MANAGER-NEEDS
399
- * DIAGNOSTIC-ROUTINE-NEEDS
400
- * DIAGNOSTIC-VALUE-NEEDS
401
- * DIAGNOSTIC-EVENT-NEEDS
402
- * CRYPTO-SERVICE-NEEDS
403
- * DIAG-EVENT-DEBOUNCE-MONITOR-INTERNAL
404
- * ROLE-BASED-DATA-TYPE-ASSIGNMENT
405
- * ASYNCHRONOUS-SERVER-CALL-RETURNS-EVENT
406
- * PR-PORT-PROTOTYPE
407
-
408
- **Version 1.7.3**
409
-
410
- 1. To support the following AR Element:
411
- * MEM-CLASS-SYMBOL
412
- * ASYNCHRONOUS-SERVER-CALL-RESULT-POINTS
413
- * STEP-SIZE
414
- * BSW-INTERRUPT-ENTITY
415
- * FLAT-MAP
416
- * VARIABLE-AND-PARAMETER-INTERFACE-MAPPING
417
- * PORT-INTERFACE-MAPPING-SET
418
- * DATA-MAPPINGS
419
- * ECU-STATE-MGR-USER-NEEDS
420
- * STACK-USAGES
421
- * ROUGH-ESTIMATE-STACK-USAGE
422
- 2. To improve the following AR Element:
423
- * PARAMETER-INTERFACE
424
-
425
- **Version 1.7.4**
426
-
427
- 1. To support the following AR Element:
428
- * DIAGNOSTIC-EVENT-INFO-NEEDS
429
- * AR-TYPED-PER-INSTANCE-MEMORYS
430
- * USED-DATA-ELEMENT
431
- * ETHERNET-COMMUNICATION-CONTROLLER
432
- * ETHERNET-COMMUNICATION-CONNECTOR
433
- * ETHERNET-PHYSICAL-CHANNEL
434
- * PHYSICAL-PROPS
435
- * SO-AD-CONFIG
436
- 2. To improve the following AR Element:
437
- * MODE-SWITCH-RECEIVER-COM-SPEC
438
- * APPLICATION-ARRAY-DATA-TYPE
439
-
440
- **Version 1.7.5**
441
-
442
- 1. To support the following AR Element:
443
- * DIAGNOSTIC-CONNECTION
444
- * DIAGNOSTIC-SERVICE-TABLE
445
- * LIN-MASTER
446
- * LIN-COMMUNICATION-CONNECTOR
447
- * UDP-NM-CLUSTER
448
- * UDP-NM-NODE
449
- * MULTIPLEXED-I-PDU
450
- * USER-DEFINED-I-PDU
451
- * USER-DEFINED-PDU
452
- * GENERAL-PURPOSE-I-PDU
453
- * GENERAL-PURPOSE-PDU
454
- * SECURE-COMMUNICATION-PROPS-SET
455
- * SO-AD-ROUTING-GROUP
456
- * BUS-OFF-RECOVERY
457
- * SCHEDULE-TABLES
458
- * INFRASTRUCTURE-SERVICES
459
- * GENERIC-TP
460
- * TCP-TP
461
- * UDP-TP
462
- * CONSUMED-SERVICE-INSTANCES
463
- 2. Fix the following AR Element
464
- * SW-RECORD-LAYOUT-V-AXIS
465
- * SW-RECORD-LAYOUT-GROUP-AXIS
466
- 3. Improve the following AR Element
467
- * SOCKET-CONNECTION
468
- * SOCKET-ADDRESS
469
-
470
- **Version 1.7.6**
471
-
472
- 1. To support the following AR Element:
473
- * PROVIDED-SERVICE-INSTANCE
474
- * MAC-MULTICAST-GROUP
475
- * ASSOCIATED-COM-I-PDU-GROUP-REF
476
- * CAN-CONTROLLER-CONFIGURATION-REQUIREMENTS
477
- * CAN-CONTROLLER-FD-REQUIREMENTS
478
- 2. Improve the following AR Element
479
- * AR-PACKAGE
480
- * LIN-TP-CONFIG
481
- * DIAGNOSTIC-SERVICE-TABLE
482
- * LIN-MASTER
483
- * IMPLEMENTATION-DATA-TYPE
484
- * ETHERNET-COMMUNICATION-CONTROLLER
485
- * I-SIGNAL-PORT
486
- * SYMBOL-PROPS
487
- * I-PDU-PORT
488
- 3. Fix the following AR Element
489
- * I-PDU-MAPPING
490
-
491
- **Version 1.7.7**
492
-
493
- 1. To support the following AR Element:
494
- * UDP-NM-CLUSTER
495
- * UDP-NM-CLUSTER-COUPLING
496
- * NM-IF-ECUS
497
- * UDP-NM-ECU
498
- * TRANSMISSION-MODE-FALSE-TIMING
499
- * SECURED-I-PDU
500
- * MULTIPLEXED-I-PDU
501
- * NM-PDU
502
- * SECURE-COMMUNICATION-PROPS-SET
503
- * SO-AD-ROUTING-GROUP
504
- * ECU-RESOURCE-MAPPINGS
505
- * SW-IMPL-MAPPINGS
506
- * CAN-TP-CONFIG
507
- * DO-IP-TP-CONFIG
508
- * LIN-TP-CONFIG
509
- * BSW-BACKGROUND-EVENT
510
- * BSW-DATA-RECEIVED-EVENT
511
- * BSW-EXTERNAL-TRIGGER-OCCURRED-EVENT
512
- * MODE-SWITCHED-ACK-EVENT
513
- * BACKGROUND-EVENT
514
- 2. Improve the following AR Element
515
- * ETHERNET-COMMUNICATION-CONNECTOR
516
- * ECU-INSTANCE
517
- * CAN-NM-NODE
518
- * NM-NODE
519
- * SDG
520
- * DATA-FILTER
521
- * USER-DEFINED-PDU
522
- * APPLICATION-ARRAY-DATA-TYPE
523
- * MODE-SWITCH-SENDER-COM-SPEC
524
-
525
- 3. Access the RootSwCompositionPrototype directly from AUTOSAR instance
526
- 4. Create the mapping for Implementation and InternalBehavior
527
- * AUTOSAR::getBehavior()
528
- * AUTOSAR::getImplementation()
529
- 5. Improve the Identifiable::setCategory with Raw String
530
-
531
- **Version 1.7.8**
532
-
533
- 1. To support the following AR Element:
534
- * STATIC-MEMORYS
535
- * RECEPTION-POLICYS
536
- * VENDOR-API-INFIX
537
- * INCLUDED-MODE-DECLARATION-GROUP-SET
538
- * HW-ELEMENT
539
- * FLEXRAY-FRAME
540
- * TYPE-MAPPING
541
- * DATA-TRANSFORMATION-SET
542
- * FLEXRAY-COMMUNICATION-CONTROLLER
543
- * FLEXRAY-COMMUNICATION-CONNECTOR
544
- * FLEXRAY-PHYSICAL-CHANNEL
545
- * FLEXRAY-CLUSTER
546
- * BSW-OPERATION-INVOKED-EVENT
547
- 2. Improve the following AR Element
548
- * SW-DATA-DEF-PROPS
549
- * SW-RECORD-LAYOUT-GROUP
550
- * BSW-MODULE-DESCRIPTION
551
- * BSW-CALLED-ENTITY
552
- * BSW-SCHEDULABLE-ENTITY
553
- * SW-SERVICE-ARG
554
- * RUNNABLE-ENTITY
555
- * I-SIGNAL-GROUP
556
- * END-TO-END-PROTECTION
557
- * BSW-INTERNAL-TRIGGER-OCCURRED-EVENT
558
- 3. Fix the following AR Element
559
- * PROVIDED-MODE-GROUPS
560
- * MANAGED-MODE-GROUPS
561
- 4. Enable the Flake8
562
- * Fix the Flake8 issues
563
- 5. Add the CompositionSwComponentType in the AUTOSAR root model.
564
- * AbstractAUTOSAR::getCompositionSwComponentTypes
565
- * AbstractAUTOSAR::getCompositionSwComponentType
566
- * AbstractAUTOSAR::addCompositionSwComponentType
567
- 6. Add the duplicate UUID check
568
-
569
- **Version 1.7.9**
570
-
571
- 1. To improve the following AR Element
572
- * BSW-MODULE-DESCRIPTION
573
- * BSW-INTERNAL-BEHAVIOR
574
- * LIFE-CYCLE-INFO-SET
575
- * PHYSICAL-DIMENSION
576
- 2. To support the following AR Element:
577
- * ACTIVATION-POINTS
578
- * CALL-POINTS
579
- * LIFE-CYCLE-INFO
580
- * COLLECTION
581
- * KEYWORD-SET
582
- * FIGURE
583
- * CLIENT-SERVER-INTERFACE-MAPPING
584
- * DTC-STATUS-CHANGE-NOTIFICATION-NEEDS
585
- 3. Add the test case for
586
- * AUTOSAR_MOD_AISpecification_BaseTypes_Standard.arxml
587
- 4. Add the API to set the autosar release version and correct schema will be set.
588
- * AUTOSAR::setARRelease()
589
- 5. Fix the conversion for float number in scientific notation.
590
-
591
- **Version 1.8.0**
592
-
593
- 1. To support the following AR Element:
594
- * DLT-USER-NEEDS
595
- 2. Improve the UUID check
596
- 3. Improve the find method of class AbstractAUTOSAR to support the validation of dest
597
- 4. Add the findXXX method of class AbstractAUTOSAR
598
- * findAtomicSwComponentType
599
- * findSystemSignal
600
- * findSystemSignalGroup
601
- * findPort
602
- * findVariableDataPrototype
603
- * findImplementationDataType
604
-
605
- **Version 1.8.1**
606
-
607
- 1. To support the following AR Element:
608
- * MODE-DECLARATION-MAPPING-SET
609
- * MODE-INTERFACE-MAPPING
610
- * ECUC-MODULE-DEF
611
- * DOC-REVISION
612
- * ECUC-PARAM-CONF-CONTAINER-DEF
613
- * ECUC-BOOLEAN-PARAM-DEF
614
- * ECUC-STRING-PARAM-DEF
615
- * ECUC-INTEGER-PARAM-DEF
616
- * ECUC-FLOAT-PARAM-DEF
617
- * ECUC-ENUMERATION-PARAM-DEF
618
- 2. Same short name with different type can be added and located.
619
-
620
- **Version 1.8.2**
621
-
622
- 1. Fix the AUTOSAR XML schema issue
623
-
624
- **Version 1.8.3**
625
-
626
- 1. To support the SHORT-LABEL for VALUE
627
- 2. To Support the following AR Element:
628
- * MAX-DELTA-COUNTER-INIT
629
- * MAX-NO-NEW-OR-REPEATED-DATA
630
- * USER-DEFINED-TRANSFORMATION-COM-SPEC-PROPS
631
- * MASK
632
-
633
- **Version 1.8.4**
634
-
635
- 1. To Support the following AR Element:
636
- * BSW-SYNCHRONOUS-SERVER-CALL-POINT
637
- * RETURN-TYPE
638
- 2. Add the armodel-uuid-checker cli.
639
- 3. Remove the space in the boolean type.
640
-
641
- **Version 1.8.5**
642
-
643
- 1. Reorganize the SwConnector class.
644
- 2. Raise the error if the short name of rootSwCompositionPrototype.
645
- 3. To support the following AR Element:
646
- * NvProvideComSpec
647
- 4. Fix the duplicate short name of ARPackage and Other ARElements.
648
-
649
- **Version 1.8.6**
650
-
651
- 1. To support the following AR Element:
652
- * NvProvideComSpec
653
- * NvRequireComSpec
654
- 2. To improve the following AR Element:
655
- * ParameterAccess
656
-
1
+ Metadata-Version: 2.4
2
+ Name: armodel
3
+ Version: 1.9.1
4
+ Summary: the python arxml parser
5
+ Home-page: http://github.com/melodypapa/py-armodel
6
+ Author: melodypapa
7
+ Author-email: melodypapa <melodypapa@outlook.com>
8
+ License: MIT
9
+ Project-URL: Homepage, http://github.com/melodypapa/py-armodel
10
+ Keywords: AUTOSAR,ARXML
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Environment :: Console
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Operating System :: OS Independent
15
+ Requires-Python: >=3.5
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: colorama
19
+ Requires-Dist: openpyxl
20
+ Requires-Dist: lxml
21
+ Provides-Extra: pytest
22
+ Requires-Dist: pytest-cov; extra == "pytest"
23
+ Dynamic: author
24
+ Dynamic: home-page
25
+ Dynamic: license-file
26
+ Dynamic: requires-python
27
+
28
+ # 1. py-armodel
29
+
30
+ ## 1.1. Purpose
31
+
32
+ To support AUTOSAR model with python
33
+
34
+ ## 1.2. Reference Documents
35
+ 1. AUTOSAR_TPS_XMLSchemaProductionRules.pdf
36
+ 2. AUTOSAR_TPS_ARXMLSerializationRules.pdf
37
+
38
+ |Version|Documentation|Travis CI|Coverage Status|Pypi|
39
+ |--|--|--|--|--|
40
+ |[![GitHub version](https://badge.fury.io/gh/melodypapa%2Fpy-armodel.svg)](https://badge.fury.io/gh/melodypapa%2Fpy-armodel)|[![Documentation Status](https://readthedocs.org/projects/py-armodel/badge/?version=latest)](https://py-armodel.readthedocs.io/en/latest)|[![](https://www.travis-ci.com/melodypapa/py-armodel.svg?branch=main)](https://www.travis-ci.com/melodypapa/py-armodel)|[![Coverage Status](https://coveralls.io/repos/github/melodypapa/py-armodel/badge.svg?branch=main)](https://coveralls.io/github/melodypapa/py-armodel?branch=main)|[![PyPI version](https://badge.fury.io/py/armodel.svg)](https://badge.fury.io/py/armodel)|
41
+
42
+ ## 1.3. How to create the distribution and upload to pypi
43
+ 1. Run `python -m build` to generate distribution (requires `pip install build`)
44
+ 2. Run `twine check dist/*` to check the validation of distribution
45
+ 3. Run `twine upload dist/*` to upload to pypi repository
46
+ 4. Check the website https://pypi.org/project/armodel/ to find out it works or not
47
+
48
+ And more details can be found at https://packaging.python.org/
49
+
50
+ ## 1.4. How to perform Tests
51
+
52
+ ### Quick Start (Recommended)
53
+
54
+ Use the test runner script for colored output and comprehensive testing:
55
+
56
+ ```bash
57
+ # Run all tests (unit + integration)
58
+ python scripts/run_tests.py
59
+
60
+ # Run only unit tests
61
+ python scripts/run_tests.py --unit
62
+
63
+ # Run only integration tests
64
+ python scripts/run_tests.py --integration
65
+
66
+ # Run with coverage reports
67
+ python scripts/run_tests.py --coverage
68
+
69
+ # Verbose output
70
+ python scripts/run_tests.py --verbose
71
+ ```
72
+
73
+ ### Using pytest Directly
74
+
75
+ * Run `pip install pytest pytest-cov` to install pytest
76
+ * Run `pytest --cov=armodel --cov-report term-missing` to verify all the functionality
77
+ * Run `pytest tests/test_armodel/` to run only unit tests
78
+ * Run `pytest tests/integration_tests/ -s` to run integration tests with progress output
79
+
80
+ ## 1.5. Integration Tests
81
+
82
+ The project includes a comprehensive integration test suite that validates round-trip parsing and writing of ARXML files.
83
+
84
+ ### Purpose
85
+
86
+ Integration tests verify the complete parse → write → re-parse → compare cycle to ensure data integrity through the full workflow.
87
+
88
+ ### Test Coverage
89
+
90
+ - **29 ARXML files** tested from `test_files/` directory
91
+ - **Round-trip validation**: Parse → Write → Re-parse → Compare
92
+ - **AUTOSAR version detection**: Auto-detects from 4.0.3 to R24-11
93
+ - **Extensible**: Add custom directories via `config.yaml`
94
+
95
+ ### Running Integration Tests
96
+
97
+ ```bash
98
+ # Using the test runner (recommended)
99
+ python scripts/run_tests.py --integration
100
+
101
+ # Using pytest directly with progress output
102
+ pytest tests/integration_tests/ -s
103
+
104
+ # Run specific file categories
105
+ pytest tests/integration_tests/ -k "datatypes"
106
+ pytest tests/integration_tests/ -k "bsw"
107
+ pytest tests/integration_tests/ -k "production"
108
+ ```
109
+
110
+ ### Adding Custom Test Files
111
+
112
+ Edit `tests/integration_tests/config.yaml`:
113
+
114
+ ```yaml
115
+ additional_directories:
116
+ - path: "/path/to/your/project/arxml"
117
+ category: "production"
118
+ recursive: true
119
+
120
+ exclude_patterns:
121
+ - "*/temp/*.arxml"
122
+ - "*/backup/*.arxml"
123
+ ```
124
+
125
+ For more details, see [tests/integration_tests/README.md](tests/integration_tests/README.md).
126
+
127
+ ## 1.6. Usage Guidelines
128
+
129
+ ### Basic Usage
130
+
131
+ ```python
132
+ from armodel.models import AUTOSAR
133
+ from armodel.parser.arxml_parser import ARXMLParser
134
+ from armodel.writer.arxml_writer import ARXMLWriter
135
+
136
+ # Set AUTOSAR version before parsing/writing
137
+ AUTOSAR.setARRelease("R23-11")
138
+
139
+ # Parse ARXML file
140
+ parser = ARXMLParser()
141
+ document = AUTOSAR.getInstance()
142
+ document.clear()
143
+ parser.load("input.arxml", document)
144
+
145
+ # Access the model
146
+ packages = document.getARPackages()
147
+ for pkg in packages:
148
+ print(f"Package: {pkg.getShortName()}")
149
+
150
+ # Write to ARXML file
151
+ writer = ARXMLWriter()
152
+ writer.save("output.arxml", document)
153
+ ```
154
+
155
+ ### Best Practices
156
+
157
+ 1. **Always set AUTOSAR version** before parsing or writing:
158
+ ```python
159
+ AUTOSAR.setARRelease("R23-11") # Required
160
+ ```
161
+
162
+ 2. **Reset singleton** between operations:
163
+ ```python
164
+ AUTOSAR.getInstance().clear() # or AUTOSAR.new()
165
+ ```
166
+
167
+ 3. **Use warning mode** for development:
168
+ ```python
169
+ parser = ARXMLParser(options={"warning": True})
170
+ ```
171
+
172
+ 4. **Find elements by short name**:
173
+ ```python
174
+ component = autosar.findAtomicSwComponentType("MyComponent")
175
+ if component is not None:
176
+ behavior = autosar.getBehavior(component)
177
+ ```
178
+
179
+ ### Common Workflows
180
+
181
+ #### Load and Inspect ARXML
182
+
183
+ ```python
184
+ AUTOSAR.setARRelease("R23-11")
185
+ parser = ARXMLParser()
186
+ doc = AUTOSAR.getInstance()
187
+ doc.clear()
188
+ parser.load("file.arxml", doc)
189
+
190
+ # List all software components
191
+ components = doc.getAtomicSwComponentTypes()
192
+ for comp in components:
193
+ print(f"{comp.getShortName()}: {comp.__class__.__name__}")
194
+ ```
195
+
196
+ #### Modify and Save ARXML
197
+
198
+ ```python
199
+ # Load existing file
200
+ parser.load("input.arxml", doc)
201
+
202
+ # Find and modify a component
203
+ comp = doc.findAtomicSwComponentType("MyComponent")
204
+ if comp:
205
+ comp.setShortName("NewComponentName")
206
+
207
+ # Save changes
208
+ writer.save("output.arxml", doc)
209
+ ```
210
+
211
+ ## 1.7. How to create a distribution and wheel
212
+
213
+ * Run `python -m build` to build both source and wheel distributions
214
+ * Run `python -m build --sdist` to build only source distribution
215
+ * Run `python -m build --wheel` to build only wheel distribution
216
+
217
+ ## 1.8. How to create the document
218
+
219
+ 1. Run `pip install sphinx` to install the necessary document
220
+
221
+ ## 1.9. Heritage
222
+
223
+ ```
224
+ - ARObject
225
+ - Referrable
226
+ - MultilanguageReferrable
227
+ - Identifiable
228
+ - PackageableElement
229
+ - ARElement
230
+ - AtpType
231
+ - AutosarDataType
232
+ - PortInterface
233
+ - DataInterface
234
+ - NvDataInterface
235
+ - ParameterInterface
236
+ - SenderReceiverInterface
237
+ - BswModuleEntry
238
+ - EndToEndProtectionSet
239
+ - Implementation
240
+ - BswImplementation
241
+ - AtpFeature
242
+ - AtpPrototype
243
+ - AtpPrototype
244
+ - DataPrototype
245
+ - AutosarDataPrototype
246
+ - VariableDataPrototype
247
+ - ApplicationCompositeElementDataPrototype
248
+ - ApplicationArrayElement
249
+ - ApplicationRecordElement
250
+ - AtpStructureElement
251
+ - BswModuleDescription
252
+ - ExecutableEntity
253
+ - SwcBswMapping
254
+ - PortPrototype
255
+ - AbstractProvidedPortPrototype
256
+ - PPortPrototype
257
+ - AbstractRequiredPortPrototype
258
+ - RPortPrototype
259
+ - ValueSpecification
260
+ - ConstantReference
261
+ ```
262
+
263
+ ## 1.10. CLI usages
264
+
265
+ ### 1.10.1. arxml-dump
266
+
267
+ **Dump all the arxml data to screen**
268
+
269
+
270
+ `arxml-dump --arxml arg -h`
271
+
272
+ --arxml arg The file name of arxml data
273
+ -h show the help information
274
+
275
+ #### 1.10.1.1. arxml-dump usage
276
+
277
+ **Dump the arxml data from test1.arxml and test2.arxml**
278
+
279
+ ```
280
+ $arxml-dump --arxml test1.arxml --arxml test2.arxml
281
+ ```
282
+
283
+ ### 1.10.2. arxml-swc
284
+
285
+ **List all the SwComponentType in the autosar model**
286
+
287
+ usage: swc-list [-h] [-v] [-f FORMAT] [--filter FILTER] Input [Input ...]
288
+
289
+ -h, --help show the help message and exit
290
+ -v, --verbose Print debug information
291
+ -f FORMAT, --format FORMAT
292
+ Specify the short or long name of Sw-C.
293
+ *short* : only print the short name of SWComponentType
294
+ *long* : print the SWComponentType with ARPackage names
295
+ --filter FILTER Set the filter condition.
296
+ *CompositionSwComponent* : Print the CompositionSwComponent only.
297
+
298
+
299
+ #### 1.10.2.1. List all the SW-Components in the specific path
300
+
301
+ ```
302
+ $arxml-swc <arxml_folder>
303
+ ```
304
+
305
+ #### 1.10.2.2. List all the CompositionSwComponent with the long name
306
+
307
+ ```
308
+ $arxml-swc --format long --filter CompositionSwComponent <arxml_folder>
309
+ ```
310
+
311
+ ### 1.10.3. connector2xlsx
312
+
313
+ **Export all the SwConnector (AssemblySwConnector, DelegationSwConnector) to excel file**
314
+
315
+ ```
316
+ $connector2xlsx src/armodel/tests/test_files/SoftwareComponents.arxml data/SoftwareComponents.xlsx
317
+ ```
318
+
319
+ ### 1.10.4. connector-update
320
+
321
+ **Update all the SwConnector (AssemblySwConnector, DelegationSwConnector) from excel file**
322
+
323
+ ```
324
+ $connector-update src/armodel/tests/test_files/SoftwareComponents.arxml data/SoftwareComponents.xlsx data/Test.arxml
325
+ ```
326
+
327
+
328
+ ## 1.11. API
329
+
330
+ ### 1.11.1. Constructor
331
+
332
+ ```
333
+ ARXMLParser(options={"warning": True})
334
+ ```
335
+
336
+ ## 1.12. Change notes:
337
+
338
+ **Version 1.9.0**
339
+
340
+ 1. **Testing Infrastructure**
341
+ * Add comprehensive integration test suite with round-trip validation
342
+ * Add test runner script (`scripts/run_tests.py`) with colored output
343
+ * Add pytest configuration (`pytest.ini`) with custom markers
344
+ * Support 2205+ unit tests and 29 integration test files
345
+ * Add coverage reporting (HTML and terminal)
346
+
347
+ 2. **Integration Tests**
348
+ * Round-trip testing: Parse → Write → Re-parse → Compare
349
+ * Tests all 29 ARXML files in `test_files/` directory
350
+ * Auto-detects AUTOSAR version from XSD schema (4.0.3 to R24-11)
351
+ * Verbose progress tracking with step-by-step feedback
352
+ * Extensible configuration via YAML for additional test directories
353
+
354
+ 3. **Documentation**
355
+ * Add integration test design document
356
+ * Add integration test README with usage examples
357
+ * Update CLAUDE.md with test runner documentation
358
+
359
+ 4. **Developer Experience**
360
+ * Unified test runner for both unit and integration tests
361
+ * Colored console output (success/failure/warning)
362
+ * Test summary with pass/fail/skip statistics
363
+ * Support for category-based test selection
364
+
365
+ **Version 0.1.1**
366
+
367
+ Add the ARRAY category support for ImplementationDataType
368
+
369
+ **Version 0.1.2**
370
+
371
+ Add the AsynchronousServerCallPoint support for ARXML
372
+
373
+ **Version 0.1.3**
374
+
375
+ Fix the attribute intervalType of **Limit** is empty issue.
376
+
377
+ **Version 1.0.0**
378
+
379
+ 1. Add the logging support
380
+ 2. Add the <warning> option to disable exception raised.
381
+ 3. Add the BswMD support
382
+
383
+ **Version 1.1.0**
384
+
385
+ 1. Add the InitEvent support. (Issue #5)
386
+ 2. Add the DataReceiveEvent support. (Issue #5)
387
+ 3. Add the SwcModeSwitchEvent support. (Issue #5)
388
+
389
+ **Version 1.2.0**
390
+
391
+ 1. Add the SwcImplementation support (Issue #9)
392
+ 2. Add the integer value for memory section alignment (Issue #9)
393
+ 3. Remove the required attributes for the Implementation according to the AUTOSAR standard 23R-11. (Issue #9)
394
+ 4. Change the START-ON-EVENT-REF to optional according to the AUTOSAR standard 23R-11. (Issue #9)
395
+ 5. Change the HANDLE-OUT-OF-RANGE to optional according to the AUTOSAR standard 23R-11. (Issue #9)
396
+ 6. Add the SensorActuatorSwComponentType support (Issue #9)
397
+ 7. Change the CATEGORY of COMPU-METHOD to optional.
398
+ 8. Change the CAN-BE-INVOKED-CONCURRENTLY to optional.
399
+
400
+ **Version 1.3.0**
401
+
402
+ 1. List all the SwComponentType (Issue #11)
403
+ 2. Support to parse the DelegationSwConnector (Issue #12)
404
+ 3. Correct the class definitions of PPortInCompositionInstanceRef and RPortInCompositionInstanceRef. (Issue #12)
405
+
406
+ **Version 1.4.0**
407
+
408
+ 1. Support to write the AUTOSAR model to arxml file (Issue #17)
409
+ * ARPackage
410
+ * CompositionSwComponent
411
+ * CompuMethod
412
+ * DataConstr
413
+ * Unit
414
+ 2. Support to read the AUTOSAR model from arxml file (Issue #17)
415
+ * ConstantSpecification
416
+ * DataConstr
417
+ * Unit
418
+
419
+ **Version 1.4.1**
420
+
421
+ 1. Support to read the AUTOSAR model from arxml file (Issue #19)
422
+ * ServerComSpec
423
+ * PerInstanceMemory
424
+ * PortDefinedArgumentValue
425
+ * DataWriteAccesses
426
+ * NvBlockNeeds
427
+ * CompositeNetworkRepresentation
428
+ * PortGroup
429
+ 2. Support to write the AUTOSAR model to arxml file (Issue #19)
430
+ * ServerComSpec
431
+ * PerInstanceMemory
432
+ * ServerCallPoint
433
+ * ReadLocalVariable
434
+ * WrittenLocalVariable
435
+ * PortDefinedArgumentValue
436
+ * RVariableInAtomicSwcInstanceRef
437
+ * DataWriteAccesses
438
+ * NvBlockNeeds
439
+ * RecordValueSpecification
440
+ * CompositeNetworkRepresentation
441
+ * PortGroup
442
+ 3. Move the ARPackage from the Elements.
443
+
444
+ **Version 1.4.2**
445
+
446
+ 1. Support to read the AUTOSAR model from arxml file (Issue #23)
447
+ * EndToEndProtectionSet
448
+ * EndToEndProtection
449
+ * EndToEndProtectionVariablePrototype
450
+ * EndToEndDescription
451
+ * ApplicationArrayDataType
452
+ * SwRecordLayout
453
+ * SwCalprmAxisSet
454
+ * SwCalprmAxis
455
+ * ApplicationArrayElement
456
+ * ApplicationArrayDataType
457
+ * SwRecordLayoutGroup
458
+ * SwRecordLayoutGroupContent
459
+ 2. Support to write the AUTOSAR model to arxml file (Issue #23)
460
+ * EndToEndProtectionSet
461
+ * EndToEndProtection
462
+ * EndToEndProtectionVariablePrototype
463
+ * EndToEndDescription
464
+ * ApplicationArrayDataType
465
+ * SwRecordLayout
466
+ * SwCalprmAxisSet
467
+ * SwCalprmAxis
468
+ * ApplicationArrayElement
469
+ * ApplicationArrayDataType
470
+ * SwRecordLayoutGroup
471
+ * SwRecordLayoutGroupContent
472
+ * ImplementationDataType
473
+
474
+ **Version 1.4.3**
475
+
476
+ 1. Support to write the AUTOSAR model to arxml file (Issue #25)
477
+ * BswCalledEntity
478
+ * BswSchedulableEntity
479
+ * BswImplementation
480
+ * ServiceSwComponentType
481
+ * DataTypeMappingSet
482
+ * ModeRequestTypeMap
483
+ * PortInterface
484
+ * ModeInterface
485
+ 2. Support ot read the AUTOSAR model to arxml file (Issue #25)
486
+ * ServiceSwComponentType
487
+ * ModeRequestTypeMap
488
+ * PortInterface
489
+ * ModeInterface
490
+ 3. Refactor the Base ARType
491
+ * ARFloat
492
+ * ARNumerical
493
+ * ARLiteral
494
+ 4. Fix Issue #22 - raise wrong Exception: Invalid ResourceConsumption of Implementation
495
+
496
+ **Version 1.5.0**
497
+
498
+ 1. Fix the old ARElement (Issue #27)
499
+ * InitEvent
500
+ * SwcTiming
501
+ * ConstantMemory
502
+ * ModeSwitchReceiverComSpec
503
+ * MODE-ACCESS-POINTS
504
+ 2. Add the timestamp to following ARElement (Issue #27)
505
+ * AUTOSAR-VARIABLE-IREF
506
+ * MODE-REQUEST-TYPE-MAP
507
+ 3. Timing Extension (Issue #27)
508
+ * TIMING-REQUIREMENTS
509
+ * EXECUTION-ORDER-CONSTRAINT
510
+ * EOC-EXECUTABLE-ENTITY-REF
511
+ 4. Communication (Issue #27)
512
+ * LIN-CLUSTER
513
+ * NM-PDU
514
+ * LIN-UNCONDITIONAL-FRAME
515
+ * CAN-FRAME
516
+ * GATEWAY
517
+ * I-SIGNAL
518
+
519
+ **Version 1.6.0**
520
+
521
+ 1. Add the annotation support for the Identifiable class. (Issue #29)
522
+ 2. Ecuc (Issue #29)
523
+ * EcucValueCollection
524
+ * EcucModuleConfigurationValues
525
+ * EcucContainerValue
526
+ * EcucParameterValue
527
+ * EcucAbstractReferenceValue
528
+ 3. To support the following AR Element:
529
+ * I-SIGNAL-GROUP
530
+ * I-SIGNAL-I-PDU-GROUP
531
+ * NM-CONFIG
532
+ * NM-NODE
533
+ * NM-CLUSTER
534
+ * CAN-NM-MODE
535
+ * NM-ECU
536
+ * SECURED-I-PDU
537
+ * MODE-SWITCH-POINTS
538
+ 4. Create the CLI (armodel-system-signal) to list all the system signals
539
+
540
+ **Version 1.6.1**
541
+
542
+ 1. Organize the armodel package.
543
+ 2. Add the Get/Set method for several class.
544
+
545
+ **Version 1.6.2**
546
+
547
+ 1. Change the AUTOSAR.clear() to AUTOSAR.new().
548
+ 2. Fix the several refactor methods issue.
549
+
550
+ **Version 1.6.3**
551
+
552
+ 1. Change the Package structure according to AUTOSAR standard.
553
+
554
+ **Version 1.6.4**
555
+
556
+ 1. Refactor the Implementation.
557
+ 2. Fix the Binary value
558
+ 3. Refactor the SwComponentType.
559
+
560
+ **Version 1.7.0**
561
+
562
+ 1. To support the following AR Element:
563
+ * SWC-TO-ECU-MAPPING
564
+ * SW-MAPPINGS
565
+ * ROOT-SOFTWARE-COMPOSITIONS
566
+ * SPEED
567
+ * ECU-INSTANCE
568
+ * COMM-CONTROLLERS
569
+ * CAN-COMMUNICATION-CONNECTOR
570
+ * I-PDU-TIMING
571
+ * DATA-FILTER
572
+ * EVENT-CONTROLLED-TIMING
573
+
574
+ **Version 1.7.1**
575
+
576
+ 1. To support the following AR Element:
577
+ * INTRODUCTION
578
+ * LIST
579
+ * SW-INTENDED-RESOLUTION
580
+ * REFERENCE-BASE
581
+
582
+ **Version 1.7.2**
583
+
584
+ 1. Fix the invalidationPolicy of SenderReceiverInterface cannot be written in ARXML
585
+ 2. To support the following AR Element:
586
+ * SW-ADDR-METHOD
587
+ * DIAGNOSTIC-COMMUNICATION-MANAGER-NEEDS
588
+ * DIAGNOSTIC-ROUTINE-NEEDS
589
+ * DIAGNOSTIC-VALUE-NEEDS
590
+ * DIAGNOSTIC-EVENT-NEEDS
591
+ * CRYPTO-SERVICE-NEEDS
592
+ * DIAG-EVENT-DEBOUNCE-MONITOR-INTERNAL
593
+ * ROLE-BASED-DATA-TYPE-ASSIGNMENT
594
+ * ASYNCHRONOUS-SERVER-CALL-RETURNS-EVENT
595
+ * PR-PORT-PROTOTYPE
596
+
597
+ **Version 1.7.3**
598
+
599
+ 1. To support the following AR Element:
600
+ * MEM-CLASS-SYMBOL
601
+ * ASYNCHRONOUS-SERVER-CALL-RESULT-POINTS
602
+ * STEP-SIZE
603
+ * BSW-INTERRUPT-ENTITY
604
+ * FLAT-MAP
605
+ * VARIABLE-AND-PARAMETER-INTERFACE-MAPPING
606
+ * PORT-INTERFACE-MAPPING-SET
607
+ * DATA-MAPPINGS
608
+ * ECU-STATE-MGR-USER-NEEDS
609
+ * STACK-USAGES
610
+ * ROUGH-ESTIMATE-STACK-USAGE
611
+ 2. To improve the following AR Element:
612
+ * PARAMETER-INTERFACE
613
+
614
+ **Version 1.7.4**
615
+
616
+ 1. To support the following AR Element:
617
+ * DIAGNOSTIC-EVENT-INFO-NEEDS
618
+ * AR-TYPED-PER-INSTANCE-MEMORYS
619
+ * USED-DATA-ELEMENT
620
+ * ETHERNET-COMMUNICATION-CONTROLLER
621
+ * ETHERNET-COMMUNICATION-CONNECTOR
622
+ * ETHERNET-PHYSICAL-CHANNEL
623
+ * PHYSICAL-PROPS
624
+ * SO-AD-CONFIG
625
+ 2. To improve the following AR Element:
626
+ * MODE-SWITCH-RECEIVER-COM-SPEC
627
+ * APPLICATION-ARRAY-DATA-TYPE
628
+
629
+ **Version 1.7.5**
630
+
631
+ 1. To support the following AR Element:
632
+ * DIAGNOSTIC-CONNECTION
633
+ * DIAGNOSTIC-SERVICE-TABLE
634
+ * LIN-MASTER
635
+ * LIN-COMMUNICATION-CONNECTOR
636
+ * UDP-NM-CLUSTER
637
+ * UDP-NM-NODE
638
+ * MULTIPLEXED-I-PDU
639
+ * USER-DEFINED-I-PDU
640
+ * USER-DEFINED-PDU
641
+ * GENERAL-PURPOSE-I-PDU
642
+ * GENERAL-PURPOSE-PDU
643
+ * SECURE-COMMUNICATION-PROPS-SET
644
+ * SO-AD-ROUTING-GROUP
645
+ * BUS-OFF-RECOVERY
646
+ * SCHEDULE-TABLES
647
+ * INFRASTRUCTURE-SERVICES
648
+ * GENERIC-TP
649
+ * TCP-TP
650
+ * UDP-TP
651
+ * CONSUMED-SERVICE-INSTANCES
652
+ 2. Fix the following AR Element
653
+ * SW-RECORD-LAYOUT-V-AXIS
654
+ * SW-RECORD-LAYOUT-GROUP-AXIS
655
+ 3. Improve the following AR Element
656
+ * SOCKET-CONNECTION
657
+ * SOCKET-ADDRESS
658
+
659
+ **Version 1.7.6**
660
+
661
+ 1. To support the following AR Element:
662
+ * PROVIDED-SERVICE-INSTANCE
663
+ * MAC-MULTICAST-GROUP
664
+ * ASSOCIATED-COM-I-PDU-GROUP-REF
665
+ * CAN-CONTROLLER-CONFIGURATION-REQUIREMENTS
666
+ * CAN-CONTROLLER-FD-REQUIREMENTS
667
+ 2. Improve the following AR Element
668
+ * AR-PACKAGE
669
+ * LIN-TP-CONFIG
670
+ * DIAGNOSTIC-SERVICE-TABLE
671
+ * LIN-MASTER
672
+ * IMPLEMENTATION-DATA-TYPE
673
+ * ETHERNET-COMMUNICATION-CONTROLLER
674
+ * I-SIGNAL-PORT
675
+ * SYMBOL-PROPS
676
+ * I-PDU-PORT
677
+ 3. Fix the following AR Element
678
+ * I-PDU-MAPPING
679
+
680
+ **Version 1.7.7**
681
+
682
+ 1. To support the following AR Element:
683
+ * UDP-NM-CLUSTER
684
+ * UDP-NM-CLUSTER-COUPLING
685
+ * NM-IF-ECUS
686
+ * UDP-NM-ECU
687
+ * TRANSMISSION-MODE-FALSE-TIMING
688
+ * SECURED-I-PDU
689
+ * MULTIPLEXED-I-PDU
690
+ * NM-PDU
691
+ * SECURE-COMMUNICATION-PROPS-SET
692
+ * SO-AD-ROUTING-GROUP
693
+ * ECU-RESOURCE-MAPPINGS
694
+ * SW-IMPL-MAPPINGS
695
+ * CAN-TP-CONFIG
696
+ * DO-IP-TP-CONFIG
697
+ * LIN-TP-CONFIG
698
+ * BSW-BACKGROUND-EVENT
699
+ * BSW-DATA-RECEIVED-EVENT
700
+ * BSW-EXTERNAL-TRIGGER-OCCURRED-EVENT
701
+ * MODE-SWITCHED-ACK-EVENT
702
+ * BACKGROUND-EVENT
703
+ 2. Improve the following AR Element
704
+ * ETHERNET-COMMUNICATION-CONNECTOR
705
+ * ECU-INSTANCE
706
+ * CAN-NM-NODE
707
+ * NM-NODE
708
+ * SDG
709
+ * DATA-FILTER
710
+ * USER-DEFINED-PDU
711
+ * APPLICATION-ARRAY-DATA-TYPE
712
+ * MODE-SWITCH-SENDER-COM-SPEC
713
+
714
+ 3. Access the RootSwCompositionPrototype directly from AUTOSAR instance
715
+ 4. Create the mapping for Implementation and InternalBehavior
716
+ * AUTOSAR::getBehavior()
717
+ * AUTOSAR::getImplementation()
718
+ 5. Improve the Identifiable::setCategory with Raw String
719
+
720
+ **Version 1.7.8**
721
+
722
+ 1. To support the following AR Element:
723
+ * STATIC-MEMORYS
724
+ * RECEPTION-POLICYS
725
+ * VENDOR-API-INFIX
726
+ * INCLUDED-MODE-DECLARATION-GROUP-SET
727
+ * HW-ELEMENT
728
+ * FLEXRAY-FRAME
729
+ * TYPE-MAPPING
730
+ * DATA-TRANSFORMATION-SET
731
+ * FLEXRAY-COMMUNICATION-CONTROLLER
732
+ * FLEXRAY-COMMUNICATION-CONNECTOR
733
+ * FLEXRAY-PHYSICAL-CHANNEL
734
+ * FLEXRAY-CLUSTER
735
+ * BSW-OPERATION-INVOKED-EVENT
736
+ 2. Improve the following AR Element
737
+ * SW-DATA-DEF-PROPS
738
+ * SW-RECORD-LAYOUT-GROUP
739
+ * BSW-MODULE-DESCRIPTION
740
+ * BSW-CALLED-ENTITY
741
+ * BSW-SCHEDULABLE-ENTITY
742
+ * SW-SERVICE-ARG
743
+ * RUNNABLE-ENTITY
744
+ * I-SIGNAL-GROUP
745
+ * END-TO-END-PROTECTION
746
+ * BSW-INTERNAL-TRIGGER-OCCURRED-EVENT
747
+ 3. Fix the following AR Element
748
+ * PROVIDED-MODE-GROUPS
749
+ * MANAGED-MODE-GROUPS
750
+ 4. Enable the Flake8
751
+ * Fix the Flake8 issues
752
+ 5. Add the CompositionSwComponentType in the AUTOSAR root model.
753
+ * AbstractAUTOSAR::getCompositionSwComponentTypes
754
+ * AbstractAUTOSAR::getCompositionSwComponentType
755
+ * AbstractAUTOSAR::addCompositionSwComponentType
756
+ 6. Add the duplicate UUID check
757
+
758
+ **Version 1.7.9**
759
+
760
+ 1. To improve the following AR Element
761
+ * BSW-MODULE-DESCRIPTION
762
+ * BSW-INTERNAL-BEHAVIOR
763
+ * LIFE-CYCLE-INFO-SET
764
+ * PHYSICAL-DIMENSION
765
+ 2. To support the following AR Element:
766
+ * ACTIVATION-POINTS
767
+ * CALL-POINTS
768
+ * LIFE-CYCLE-INFO
769
+ * COLLECTION
770
+ * KEYWORD-SET
771
+ * FIGURE
772
+ * CLIENT-SERVER-INTERFACE-MAPPING
773
+ * DTC-STATUS-CHANGE-NOTIFICATION-NEEDS
774
+ 3. Add the test case for
775
+ * AUTOSAR_MOD_AISpecification_BaseTypes_Standard.arxml
776
+ 4. Add the API to set the autosar release version and correct schema will be set.
777
+ * AUTOSAR::setARRelease()
778
+ 5. Fix the conversion for float number in scientific notation.
779
+
780
+ **Version 1.8.0**
781
+
782
+ 1. To support the following AR Element:
783
+ * DLT-USER-NEEDS
784
+ 2. Improve the UUID check
785
+ 3. Improve the find method of class AbstractAUTOSAR to support the validation of dest
786
+ 4. Add the findXXX method of class AbstractAUTOSAR
787
+ * findAtomicSwComponentType
788
+ * findSystemSignal
789
+ * findSystemSignalGroup
790
+ * findPort
791
+ * findVariableDataPrototype
792
+ * findImplementationDataType
793
+
794
+ **Version 1.8.1**
795
+
796
+ 1. To support the following AR Element:
797
+ * MODE-DECLARATION-MAPPING-SET
798
+ * MODE-INTERFACE-MAPPING
799
+ * ECUC-MODULE-DEF
800
+ * DOC-REVISION
801
+ * ECUC-PARAM-CONF-CONTAINER-DEF
802
+ * ECUC-BOOLEAN-PARAM-DEF
803
+ * ECUC-STRING-PARAM-DEF
804
+ * ECUC-INTEGER-PARAM-DEF
805
+ * ECUC-FLOAT-PARAM-DEF
806
+ * ECUC-ENUMERATION-PARAM-DEF
807
+ 2. Same short name with different type can be added and located.
808
+
809
+ **Version 1.8.2**
810
+
811
+ 1. Fix the AUTOSAR XML schema issue
812
+
813
+ **Version 1.8.3**
814
+
815
+ 1. To support the SHORT-LABEL for VALUE
816
+ 2. To Support the following AR Element:
817
+ * MAX-DELTA-COUNTER-INIT
818
+ * MAX-NO-NEW-OR-REPEATED-DATA
819
+ * USER-DEFINED-TRANSFORMATION-COM-SPEC-PROPS
820
+ * MASK
821
+
822
+ **Version 1.8.4**
823
+
824
+ 1. To Support the following AR Element:
825
+ * BSW-SYNCHRONOUS-SERVER-CALL-POINT
826
+ * RETURN-TYPE
827
+ 2. Add the armodel-uuid-checker cli.
828
+ 3. Remove the space in the boolean type.
829
+
830
+ **Version 1.8.5**
831
+
832
+ 1. Reorganize the SwConnector class.
833
+ 2. Raise the error if the short name of rootSwCompositionPrototype.
834
+ 3. To support the following AR Element:
835
+ * NvProvideComSpec
836
+ 4. Fix the duplicate short name of ARPackage and Other ARElements.
837
+
838
+ **Version 1.8.6**
839
+
840
+ 1. To support the following AR Element:
841
+ * NvProvideComSpec
842
+ * NvRequireComSpec
843
+ 2. To improve the following AR Element:
844
+ * ParameterAccess
845
+
846
+ **Version 1.8.7**
847
+
848
+ 1. Correct the base class of the BswEvent.
849
+ 2. Export the RunnableEntity class.
850
+ 3. Add the more class support for getDestType