Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbEcuVariantList"

From emotive
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
/// Local Declarations
+
ListTerm DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm identifier);
List<String> ListVariable;
 
/// Flow
 
ListVariable = DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm);
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 15: Line 12:
 
be thrown.
 
be thrown.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbLogicalLink::getDbLocation::getDbECU::getDbEcuVariants}}
+
{{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 22: 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]].}}
+
{{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]].}}
 
|}
 
|}
  

Latest revision as of 09:10, 2 November 2018

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.

Icons Note.png The appropriate MVCI system operation is MCDDbLogicalLink::getDbLocation::getDbECU::getDbEcuVariants

Return Value

The Term returns the value, see table below.

Icons Note.png 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");

See also

GetComChannel
GetComChannelList