Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataGroups"

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.GetDbSpecialDataGroupSpecialDataGroups(DbSpecialDataGroupTerm);
+
/// Local Declarations
 +
List<DiagDataBrowsingPlus.DbSpecialDataGroup> ListVariable;
 +
/// Flow
 +
ListVariable = DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataGroups(DbSpecialDataGroupTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 18: Line 21:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| specialDataGroup| [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] | [[Term]] | - | [1..1] |The element addresses the '''DbSpecialDataGroup''' (MCDDbSpecialDataGroup) (MCDDbSpecialDataGroup) which special data groups shall be returned.}}
+
{{TableRowPropertie2| SpecialDataGroup| [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] | [[Term]] | - | [1..1] |The element addresses the '''DbSpecialDataGroup''' (MCDDbSpecialDataGroup) (MCDDbSpecialDataGroup) which special data groups 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;

Revision as of 08:27, 24 October 2018

Classification

Name GetDbSpecialDataGroupSpecialDataGroups
Short Description Gets the special data groups of the DbSpecialDataGroup
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbSpecialDataGroup related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

/// Local Declarations
List<DiagDataBrowsingPlus.DbSpecialDataGroup> ListVariable;
/// Flow
ListVariable = DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataGroups(DbSpecialDataGroupTerm);

Description

GetDbSpecialDataGroupSpecialDataGroups returns a list of DbSpecialDataGroup (SDG) of the DbSpecialDataGroup. An empty list can be returned if no SDG are available.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbSpecialDataGroup::getItemByIndex

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 DbSpecialDataGroup (SDG) of the DbSpecialDataGroup.

Properties

Name Data Type Class Default Cardinality Description
SpecialDataGroup DbSpecialDataGroup Term - [1..1] The element addresses the DbSpecialDataGroup (MCDDbSpecialDataGroup) (MCDDbSpecialDataGroup) which special data groups shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbDiagTroubleCode DbDiagTroubleCode;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;

/// 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_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataGroups(List_DbSpecialDataGroup[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetParameterByPath
GetParameterDbDiagTroubleCode
GetDbDiagServiceDbSpecialDataGroups
GetDbResponseDbSpecialDataGroups
GetDbRequestDbSpecialDataGroups
GetDbDiagTroubleCodeSpecialDataGroups