Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups"

From emotive
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetDbResponseDbSpecialDataGroups'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetDbResponseDbSpecialDataGroups'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetDbResponseDbSpecialDataGroups| Gets the special data groups of the [[Extensions.DiagDataBrowsingPlus.DbResponsee|DbResponse]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbSpecialDataGroup related terms]] | NONE | - }}
+
{{ClassificationActivity | GetDbResponseDbSpecialDataGroups| Gets the special data groups of the [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbSpecialDataGroup 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;">
ListTerm = DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups(DbResponseTerm);
+
ListTerm DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups(DbResponseTerm dbResponse);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 11: Line 11:
 
'''GetDbResponseDbSpecialDataGroups''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] (SDG) of the [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]]. An empty list can be returned if no SDG are available.
 
'''GetDbResponseDbSpecialDataGroups''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] (SDG) of the [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]]. An empty list can be returned if no SDG are available.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbResponse::getDbSDGs}}
+
{{Note|The appropriate MVCI system operation is MCDDbResponse::getDbSDGs}}
  
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] (SDG) of the [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]].}}
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]] (SDG) of the [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]].}}
Line 18: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbResponse| [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]] | [[Term]] | - | [1..1] |The element addresses the '''DbResponse''' which SDGs shall be returned.}}
+
{{TableRowPropertie2| DbResponse| [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]] | [[Term]] | - | [1..1] |The element addresses the '''DbResponse''' which SDGs 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:48, 2 November 2018

Classification

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

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups(DbResponseTerm dbResponse);

Description

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

Icons Note.png The appropriate MVCI system operation is MCDDbResponse::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) of the DbResponse.

Properties

Name Data Type Class Default Cardinality Description
DbResponse DbResponse Term - [1..1] The element addresses the DbResponse which SDGs shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Result Result;
DiagCom.Response Response;
DiagDataBrowsingPlus.DbResponse DbResponse;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;

/// Flow

[#MetaData(RequestPdu), <#Data>22 01 00</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu"), {}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
DbResponse = DiagDataBrowsingPlus.GetResponseDbResponse(Response);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups(DbResponse);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetResponseDbResponse