Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbEcuVariantList"

From emotive
Jump to navigation Jump to search
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;">
ListTerm = DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm);
+
/// Local Declarations
 +
 
 +
List<String> ListVariable;
 +
/// Flow
 +
ListVariable = DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 24: Line 28:
 
== 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;
  

Revision as of 04:16, 24 October 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

/// Local Declarations

List<String> ListVariable;
/// Flow
ListVariable = DiagDataBrowsingPlus.GetDbEcuVariantList(StringTerm);

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 NOTE — 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