Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetTextTableElementLongName"

From emotive
Jump to navigation Jump to search
 
(2 intermediate revisions 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;">
StringTerm = DiagDataBrowsingPlus.GetTextTableElementLongName(TextTableElementTerm);
+
StringTerm DiagDataBrowsingPlus.GetTextTableElementLongName(TextTableElementTerm textTableElement);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 11: Line 11:
 
'''GetTextTableElementLongName''' returns the LongName of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|text table element]].
 
'''GetTextTableElementLongName''' returns the LongName of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|text table element]].
  
{{Note|NOTE — The appropriate MVCI system operation is MCDTextTableElement::getLongName}}
+
{{Note|The appropriate MVCI system operation is MCDTextTableElement::getLongName}}
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the LongName of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|text table element]].}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the LongName of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|text table element]].}}
Line 23: Line 23:
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
DiagCom.Parameter Parameter;
 
DiagCom.Parameter Parameter;
 
DiagDataBrowsingPlus.DbParameter DbParameter;
 
DiagDataBrowsingPlus.DbParameter DbParameter;

Latest revision as of 08:38, 2 November 2018

Classification

Name GetTextTableElementLongName
Short Description Gets the long name of the TextTableElement
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group TextTableElement related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm DiagDataBrowsingPlus.GetTextTableElementLongName(TextTableElementTerm textTableElement);

Description

GetTextTableElementLongName returns the LongName of the text table element.

Icons Note.png The appropriate MVCI system operation is MCDTextTableElement::getLongName

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
String Returns the LongName of the text table element.

Properties

Name Data Type Class Default Cardinality Description
TextTableElement TextTableElement Term - [1..1] The element addresses the TextTableElement (MCDTextTableElement) which long name shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<DiagDataBrowsingPlus.TextTableElement> List_TextTableElement;
String MyString;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentECUIdent")), {"Param_RecorDataIdent"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_TextTableElement = DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameter);
MyString = DiagDataBrowsingPlus.GetTextTableElementLongName(List_TextTableElement[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterBySemantic
GetParameterDbParameter
GetDbParameterTextTableElements