Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbEcuVariantList"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbEcuVariantList'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbEcuVariantList'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbEcuVariantList | Gets the names of all ECU variants for a given logical link | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbEcuVariant related terms]] | [[Core.Actions.Throw.Exception.UnknownTargetException|UnknownTargetException]] | - }} | + | {{ClassificationActivity | GetDbEcuVariantList | Gets the names of all ECU variants for a given logical link | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbEcuVariant related terms]] | [[Core.Actions.Throw.Exception.UnknownTargetException|UnknownTargetException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ListTerm | + | ListTerm DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm identifier); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 12: | Line 12: | ||
be thrown. | be thrown. | ||
− | {{Note| | + | {{Note|The appropriate MVCI system operation is MCDDbLogicalLink::getDbLocation::getDbECU::getDbEcuVariants}} |
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Core.DataTypes.SimpleDataType.String|strings]] which represents the names of all ECU variants for a given logical link.}} | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Core.DataTypes.SimpleDataType.String|strings]] which represents the names of all ECU variants for a given logical link.}} | ||
Line 19: | Line 19: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| Identifier | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1..1] |This element represents a string identifying the communication channel which provides the data. The identifier can be retrieved by the Term [[Extensions.DiagDataBrowsing.GetComChannelList|data:GetComChannelList]].}} |
|} | |} | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
List<String> List_String; | List<String> List_String; | ||
Latest revision as of 09:10, 2 November 2018
Contents
Classification
Name | GetDbEcuVariantList |
Short Description | Gets the names of all ECU variants for a given logical link |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbEcuVariant related terms |
Exceptions | UnknownTargetException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm identifier);
Description
GetDbEcuVariantList returns a List of strings which represents the names of all ECU variants for a given logical link. The identifier shall point to a base variant. If a base variant has no associated ECU variants, an empty List shall be returned. Furthermore, in case the communication channel points to a protocol or functional group, an exception shall be thrown.
![]()
The appropriate MVCI system operation is MCDDbLogicalLink::getDbLocation::getDbECU::getDbEcuVariants
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Returns a list of strings which represents the names of all ECU variants for a given logical link. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Identifier | String | Term | - | [1..1] | This element represents a string identifying the communication channel which provides the data. The identifier can be retrieved by the Term data:GetComChannelList. |
OTL Examples
/// Local Declarations
List<String> List_String;
/// Flow
List_String = DiagDataBrowsingPlus.GetDbEcuVariantList("LL_CentrElectUDS");