armodel 1.6.4__py3-none-any.whl → 1.7.0__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/cli/arxml_format_cli.py +14 -11
- armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py +1 -1
- armodel/models/M2/AUTOSARTemplates/CommonStructure/Filter.py +86 -0
- armodel/models/M2/AUTOSARTemplates/CommonStructure/InternalBehavior.py +3 -4
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py +3 -1
- armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/PrimitiveTypes.py +70 -2
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py +21 -8
- armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ModeDeclarationGroup.py +24 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanTopology.py +173 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreCommunication.py +6 -6
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreTopology.py +237 -28
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/EcuInstance.py +223 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/Timing.py +177 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/InstanceRefs.py +37 -0
- armodel/models/M2/AUTOSARTemplates/SystemTemplate/__init__.py +88 -16
- armodel/models/__init__.py +12 -1
- armodel/parser/abstract_arxml_parser.py +50 -16
- armodel/parser/arxml_parser.py +249 -80
- armodel/tests/test_armodel/parser/test_sw_components.py +0 -22
- armodel/tests/test_armodel/parser/test_system.py +2 -2
- armodel/writer/abstract_arxml_writer.py +10 -1
- armodel/writer/arxml_writer.py +215 -58
- {armodel-1.6.4.dist-info → armodel-1.7.0.dist-info}/METADATA +15 -1
- {armodel-1.6.4.dist-info → armodel-1.7.0.dist-info}/RECORD +28 -24
- {armodel-1.6.4.dist-info → armodel-1.7.0.dist-info}/LICENSE +0 -0
- {armodel-1.6.4.dist-info → armodel-1.7.0.dist-info}/WHEEL +0 -0
- {armodel-1.6.4.dist-info → armodel-1.7.0.dist-info}/entry_points.txt +0 -0
- {armodel-1.6.4.dist-info → armodel-1.7.0.dist-info}/top_level.txt +0 -0
armodel/writer/arxml_writer.py
CHANGED
|
@@ -2,52 +2,58 @@ import xml.etree.cElementTree as ET
|
|
|
2
2
|
|
|
3
3
|
from typing import List
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
from ..models.M2.MSR.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
from ..models.M2.MSR.AsamHdo.AdminData import AdminData
|
|
10
10
|
from ..models.M2.MSR.AsamHdo.BaseTypes import BaseTypeDirectDefinition, SwBaseType
|
|
11
|
+
from ..models.M2.MSR.AsamHdo.ComputationMethod import CompuConstTextContent, CompuMethod, CompuNominatorDenominator, CompuScale, CompuScaleConstantContents, CompuScaleRationalFormula, CompuScales
|
|
12
|
+
from ..models.M2.MSR.AsamHdo.Constraints.GlobalConstraints import DataConstr, InternalConstrs, PhysConstrs
|
|
11
13
|
from ..models.M2.MSR.AsamHdo.SpecialData import Sdg
|
|
12
|
-
from ..models.M2.MSR.AsamHdo.
|
|
13
|
-
from ..models.M2.MSR.
|
|
14
|
-
from ..models.M2.MSR.
|
|
14
|
+
from ..models.M2.MSR.AsamHdo.Units import PhysicalDimension, Unit
|
|
15
|
+
from ..models.M2.MSR.CalibrationData.CalibrationValue import SwValueCont, SwValues
|
|
16
|
+
from ..models.M2.MSR.DataDictionary.Axis import SwAxisGrouped, SwAxisIndividual
|
|
15
17
|
from ..models.M2.MSR.DataDictionary.AuxillaryObjects import SwAddrMethod
|
|
16
|
-
from ..models.M2.MSR.DataDictionary.
|
|
17
|
-
from ..models.M2.MSR.
|
|
18
|
-
from ..models.M2.MSR.
|
|
19
|
-
from ..models.M2.MSR.AsamHdo.ComputationMethod import CompuMethod
|
|
20
|
-
from ..models.M2.MSR.DataDictionary.DataDefProperties import ValueList
|
|
21
|
-
from ..models.M2.MSR.Documentation.TextModel.MultilanguageData import MultilanguageLongName
|
|
22
|
-
from ..models.M2.MSR.DataDictionary.RecordLayout import SwRecordLayout
|
|
23
|
-
from ..models.M2.MSR.AsamHdo.Constraints.GlobalConstraints import DataConstr
|
|
24
|
-
from ..models.M2.MSR.AsamHdo.Units import Unit
|
|
18
|
+
from ..models.M2.MSR.DataDictionary.CalibrationParameter import SwCalprmAxis, SwCalprmAxisSet
|
|
19
|
+
from ..models.M2.MSR.DataDictionary.DataDefProperties import SwDataDefProps, ValueList
|
|
20
|
+
from ..models.M2.MSR.DataDictionary.RecordLayout import SwRecordLayout, SwRecordLayoutGroup, SwRecordLayoutV
|
|
25
21
|
from ..models.M2.MSR.Documentation.Annotation import Annotation
|
|
22
|
+
from ..models.M2.MSR.Documentation.BlockElements import DocumentationBlock
|
|
23
|
+
from ..models.M2.MSR.Documentation.TextModel.MultilanguageData import MultiLanguageOverviewParagraph, MultiLanguageParagraph, MultilanguageLongName
|
|
26
24
|
|
|
27
|
-
from ..models.M2.AUTOSARTemplates.
|
|
28
|
-
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.RTEEvents import DataReceivedEvent, InitEvent, InternalTriggerOccurredEvent, OperationInvokedEvent, RTEEvent, SwcModeSwitchEvent, TimingEvent
|
|
29
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.TimingExtensions import TimingExtension
|
|
30
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.ExecutionOrderConstraint import EOCExecutableEntityRef, ExecutionOrderConstraint
|
|
31
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Ethernet.EthernetFrame import GenericEthernetFrame
|
|
32
|
-
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.IncludedDataTypes import IncludedDataTypeSet
|
|
25
|
+
from ..models.M2.AUTOSARTemplates.AutosarTopLevelStructure import AUTOSAR
|
|
33
26
|
from ..models.M2.AUTOSARTemplates.BswModuleTemplate.BswOverview import BswModuleDescription
|
|
34
|
-
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.Datatypes import ApplicationArrayDataType, ApplicationCompositeDataType, ApplicationDataType, ApplicationPrimitiveDataType, ApplicationRecordDataType, AutosarDataType
|
|
35
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.SwcBswMapping import SwcBswMapping, SwcBswRunnableMapping
|
|
36
27
|
from ..models.M2.AUTOSARTemplates.BswModuleTemplate.BswImplementation import BswImplementation
|
|
28
|
+
from ..models.M2.AUTOSARTemplates.BswModuleTemplate.BswInterfaces import BswModuleEntry
|
|
29
|
+
from ..models.M2.AUTOSARTemplates.BswModuleTemplate.BswBehavior import BswCalledEntity, BswEvent, BswInternalBehavior, BswModeSenderPolicy, BswModuleEntity, BswSchedulableEntity, BswScheduleEvent, BswTimingEvent
|
|
30
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure import ApplicationValueSpecification, ArrayValueSpecification, ConstantReference, ConstantSpecification, NumericalValueSpecification, RecordValueSpecification, TextValueSpecification, ValueSpecification
|
|
31
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.Filter import DataFilter
|
|
32
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.SwcBswMapping import SwcBswMapping, SwcBswRunnableMapping
|
|
37
33
|
from ..models.M2.AUTOSARTemplates.CommonStructure.Implementation import Code, Implementation
|
|
38
|
-
from ..models.M2.AUTOSARTemplates.
|
|
39
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.
|
|
40
|
-
from ..models.M2.AUTOSARTemplates.
|
|
34
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.TimingExtensions import SwcTiming, TimingExtension
|
|
35
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.ExecutionOrderConstraint import EOCExecutableEntityRef, ExecutionOrderConstraint
|
|
36
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import NvBlockNeeds, RoleBasedDataAssignment, ServiceDependency
|
|
41
37
|
from ..models.M2.AUTOSARTemplates.CommonStructure.InternalBehavior import ExecutableEntity
|
|
42
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.ModeDeclaration import ModeDeclaration, ModeDeclarationGroup
|
|
43
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.SwcInternalBehavior.ModeDeclarationGroup import IncludedModeDeclarationGroupSet
|
|
44
|
-
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Communication import CompositeNetworkRepresentation, TransmissionAcknowledgementRequest
|
|
45
|
-
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import ARElement, Identifiable, MultilanguageReferrable, Referrable
|
|
46
|
-
from ..models.M2.AUTOSARTemplates.BswModuleTemplate.BswBehavior import BswCalledEntity, BswEvent, BswInternalBehavior, BswModeSenderPolicy, BswModuleEntity, BswSchedulableEntity, BswScheduleEvent, BswTimingEvent
|
|
47
38
|
from ..models.M2.AUTOSARTemplates.CommonStructure.ImplementationDataTypes import ImplementationDataType
|
|
48
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure import
|
|
39
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.InternalBehavior import InternalBehavior
|
|
40
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.ModeDeclaration import ModeDeclaration, ModeDeclarationGroup, ModeDeclarationGroupPrototype
|
|
41
|
+
from ..models.M2.AUTOSARTemplates.CommonStructure.ResourceConsumption import ResourceConsumption
|
|
42
|
+
|
|
49
43
|
from ..models.M2.AUTOSARTemplates.ECUCDescriptionTemplate import EcucAbstractReferenceValue, EcucContainerValue, EcucInstanceReferenceValue, EcucModuleConfigurationValues, EcucNumericalParamValue, EcucParameterValue, EcucReferenceValue, EcucTextualParamValue, EcucValueCollection
|
|
44
|
+
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.EngineeringObject import AutosarEngineeringObject, EngineeringObject
|
|
45
|
+
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import ARElement, Identifiable, MultilanguageReferrable, Referrable
|
|
50
46
|
from ..models.M2.AUTOSARTemplates.GenericStructure.AbstractStructure import AnyInstanceRef
|
|
47
|
+
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ARPackage import ARPackage
|
|
48
|
+
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType, ARLiteral, Limit
|
|
49
|
+
|
|
50
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.PortAPIOptions import PortAPIOption
|
|
51
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.RTEEvents import DataReceivedEvent, InitEvent, InternalTriggerOccurredEvent, OperationInvokedEvent, RTEEvent, SwcModeSwitchEvent, TimingEvent
|
|
52
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.IncludedDataTypes import IncludedDataTypeSet
|
|
53
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.Datatypes import ApplicationArrayDataType, ApplicationCompositeDataType, ApplicationDataType, ApplicationPrimitiveDataType, ApplicationRecordDataType, AutosarDataType
|
|
54
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.EndToEndProtection import EndToEndDescription, EndToEndProtection, EndToEndProtectionVariablePrototype
|
|
55
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.ModeDeclarationGroup import IncludedModeDeclarationGroupSet
|
|
56
|
+
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Communication import CompositeNetworkRepresentation, TransmissionAcknowledgementRequest
|
|
51
57
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Components import ApplicationSwComponentType, AtomicSwComponentType, ComplexDeviceDriverSwComponentType, CompositionSwComponentType, EcuAbstractionSwComponentType, PortGroup, SwComponentType, PPortPrototype, PortPrototype, RPortPrototype
|
|
52
58
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Components.InstanceRefs import InnerPortGroupInCompositionInstanceRef, PModeGroupInAtomicSwcInstanceRef, RModeGroupInAtomicSWCInstanceRef, RModeInAtomicSwcInstanceRef, RVariableInAtomicSwcInstanceRef
|
|
53
59
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior import RunnableEntity, RunnableEntityArgument, SwcInternalBehavior, SynchronousServerCallPoint
|
|
@@ -59,36 +65,28 @@ from ..models.M2.AUTOSARTemplates.SWComponentTemplate.PortInterface.InstanceRefs
|
|
|
59
65
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.InstanceRefsUsage import AutosarParameterRef, AutosarVariableRef, VariableInAtomicSWCTypeInstanceRef
|
|
60
66
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Communication import ClientComSpec, ModeSwitchReceiverComSpec, ModeSwitchSenderComSpec, NonqueuedReceiverComSpec, NonqueuedSenderComSpec, PPortComSpec, ParameterRequireComSpec, QueuedReceiverComSpec, QueuedSenderComSpec, RPortComSpec, ReceiverComSpec, SenderComSpec, ServerComSpec
|
|
61
67
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Components.InstanceRefs import PModeGroupInAtomicSwcInstanceRef, RModeGroupInAtomicSWCInstanceRef
|
|
62
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.DataMapping import SenderReceiverToSignalGroupMapping, SenderReceiverToSignalMapping
|
|
63
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate import System, SystemMapping
|
|
64
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.NetworkManagement import CanNmCluster, CanNmClusterCoupling, CanNmNode, NmCluster, NmConfig, NmNode
|
|
65
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.TransportProtocols import CanTpConfig
|
|
66
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.InstanceRefs import VariableDataPrototypeInSystemInstanceRef
|
|
67
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Multiplatform import Gateway, ISignalMapping
|
|
68
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Can.CanCommunication import CanFrame, CanFrameTriggering, RxIdentifierRange
|
|
69
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreCommunication import FrameTriggering, IPdu, ISignalGroup, ISignalIPdu, ISignalIPduGroup, ISignalTriggering, PduTriggering, SecuredIPdu, SystemSignal, DcmIPdu, Frame, ISignal, NPdu, NmPdu, SystemSignalGroup
|
|
70
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Lin.LinCommunication import LinFrameTriggering, LinUnconditionalFrame
|
|
71
|
-
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreTopology import AbstractCanCluster, CanCluster, EcuInstance, CanPhysicalChannel, CommunicationCluster, LinCluster, LinPhysicalChannel, PhysicalChannel
|
|
72
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.InternalBehavior import InternalBehavior
|
|
73
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.Timing.TimingConstraint.TimingExtensions import SwcTiming
|
|
74
|
-
|
|
75
68
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcInternalBehavior.ServiceMapping import RoleBasedPortAssignment, SwcServiceDependency
|
|
76
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import NvBlockNeeds
|
|
77
69
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.DataPrototypes import ApplicationArrayElement, ApplicationCompositeElementDataPrototype, ApplicationRecordElement, AutosarDataPrototype, DataPrototype, ParameterDataPrototype, VariableDataPrototype
|
|
78
|
-
from ..models.M2.AUTOSARTemplates.BswModuleTemplate.BswInterfaces import BswModuleEntry
|
|
79
|
-
from ..models.M2.AUTOSARTemplates.AutosarTopLevelStructure import AUTOSAR
|
|
80
70
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Components import ServiceSwComponentType
|
|
81
|
-
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ARPackage import ARPackage
|
|
82
|
-
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType
|
|
83
|
-
from ..models.M2.MSR.DataDictionary.CalibrationParameter import SwCalprmAxisSet
|
|
84
|
-
from ..models.M2.AUTOSARTemplates.CommonStructure.ModeDeclaration import ModeDeclarationGroupPrototype
|
|
85
71
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.Datatype.Datatypes import DataTypeMappingSet
|
|
86
|
-
from ..models.M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import Limit
|
|
87
72
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.EndToEndProtection import EndToEndProtectionSet
|
|
88
73
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.PortInterface import ApplicationError, ClientServerInterface, ClientServerOperation, ModeSwitchInterface, ParameterInterface, PortInterface, SenderReceiverInterface, TriggerInterface
|
|
89
74
|
from ..models.M2.AUTOSARTemplates.SWComponentTemplate.SwcImplementation import SwcImplementation
|
|
90
|
-
|
|
91
|
-
from ..models.M2.AUTOSARTemplates.
|
|
75
|
+
|
|
76
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate import SwcToEcuMapping, System, SystemMapping
|
|
77
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.DataMapping import SenderReceiverToSignalGroupMapping, SenderReceiverToSignalMapping
|
|
78
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreCommunication import FrameTriggering, IPdu, IPduTiming, ISignalGroup, ISignalIPdu, ISignalIPduGroup, ISignalTriggering, PduTriggering, SecuredIPdu, SystemSignal, DcmIPdu, Frame, ISignal, NPdu, NmPdu, SystemSignalGroup
|
|
79
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.EcuInstance import EcuInstance
|
|
80
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.Timing import EventControlledTiming, TimeRangeType, TransmissionModeCondition, TransmissionModeDeclaration, TransmissionModeTiming
|
|
81
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Ethernet.EthernetFrame import GenericEthernetFrame
|
|
82
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Multiplatform import Gateway, ISignalMapping
|
|
83
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Can.CanCommunication import CanFrame, CanFrameTriggering, RxIdentifierRange
|
|
84
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Can.CanTopology import CanCommunicationConnector, CanCommunicationController
|
|
85
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.Fibex4Lin.LinCommunication import LinFrameTriggering, LinUnconditionalFrame
|
|
86
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreTopology import AbstractCanCluster, CanCluster, CanPhysicalChannel, CommConnectorPort, CommunicationCluster, CommunicationConnector, FramePort, IPduPort, ISignalPort, LinCluster, LinPhysicalChannel, PhysicalChannel
|
|
87
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.InstanceRefs import ComponentInSystemInstanceRef, VariableDataPrototypeInSystemInstanceRef
|
|
88
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.NetworkManagement import CanNmCluster, CanNmClusterCoupling, CanNmNode, NmCluster, NmConfig, NmNode
|
|
89
|
+
from ..models.M2.AUTOSARTemplates.SystemTemplate.TransportProtocols import CanTpConfig
|
|
92
90
|
|
|
93
91
|
from .abstract_arxml_writer import AbstractARXMLWriter
|
|
94
92
|
class ARXMLWriter(AbstractARXMLWriter):
|
|
@@ -963,6 +961,14 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
963
961
|
self.setChildElementOptionalRefType(child_element, "TARGET-DATA-PROTOTYPE-REF", ref.getAutosarVariableIRef().getTargetDataPrototypeRef())
|
|
964
962
|
self.setChildElementOptionalRefType(child_element, "LOCAL-VARIABLE-REF", ref.getLocalVariableRef())
|
|
965
963
|
|
|
964
|
+
def setComponentInSystemInstanceRef(self, element: ET.Element, tag_name: str, ref: ComponentInSystemInstanceRef):
|
|
965
|
+
if ref is not None:
|
|
966
|
+
child_element = ET.SubElement(element, tag_name)
|
|
967
|
+
self.setARObjectAttributes(child_element, ref)
|
|
968
|
+
self.setChildElementOptionalRefType(child_element, "BASE-REF", ref.getBaseRef())
|
|
969
|
+
self.setChildElementOptionalRefType(child_element, "CONTEXT-COMPOSITION-REF", ref.getContextCompositionRef())
|
|
970
|
+
self.setChildElementOptionalRefType(child_element, "TARGET-COMPONENT-REF", ref.getTargetComponentRef())
|
|
971
|
+
|
|
966
972
|
def setVariableAccess(self, element: ET.Element, access: VariableAccess):
|
|
967
973
|
child_element = ET.SubElement(element, "VARIABLE-ACCESS")
|
|
968
974
|
self.setIdentifiable(child_element, access)
|
|
@@ -2239,6 +2245,7 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2239
2245
|
|
|
2240
2246
|
def readAbstractCanCluster(self, element: ET.Element, cluster: AbstractCanCluster):
|
|
2241
2247
|
self.setChildElementOptionalNumericalValue(element, "CAN-FD-BAUDRATE", cluster.getCanFdBaudrate())
|
|
2248
|
+
self.setChildElementOptionalNumericalValue(element, "SPEED", cluster.getSpeed())
|
|
2242
2249
|
|
|
2243
2250
|
def writeLinCluster(self, element: ET.Element, cluster: LinCluster):
|
|
2244
2251
|
self.logger.debug("LinCluster %s" % cluster.short_name)
|
|
@@ -2259,14 +2266,89 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2259
2266
|
self.readAbstractCanCluster(child_element, cluster)
|
|
2260
2267
|
|
|
2261
2268
|
def writeCanFrame(self, element: ET.Element, frame: CanFrame):
|
|
2262
|
-
self.logger.debug("CanFrame %s" % frame.short_name)
|
|
2269
|
+
self.logger.debug("Write CanFrame %s" % frame.short_name)
|
|
2263
2270
|
child_element = ET.SubElement(element, "CAN-FRAME")
|
|
2264
2271
|
self.writeFrame(child_element, frame)
|
|
2265
2272
|
|
|
2273
|
+
def writeCommConnectorPort(self, element: ET.Element, port: CommConnectorPort):
|
|
2274
|
+
self.setIdentifiable(element, port)
|
|
2275
|
+
self.setChildElementOptionalLiteral(element, "COMMUNICATION-DIRECTION", port.getCommunicationDirection())
|
|
2276
|
+
|
|
2277
|
+
def writeFramePort(self, element: ET.Element, port: FramePort):
|
|
2278
|
+
child_element = ET.SubElement(element, "FRAME-PORT")
|
|
2279
|
+
self.writeCommConnectorPort(child_element, port)
|
|
2280
|
+
|
|
2281
|
+
def writeIPduPort(self, element: ET.Element, port: IPduPort):
|
|
2282
|
+
child_element = ET.SubElement(element, "I-PDU-PORT")
|
|
2283
|
+
self.writeCommConnectorPort(child_element, port)
|
|
2284
|
+
|
|
2285
|
+
def writeISignalPort(self, element: ET.Element, port: ISignalPort):
|
|
2286
|
+
child_element = ET.SubElement(element, "I-SIGNAL-PORT")
|
|
2287
|
+
self.writeCommConnectorPort(child_element, port)
|
|
2288
|
+
|
|
2289
|
+
def writeCommunicationConnectorEcuCommPortInstances(self, element: ET.Element, connector: CommunicationConnector):
|
|
2290
|
+
self.logger.debug("write EcuCommPortInstances of CommunicationConnector %s" % connector.getShortName())
|
|
2291
|
+
ports = connector.getEcuCommPortInstances()
|
|
2292
|
+
if len(ports) > 0:
|
|
2293
|
+
instances_tag = ET.SubElement(element, "ECU-COMM-PORT-INSTANCES")
|
|
2294
|
+
for port in ports:
|
|
2295
|
+
if isinstance(port, FramePort):
|
|
2296
|
+
self.writeFramePort(instances_tag, port)
|
|
2297
|
+
elif isinstance(port, IPduPort):
|
|
2298
|
+
self.writeIPduPort(instances_tag, port)
|
|
2299
|
+
elif isinstance(port, ISignalPort):
|
|
2300
|
+
self.writeISignalPort(instances_tag, port)
|
|
2301
|
+
else:
|
|
2302
|
+
self._raiseError("Unsupported CommConnectorPort <%s>" % type(port))
|
|
2303
|
+
|
|
2304
|
+
def writeCanCommunicationController(self, element: ET.Element, controller: CanCommunicationController):
|
|
2305
|
+
self.logger.debug("Write CanCommunicationController %s" % controller.getShortName())
|
|
2306
|
+
self.setIdentifiable(element, controller)
|
|
2307
|
+
|
|
2308
|
+
def writeEcuInstanceCommControllers(self, element: ET.Element, instance: EcuInstance):
|
|
2309
|
+
controllers = instance.getCommControllers()
|
|
2310
|
+
if len(controllers) > 0:
|
|
2311
|
+
controllers_tag = ET.SubElement(element, "COMM-CONTROLLERS")
|
|
2312
|
+
for controller in controllers:
|
|
2313
|
+
if isinstance(controller, CanCommunicationController):
|
|
2314
|
+
child_element = ET.SubElement(controllers_tag, "CAN-COMMUNICATION-CONTROLLER")
|
|
2315
|
+
self.writeCanCommunicationController(child_element, controller)
|
|
2316
|
+
else:
|
|
2317
|
+
self._raiseError("Unsupported Communication Controller <%s>" % type(controller))
|
|
2318
|
+
|
|
2319
|
+
def writeCommunicationConnector(self, element: ET.Element, connector: CommunicationConnector):
|
|
2320
|
+
self.setIdentifiable(element, connector)
|
|
2321
|
+
self.setChildElementOptionalRefType(element, "COMM-CONTROLLER-REF", connector.getCommControllerRef())
|
|
2322
|
+
self.writeCommunicationConnectorEcuCommPortInstances(element, connector)
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
def writeCanCommunicationConnector(self, element: ET.Element, connector: CanCommunicationConnector):
|
|
2326
|
+
self.logger.debug("Write CanCommunicationConnector %s" % connector.getShortName())
|
|
2327
|
+
self.writeCommunicationConnector(element, connector)
|
|
2328
|
+
|
|
2329
|
+
def writeEcuInstanceConnectors(self, element: ET.Element, instance: EcuInstance):
|
|
2330
|
+
connectors = instance.getConnectors()
|
|
2331
|
+
if len(connectors) > 0:
|
|
2332
|
+
connectors_tag = ET.SubElement(element, "CONNECTORS")
|
|
2333
|
+
for connector in connectors:
|
|
2334
|
+
if isinstance(connector, CanCommunicationConnector):
|
|
2335
|
+
child_element = ET.SubElement(connectors_tag, "CAN-COMMUNICATION-CONNECTOR")
|
|
2336
|
+
self.writeCanCommunicationConnector(child_element, connector)
|
|
2337
|
+
else:
|
|
2338
|
+
self._raiseError("Unsupported Communication connector <%s>" % type(connector))
|
|
2339
|
+
|
|
2266
2340
|
def writeEcuInstance(self, element: ET.Element, instance: EcuInstance):
|
|
2267
2341
|
self.logger.debug("EcuInstance %s" % instance.short_name)
|
|
2268
2342
|
child_element = ET.SubElement(element, "ECU-INSTANCE")
|
|
2269
2343
|
self.setIdentifiable(child_element, instance)
|
|
2344
|
+
self.setChildElementOptionalTimeValue(child_element, "COM-CONFIGURATION-GW-TIME-BASE", instance.getComConfigurationGwTimeBase())
|
|
2345
|
+
self.setChildElementOptionalTimeValue(child_element, "COM-CONFIGURATION-RX-TIME-BASE", instance.getComConfigurationRxTimeBase())
|
|
2346
|
+
self.setChildElementOptionalTimeValue(child_element, "COM-CONFIGURATION-TX-TIME-BASE", instance.getComConfigurationTxTimeBase())
|
|
2347
|
+
self.setChildElementOptionalBooleanValue(child_element, "COM-ENABLE-MDT-FOR-CYCLIC-TRANSMISSION", instance.getComEnableMDTForCyclicTransmission())
|
|
2348
|
+
self.writeEcuInstanceCommControllers(child_element, instance)
|
|
2349
|
+
self.writeEcuInstanceConnectors(child_element, instance)
|
|
2350
|
+
self.setChildElementOptionalBooleanValue(child_element, "SLEEP-MODE-SUPPORTED", instance.getSleepModeSupported())
|
|
2351
|
+
self.setChildElementOptionalBooleanValue(child_element, "WAKE-UP-OVER-BUS-SUPPORTED", instance.getWakeUpOverBusSupported())
|
|
2270
2352
|
|
|
2271
2353
|
def writeSystemSignalGroup(self, element: ET.Element, group: SystemSignalGroup):
|
|
2272
2354
|
self.logger.debug("Write SystemSignalGroup %s" % group.short_name)
|
|
@@ -2299,12 +2381,33 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2299
2381
|
self.setSenderReceiverToSignalGroupMapping(child_element, data_mapping)
|
|
2300
2382
|
else:
|
|
2301
2383
|
raise NotImplementedError("Unsupported Data Mapping %s" % type(data_mapping))
|
|
2384
|
+
|
|
2385
|
+
def setSwcToEcuMapping(self, element: ET.Element, mapping: SwcToEcuMapping):
|
|
2386
|
+
child_element = ET.SubElement(element, "SWC-TO-ECU-MAPPING")
|
|
2387
|
+
self.setIdentifiable(child_element, mapping)
|
|
2388
|
+
irefs = mapping.getComponentIRefs()
|
|
2389
|
+
if len(irefs) > 0:
|
|
2390
|
+
irefs_tag = ET.SubElement(child_element, "COMPONENT-IREFS")
|
|
2391
|
+
for iref in irefs:
|
|
2392
|
+
self.setComponentInSystemInstanceRef(irefs_tag, "COMPONENT-IREF", iref)
|
|
2393
|
+
self.setChildElementOptionalRefType(child_element, "ECU-INSTANCE-REF", mapping.getEcuInstanceRef())
|
|
2394
|
+
|
|
2395
|
+
def writeSystemMappingSwMappings(self, element: ET.Element, system_mapping: SystemMapping):
|
|
2396
|
+
sw_mappings = system_mapping.getSwMappings()
|
|
2397
|
+
if len(sw_mappings) > 0:
|
|
2398
|
+
child_element = ET.SubElement(element, "SW-MAPPINGS")
|
|
2399
|
+
for sw_mapping in sw_mappings:
|
|
2400
|
+
if isinstance(sw_mapping, SwcToEcuMapping):
|
|
2401
|
+
self.setSwcToEcuMapping(child_element, sw_mapping)
|
|
2402
|
+
else:
|
|
2403
|
+
raise NotImplementedError("Unsupported Sw Mapping %s" % type(sw_mapping))
|
|
2302
2404
|
|
|
2303
2405
|
def writeSystemMapping(self, element: ET.Element, mapping: SystemMapping):
|
|
2304
2406
|
self.logger.debug("Write SystemMapping %s" % mapping.short_name)
|
|
2305
2407
|
child_element = ET.SubElement(element, "SYSTEM-MAPPING")
|
|
2306
2408
|
self.setIdentifiable(child_element, mapping)
|
|
2307
2409
|
self.writeSystemMappingDataMappings(child_element, mapping)
|
|
2410
|
+
self.writeSystemMappingSwMappings(child_element, mapping)
|
|
2308
2411
|
|
|
2309
2412
|
def writeSystemMappings(self, element: ET.Element, system: System):
|
|
2310
2413
|
mappings = system.getMappings()
|
|
@@ -2316,6 +2419,15 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2316
2419
|
else:
|
|
2317
2420
|
raise NotImplementedError("Unsupported Mapping %s" % type(mapping))
|
|
2318
2421
|
|
|
2422
|
+
def writeRootSwCompositionPrototype(self, element: ET.Element, system: System):
|
|
2423
|
+
prototype = system.getRootSoftwareComposition()
|
|
2424
|
+
if prototype is not None:
|
|
2425
|
+
self.logger.debug("Write RootSwCompositionPrototype <%s>" % prototype.getShortName())
|
|
2426
|
+
child_element = ET.SubElement(element, "ROOT-SOFTWARE-COMPOSITIONS")
|
|
2427
|
+
child_element = ET.SubElement(child_element, "ROOT-SW-COMPOSITION-PROTOTYPE")
|
|
2428
|
+
self.setIdentifiable(child_element, prototype)
|
|
2429
|
+
self.setChildElementOptionalRefType(child_element, "SOFTWARE-COMPOSITION-TREF", prototype.getSoftwareCompositionTRef())
|
|
2430
|
+
|
|
2319
2431
|
def writeSystem(self, element: ET.Element, system: System):
|
|
2320
2432
|
self.logger.debug("Write System %s" % system.short_name)
|
|
2321
2433
|
child_element = ET.SubElement(element, "SYSTEM")
|
|
@@ -2330,6 +2442,8 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2330
2442
|
self.setChildElementOptionalRefType(fibex_element_ref_conditional_tag, "FIBEX-ELEMENT-REF", ref)
|
|
2331
2443
|
|
|
2332
2444
|
self.writeSystemMappings(child_element, system)
|
|
2445
|
+
self.writeRootSwCompositionPrototype(child_element, system)
|
|
2446
|
+
self.setChildElementOptionalRevisionLabelString(child_element, "SYSTEM-VERSION", system.getSystemVersion())
|
|
2333
2447
|
|
|
2334
2448
|
def writePhysicalDimension(self, element: ET.Element, dimension: PhysicalDimension):
|
|
2335
2449
|
self.logger.debug("Write PhysicalDimension %s" % dimension.short_name)
|
|
@@ -2536,12 +2650,55 @@ class ARXMLWriter(AbstractARXMLWriter):
|
|
|
2536
2650
|
self.setChildElementOptionalNumericalValue(child_element, "START-POSITION", mapping.getStartPosition())
|
|
2537
2651
|
self.setChildElementOptionalLiteral(child_element, "TRANSFER-PROPERTY", mapping.getTransferProperty())
|
|
2538
2652
|
self.setChildElementOptionalNumericalValue(child_element, "UPDATE-INDICATION-BIT-POSITION", mapping.getUpdateIndicationBitPosition())
|
|
2653
|
+
|
|
2654
|
+
def setDataFilter(self, element: ET.Element, key: str, filter: DataFilter):
|
|
2655
|
+
child_element = ET.SubElement(element, key)
|
|
2656
|
+
self.setChildElementOptionalLiteral(child_element, "DATA-FILTER-TYPE", filter.getDataFilterType())
|
|
2657
|
+
|
|
2658
|
+
def setTransmissionModeConditions(self, element: ET.Element, conditions: List[TransmissionModeCondition]):
|
|
2659
|
+
if len(conditions) > 0:
|
|
2660
|
+
conditions_tag = ET.SubElement(element, "TRANSMISSION-MODE-CONDITIONS")
|
|
2661
|
+
for condition in conditions:
|
|
2662
|
+
child_element = ET.SubElement(conditions_tag, "TRANSMISSION-MODE-CONDITION")
|
|
2663
|
+
self.setDataFilter(child_element, "DATA-FILTER", condition.getDataFilter())
|
|
2664
|
+
self.setChildElementOptionalRefType(child_element, "I-SIGNAL-IN-I-PDU-REF", condition.getISignalInIPduRef())
|
|
2665
|
+
|
|
2666
|
+
def setTimeRangeType(self, element: ET.Element, key: str, time_range: TimeRangeType):
|
|
2667
|
+
if time_range is not None:
|
|
2668
|
+
child_element = ET.SubElement(element, key)
|
|
2669
|
+
self.setChildElementOptionalTimeValue(child_element, "VALUE", time_range.getValue())
|
|
2670
|
+
|
|
2671
|
+
def setEventControlledTiming(self, element: ET.Element, key: str, timing: EventControlledTiming):
|
|
2672
|
+
if timing is not None:
|
|
2673
|
+
child_element = ET.SubElement(element, key)
|
|
2674
|
+
self.setChildElementOptionalIntegerValue(child_element, "NUMBER-OF-REPETITIONS", timing.getNumberOfRepetitions())
|
|
2675
|
+
self.setTimeRangeType(child_element, "REPETITION-PERIOD", timing.getRepetitionPeriod())
|
|
2676
|
+
|
|
2677
|
+
def setTransmissionModeTiming(self, element: ET.Element, key: str, timing: TransmissionModeTiming):
|
|
2678
|
+
if timing is not None:
|
|
2679
|
+
self.logger.debug("Set TransmissionModeTiming of <%s>" % key)
|
|
2680
|
+
child_element = ET.SubElement(element, key)
|
|
2681
|
+
#timing.getCyclicTiming(child_element, "")
|
|
2682
|
+
self.setEventControlledTiming(child_element, "EVENT-CONTROLLED-TIMING", timing.getEventControlledTiming())
|
|
2683
|
+
|
|
2684
|
+
def setTransmissionModeDeclaration(self, element: ET.Element, key: str, decl : TransmissionModeDeclaration):
|
|
2685
|
+
if decl is not None:
|
|
2686
|
+
child_element = ET.SubElement(element, key)
|
|
2687
|
+
self.setTransmissionModeConditions(child_element, decl.getTransmissionModeConditions())
|
|
2688
|
+
self.setTransmissionModeTiming(child_element, "TRANSMISSION-MODE-TRUE-TIMING", decl.getTransmissionModeTrueTiming())
|
|
2689
|
+
|
|
2690
|
+
def setISignalIPduIPduTimingSpecification(self, element: ET.Element, timing: IPduTiming):
|
|
2691
|
+
if timing is not None:
|
|
2692
|
+
spec_tag = ET.SubElement(element, "I-PDU-TIMING-SPECIFICATIONS")
|
|
2693
|
+
child_element = ET.SubElement(spec_tag, "I-PDU-TIMING")
|
|
2694
|
+
self.setTransmissionModeDeclaration(child_element, "TRANSMISSION-MODE-DECLARATION", timing.getTransmissionModeDeclaration())
|
|
2539
2695
|
|
|
2540
2696
|
def writeISignalIPdu(self, element: ET.Element, i_pdu: ISignalIPdu):
|
|
2541
2697
|
self.logger.debug("ISignalIPdu %s" % i_pdu.short_name)
|
|
2542
2698
|
child_element = ET.SubElement(element, "I-SIGNAL-I-PDU")
|
|
2543
2699
|
self.setIdentifiable(child_element, i_pdu)
|
|
2544
2700
|
self.setChildElementOptionalNumericalValue(child_element, "LENGTH", i_pdu.getLength())
|
|
2701
|
+
self.setISignalIPduIPduTimingSpecification(child_element, i_pdu.getIPduTimingSpecification())
|
|
2545
2702
|
self.writeISignalToPduMappings(child_element, i_pdu)
|
|
2546
2703
|
self.setChildElementOptionalLiteral(child_element, "UNUSED-BIT-PATTERN", i_pdu.getUnusedBitPattern())
|
|
2547
2704
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: armodel
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.0
|
|
4
4
|
Summary: the python arxml parser
|
|
5
5
|
Home-page: http://github.com/melodypapa/py-armodel
|
|
6
6
|
Author: melodypapa
|
|
@@ -369,3 +369,17 @@ Fix the attribute intervalType of **Limit** is empty issue.
|
|
|
369
369
|
2. Fix the Binary value
|
|
370
370
|
3. Refactor the SwComponentType.
|
|
371
371
|
|
|
372
|
+
**Version 1.7.0**
|
|
373
|
+
|
|
374
|
+
1. To support the following AR Element:
|
|
375
|
+
* SWC-TO-ECU-MAPPING
|
|
376
|
+
* SW-MAPPINGS
|
|
377
|
+
* ROOT-SOFTWARE-COMPOSITIONS
|
|
378
|
+
* SPEED
|
|
379
|
+
* ECU-INSTANCE
|
|
380
|
+
* COMM-CONTROLLERS
|
|
381
|
+
* CAN-COMMUNICATION-CONNECTOR
|
|
382
|
+
* I-PDU-TIMING
|
|
383
|
+
* DATA-FILTER
|
|
384
|
+
* EVENT-CONTROLLED-TIMING
|
|
385
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
armodel/__init__.py,sha256=GVXg600GzbcLT2-Lrepuz6mjT6_BsVNmi2eDiz85NiA,67
|
|
2
2
|
armodel/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
armodel/cli/arxml_dump_cli.py,sha256=Rg2am26-0YJR68Wthv3MlXYfQbM16-pMinUoF0udYa4,10874
|
|
4
|
-
armodel/cli/arxml_format_cli.py,sha256
|
|
4
|
+
armodel/cli/arxml_format_cli.py,sha256=-wdyefCwtYdpvJIgAQmOFIsAteitYL-U8av1ulEeBCs,2053
|
|
5
5
|
armodel/cli/connector2xlsx_cli.py,sha256=hNrVRkSBlkVO3aNOQMmvmf2fPZ-ijILukKrqh5v-m4k,2163
|
|
6
6
|
armodel/cli/connector_update_cli.py,sha256=glEONaSKBpKGzKW3X_Gvvr0ovzjVxGo_-qbYfWh9__E,2294
|
|
7
7
|
armodel/cli/memory_section_cli.py,sha256=YPhnfP9dd8yjPG_F32FaKhnCGVmLIK-WH33Jbup31O8,2179
|
|
@@ -13,19 +13,20 @@ armodel/lib/__init__.py,sha256=5629DkORqTomt16J6VL40o5hFv86-9SRB1240OJWTts,142
|
|
|
13
13
|
armodel/lib/cli_args_parser.py,sha256=WiTC3wy_fZYloA1AjPqCvvOA_26V_y5toun0qfV51cw,1207
|
|
14
14
|
armodel/lib/sw_component.py,sha256=spUeVR8ftzqf9h-pilh17qQg8amYqcqh39XKYql3HO4,1367
|
|
15
15
|
armodel/lib/system_signal.py,sha256=E3FNiUGRUZovTCclCkabkVPpScMIACOXERUpbAuBTv8,1397
|
|
16
|
-
armodel/models/__init__.py,sha256=
|
|
16
|
+
armodel/models/__init__.py,sha256=ACrOXGc0fW9ERoy9QV21Gp3CjJ6FGqnG1oilI7xQnMI,4176
|
|
17
17
|
armodel/models/M2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py,sha256=TiHSzzMbGUIteC139YIChIDs5LmkQiYnLsHuiRY4_tU,5056
|
|
19
19
|
armodel/models/M2/AUTOSARTemplates/ECUCDescriptionTemplate.py,sha256=YL1F6U8chH-GrWi9tU1TtUq-4Ht6y5Z7s5o5tzCheTw,9283
|
|
20
20
|
armodel/models/M2/AUTOSARTemplates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
-
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py,sha256=
|
|
21
|
+
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py,sha256=Z9bFQzXbDzHl45kt16-eNPU8eukc7j00L0MpZ9Flbpw,13819
|
|
22
22
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswImplementation.py,sha256=el7uFWztAqqYaCX_BOiSI6n7zeXsdD7acwpK52ZO5cM,2209
|
|
23
23
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces.py,sha256=FjCCqKHS-KMJySiwpDtiBk5WhzrVMSHOJTCaWR4842A,2638
|
|
24
24
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview.py,sha256=40BTjkzcUIXECsd3-wkpgbTKivcJcaFq_k20QQyYsD4,3691
|
|
25
25
|
armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/__init__.py,sha256=IY7GCwskITrwr1Rv76zzNUupbMsPAiG4ZMf5ZqtQuBg,118
|
|
26
|
+
armodel/models/M2/AUTOSARTemplates/CommonStructure/Filter.py,sha256=epZ2eekCBnufpMMe5QCEt6c84lNBztN9CzCmjg_XSZ0,2440
|
|
26
27
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/Implementation.py,sha256=qlaUllbaM1JeX8exwtBFa850BAJ7TIsB54sOKGNV5Gk,8061
|
|
27
28
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/ImplementationDataTypes.py,sha256=2qTV7qXwY-Hjh50N_F0ESShE1tczuQFoDef2jCweD-0,6136
|
|
28
|
-
armodel/models/M2/AUTOSARTemplates/CommonStructure/InternalBehavior.py,sha256=
|
|
29
|
+
armodel/models/M2/AUTOSARTemplates/CommonStructure/InternalBehavior.py,sha256=pCJ-TKMmZkbYALI-XFg8Mm8QJekOkdykjslAPdhfK6g,4612
|
|
29
30
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/ModeDeclaration.py,sha256=uNQNAw8w7BEwVgcNcI3_1qoGtKfb48nar4v1coB8Exk,3459
|
|
30
31
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/ServiceNeeds.py,sha256=FnZKwzFBLDtGgfSyNFgPB5UXVpUgQ4if41MOunQW2Jo,2980
|
|
31
32
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/SwcBswMapping.py,sha256=r4nlKEU4E5SlmHULjH5CNL0sc-0Vu5JMO6wdF_BXUJs,1549
|
|
@@ -42,14 +43,14 @@ armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/Timin
|
|
|
42
43
|
armodel/models/M2/AUTOSARTemplates/CommonStructure/Timing/TimingConstraint/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
44
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/AbstractStructure.py,sha256=abfBOkDWUGN5xDPoLjYw-cfTio988lSuA35jtOPil2c,3016
|
|
44
45
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/__init__.py,sha256=ovguP4wzQEDNguczwiZnhMm4dRRVcvnzmHrfQtlRCNQ,15
|
|
45
|
-
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py,sha256=
|
|
46
|
+
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py,sha256=m0z3qzXDYyGnue5i3WWiQ81Y_PylBL9SZk6BTDYFRdk,28799
|
|
46
47
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ArObject.py,sha256=lGpAPeVhgMbHPmdZWSxd4bKRIy6ALd1jeaa8mkHXy0Y,559
|
|
47
48
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ElementCollection.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
48
49
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/EngineeringObject.py,sha256=GAlpyZhgyJSNyMpGMDqF7wd7bpzQtpWhB-2wYUvQbYw,1718
|
|
49
50
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/Identifiable.py,sha256=F8ubItWX-JwOA-X75eO2XLAX-a51cjwfJDud7NMDujU,5490
|
|
50
|
-
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/PrimitiveTypes.py,sha256=
|
|
51
|
+
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/PrimitiveTypes.py,sha256=5gdp_t_7U7Q6ZVTpKkFIGtuEqSSjuRpldQFESF4ASUg,11582
|
|
51
52
|
armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
|
-
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py,sha256
|
|
53
|
+
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Communication.py,sha256=-3IoSFVhlnqreKStcoDXnk5qT0gfNCOyiZhgBWh3_pg,12426
|
|
53
54
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/EndToEndProtection.py,sha256=OvATuHGdlLGpf56CEVvqG1TBqag8rW_zzw3jBEc_7Jk,6216
|
|
54
55
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/RPTScenario.py,sha256=qtSMJjrELFXwnXBrNFKtteo7tqO8m16KHd_p7Tw2JJ4,669
|
|
55
56
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcImplementation.py,sha256=ExFASEiGd3qBbHARe_p2ZlaS9YFaJ9oy68ytbeh7qVI,1259
|
|
@@ -67,7 +68,7 @@ armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Acces
|
|
|
67
68
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/DataElements.py,sha256=L-IS9E_uCJxZM99PWNEBIP5XDvyKnzbOrckMSaMrNsk,1923
|
|
68
69
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/IncludedDataTypes.py,sha256=ejt-TSbPsEMSbr2u7kjdna6qQzI901y9f0Ls8QPIEf0,851
|
|
69
70
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/InstanceRefsUsage.py,sha256=a8DeEFGuT6w_F2gj8FmD2eHQk-OeuBSXyZUx3U_HNps,5745
|
|
70
|
-
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ModeDeclarationGroup.py,sha256=
|
|
71
|
+
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ModeDeclarationGroup.py,sha256=0QnmCi33e1tv0ZK9kfdTyV-MrN31LOtjz93HDuNm73c,2230
|
|
71
72
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PerInstanceMemory.py,sha256=660PzTkQGpE4tieurBlXO5X-T3TdKgRx2LghxhTYuws,1397
|
|
72
73
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/PortAPIOptions.py,sha256=sBc-OmYx7gxv5RYvpa4bitMA4A6X1XddHiGkXxaYcYc,2789
|
|
73
74
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py,sha256=hfQVpBNj4AAfT_plDQaDaqH6wORrk1Gv1LBh2Yw11BQ,5585
|
|
@@ -76,21 +77,24 @@ armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Servi
|
|
|
76
77
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/Trigger.py,sha256=lHfGVkfp4xinYS3j3rEAentSpHi7o_Rgy98O5CSo-Uc,404
|
|
77
78
|
armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/__init__.py,sha256=Fxhj0jJjrUtQcC4qi2gjhciENUb-sSvHrNp0qa1ljtE,18443
|
|
78
79
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/DataMapping.py,sha256=vqL3PBz58XRnnEEbPBtXYHbyTMdmYucgDzuhW48os9Q,2588
|
|
79
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/InstanceRefs.py,sha256=
|
|
80
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/InstanceRefs.py,sha256=Q8po4MxdTQ0Kz1wxignfvOzazQa67Phd_03By6OjfW8,2820
|
|
80
81
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/NetworkManagement.py,sha256=bbOcXTS8aQOy5M18yf2FwKCFv_rcnjHsTRrGCRHpWys,17318
|
|
81
82
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/TransportProtocols.py,sha256=Qg6SnO8rEHjMhaKlIQhUaQK5-OBa5hjQ3LJB9ErPags,334
|
|
82
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__init__.py,sha256=
|
|
83
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/__init__.py,sha256=tNlsiCs91g2wdnm4SRNyhqWk6mDBSqpJALZsAapUtG0,13713
|
|
83
84
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Multiplatform.py,sha256=tGy9C8g_XB4pPnv8oeGq_kztq8_Xb9U87Go1oa_ZMSI,4324
|
|
84
85
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
86
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanCommunication.py,sha256=Sftihbe-JU8GEFCubE4b2nvZpWs12ZzAzHJRwZrKnFA,3729
|
|
87
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/CanTopology.py,sha256=lfwgKOs5janbyj-EwZEehjw9XgriJHfzRI6AI0BGJ7s,6464
|
|
86
88
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Can/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
87
89
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetFrame.py,sha256=EvRGdOINgQ5BqSnAiOSVKl84na6LFy452rl37T41efY,685
|
|
88
90
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/ServiceInstances.py,sha256=jG9KGNBUHz3hJT6MUBADUANhPN5vGFE1mPKqbfHp2rI,4133
|
|
89
91
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
92
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/LinCommunication.py,sha256=ZhoignKlV0OVUqKLN-b_N2hiDZB-oX1WeHNmJYdGGwI,1486
|
|
91
93
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Lin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreCommunication.py,sha256=
|
|
93
|
-
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreTopology.py,sha256=
|
|
94
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreCommunication.py,sha256=SgV3MSSL7hzI1bV7s3XtyQd8d7vTtwYOEFxi9t54pc8,19966
|
|
95
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/CoreTopology.py,sha256=hTda9W88rPqxYnsXqD0eozkoPN0YZuvmmgjQU76ZlLg,14668
|
|
96
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/EcuInstance.py,sha256=bHZsN3CBuAWtXyUxmitVCbr5SWz936dyHaaLkn0dvv0,8999
|
|
97
|
+
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/Timing.py,sha256=lYaEyQ39ecXJKZzTlW7JRK-yAH8R25Jovq3_EYsGGKI,5378
|
|
94
98
|
armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/FibexCore/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
95
99
|
armodel/models/M2/MSR/__init__.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
96
100
|
armodel/models/M2/MSR/AsamHdo/AdminData.py,sha256=DxAmK0FvzZUq9W8jVNQz0dSuh8kZWYiceSKp1btOJKQ,501
|
|
@@ -116,8 +120,8 @@ armodel/models/M2/MSR/Documentation/TextModel/LanguageDataModel.py,sha256=N56B-p
|
|
|
116
120
|
armodel/models/M2/MSR/Documentation/TextModel/MultilanguageData.py,sha256=OGbRaB8RgItToR1KEObW4CXSCi0ZWOkwnd_TFi4y6jg,1235
|
|
117
121
|
armodel/models/M2/MSR/Documentation/TextModel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
118
122
|
armodel/parser/__init__.py,sha256=wFcqh5unmDvKvf4R8vWkeertAXwWxAuOOEsbsM4mOHs,78
|
|
119
|
-
armodel/parser/abstract_arxml_parser.py,sha256=
|
|
120
|
-
armodel/parser/arxml_parser.py,sha256=
|
|
123
|
+
armodel/parser/abstract_arxml_parser.py,sha256=MSAHvF-31Hh9zY-7X7tRL7KSGXS1xFSZqDD-ya7Q9C8,12722
|
|
124
|
+
armodel/parser/arxml_parser.py,sha256=fkvG3rqlQV_rBC8VSZCrtpIryuRZ4olzfB4F1Mm3iQI,189486
|
|
121
125
|
armodel/parser/connector_xlsx_parser.py,sha256=0YW0WGOeDFdSNEY_Xh8Hi-Zlv4e4ctaLUh9pibj2-1w,10312
|
|
122
126
|
armodel/parser/excel_parser.py,sha256=-Ws0eDvGna9LPQC9T8bgMg3Zq84v04aSuSxZUlZx1Wo,698
|
|
123
127
|
armodel/parser/file_parser.py,sha256=OMGh1oBgvDvz3qz8PrKxpTKqTsuFy3i9zw_Sfpes9M8,1464
|
|
@@ -143,14 +147,14 @@ armodel/tests/test_armodel/models/test_port_prototype.py,sha256=eJMfvimtniRIhqA5
|
|
|
143
147
|
armodel/tests/test_armodel/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
148
|
armodel/tests/test_armodel/parser/test_arxml_parser.py,sha256=4-4DKdHIZN50wiM0tzzP-nejY74aEtAWhURwYxDGrWw,747
|
|
145
149
|
armodel/tests/test_armodel/parser/test_parse_bswmd.py,sha256=khyJdeMAfAbllHieAfXsZE4ycA_fb74PCu-6Ske4QRA,10260
|
|
146
|
-
armodel/tests/test_armodel/parser/test_sw_components.py,sha256=
|
|
147
|
-
armodel/tests/test_armodel/parser/test_system.py,sha256=
|
|
150
|
+
armodel/tests/test_armodel/parser/test_sw_components.py,sha256=VcnqjD0nyqJ8x6ZGtwu-cLDF0MLd4qYrqfPwZ0FxksY,3182
|
|
151
|
+
armodel/tests/test_armodel/parser/test_system.py,sha256=6oy10Y32qPwrPV1Twgr36pGUgrugoB4bHqtibJinLI0,1051
|
|
148
152
|
armodel/writer/__init__.py,sha256=eXr3qhGzFIvHNBin22x-Tk2JM6QwRgx1jwrluDKAlzQ,37
|
|
149
|
-
armodel/writer/abstract_arxml_writer.py,sha256=
|
|
150
|
-
armodel/writer/arxml_writer.py,sha256=
|
|
151
|
-
armodel-1.
|
|
152
|
-
armodel-1.
|
|
153
|
-
armodel-1.
|
|
154
|
-
armodel-1.
|
|
155
|
-
armodel-1.
|
|
156
|
-
armodel-1.
|
|
153
|
+
armodel/writer/abstract_arxml_writer.py,sha256=kUL_PMw5P7zV5eYBkNlkWQtz1FOH8FaUc7jhQ4us8Rg,6099
|
|
154
|
+
armodel/writer/arxml_writer.py,sha256=x6niCpmxhjqU_9GGY9QOGH76wRcXl3SFbjeVpP4JsW8,185479
|
|
155
|
+
armodel-1.7.0.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
|
|
156
|
+
armodel-1.7.0.dist-info/METADATA,sha256=C_Pl4p25LixN8-z77ymO-ZyqpswE-0qSIEpvDUACZNI,11186
|
|
157
|
+
armodel-1.7.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
158
|
+
armodel-1.7.0.dist-info/entry_points.txt,sha256=7n_GwPbHcnqMTnKCnPjjjo3s_uo_vaFrjtZQeDQtHHM,397
|
|
159
|
+
armodel-1.7.0.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
|
|
160
|
+
armodel-1.7.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|