Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceDbSpecialDataGroups"

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.GetDbDiagServiceDbSpecialDataGroups(DbDiagServiceTerm);
+
/// Local Declarations
 +
List<DiagDataBrowsingPlus.DbSpecialDataGroup> ListVariable;
 +
/// Flow
 +
ListVariable = DiagDataBrowsingPlus.GetDbDiagServiceDbSpecialDataGroups(DbDiagServiceTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 18: Line 21:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbDiagService| [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] |The element addresses the '''DbDiagService''' whose special data groups shall be returned.}}
+
{{TableRowPropertie2| DbDiagService| [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] |The element addresses the '''DbDiagService''' whose 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.DiagService DiagService;
 
DiagCom.DiagService DiagService;
 
DiagDataBrowsingPlus.DbDiagService DbDiagService;
 
DiagDataBrowsingPlus.DbDiagService DbDiagService;

Revision as of 08:14, 24 October 2018

Classification

Name GetDbDiagServiceDbSpecialDataGroups
Short Description Gets the special data groups of the DbDiagService
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.GetDbDiagServiceDbSpecialDataGroups(DbDiagServiceTerm);

Description

GetDbDiagServiceDbSpecialDataGroups returns a list of DbSpecialDataGroup (SDG) for the corresponding DbDiagService in the project's data bases. An empty list will be delivered if no DbSDGs available in the ODX data.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbDataPrimitive::getDbSDGs

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) for the corresponding DbDiagService in the project's data bases.

Properties

Name Data Type Class Default Cardinality Description
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService whose special data groups shall be returned.

OTL Examples

/// Local Declarations

DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;

/// Flow

DiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDTCInforReporDTCByStatuMask");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbDiagServiceDbSpecialDataGroups(DbDiagService);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService