Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbSpecialDataElementContent"

From emotive
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetDbSpecialDataElementContent'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetDbSpecialDataElementContent'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetDbSpecialDataElementContent| Gets the content of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbSpecialDataElement related terms]] | NONE | - }}
+
{{ClassificationActivity | GetDbSpecialDataElementContent| Gets the content of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbSpecialDataElement related terms]] | NONE | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
StringTerm = DiagDataBrowsingPlus.GetDbSpecialDataElementContent(DbRequestTerm);
+
StringTerm DiagDataBrowsingPlus.GetDbSpecialDataElementContent(DbSpecialDataElementTerm specialDataElement);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 11: Line 11:
 
'''GetDbSpecialDataElementContent''' returns the content of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]].
 
'''GetDbSpecialDataElementContent''' returns the content of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]].
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbSpecialDataElement::getContent}}
+
{{Note|The appropriate MVCI system operation is MCDDbSpecialDataElement::getContent}}
  
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | the content of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]].}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the content of the [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]].}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| specialDataElement| [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] | [[Term]] | - | [1..1] |The element addresses the '''DbSpecialDataElement''' (MCDDbSpecialDataElement) which content shall be returned.}}
+
{{TableRowPropertie2| SpecialDataElement| [[Extensions.DiagDataBrowsingPlus.DbSpecialDataElement|DbSpecialDataElement]] | [[Term]] | - | [1..1] |The element addresses the '''DbSpecialDataElement''' (MCDDbSpecialDataElement) which content shall be returned.}}
 
|}
 
|}
  
 
== 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.Result Result;
 
DiagCom.Result Result;
 
DiagCom.Response Response;
 
DiagCom.Response Response;

Latest revision as of 08:50, 2 November 2018

Classification

Name GetDbSpecialDataElementContent
Short Description Gets the content of the DbSpecialDataElement
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbSpecialDataElement related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm DiagDataBrowsingPlus.GetDbSpecialDataElementContent(DbSpecialDataElementTerm specialDataElement);

Description

GetDbSpecialDataElementContent returns the content of the DbSpecialDataElement.

Icons Note.png The appropriate MVCI system operation is MCDDbSpecialDataElement::getContent

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 content of the DbSpecialDataElement.

Properties

Name Data Type Class Default Cardinality Description
SpecialDataElement DbSpecialDataElement Term - [1..1] The element addresses the DbSpecialDataElement (MCDDbSpecialDataElement) which content shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbDiagTroubleCode DbDiagTroubleCode;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;
List<DiagDataBrowsingPlus.DbSpecialDataElement> List_DbSpecialDataElement;
String MyString;

/// Flow

[#MetaData(RequestPdu), <#Data>19 02 00</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDTCInforReporDTCByStatuMask"), {}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
Parameter = DiagCom.GetParameterByPath(Response, {"Param_DTCAndStatuRecor", "STRUC_DTCAndStatuRecor", "Param_DTCUDS"});
DbDiagTroubleCode = DiagDataBrowsingPlus.GetParameterDbDiagTroubleCode(Parameter);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbDiagTroubleCodeSpecialDataGroups(DbDiagTroubleCode);
List_DbSpecialDataElement = DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements(List_DbSpecialDataGroup[0]);
MyString = DiagDataBrowsingPlus.GetDbSpecialDataElementContent(List_DbSpecialDataElement[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetParameterByPath
GetParameterDbDiagTroubleCode
GetDbDiagServiceDbSpecialDataGroups
GetDbDiagTroubleCodeSpecialDataGroups
GetDbSpecialDataGroupSpecialDataElements