Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbResponseDbParameters"

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.GetDbResponseDbParameters(DbResponseTerm);
+
/// Local Declarations
 +
List<DiagDataBrowsingPlus.DbParameter> ListVariable;
 +
/// Flow
 +
ListVariable = DiagDataBrowsingPlus.GetDbResponseDbParameters(DbResponseTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 18: Line 21:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbResponse| [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]]| [[Term]] | - | [1..1] |The element represents the '''DbResponse''' which [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] shall be returnd.}}
+
{{TableRowPropertie2| DbResponse| [[Extensions.DiagDataBrowsingPlus.DbResponse|DbResponse]]| [[Term]] | - | [1..1] |The element represents the '''DbResponse''' which [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] shall be returnd.}}
 
|}
 
|}
  
 
== 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 07:56, 24 October 2018

Classification

Name GetDbResponseDbParameters
Short Description Gets the DbParameter of the DbResponse
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbResponse related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

/// Local Declarations
List<DiagDataBrowsingPlus.DbParameter> ListVariable;
/// Flow
ListVariable = DiagDataBrowsingPlus.GetDbResponseDbParameters(DbResponseTerm);

Description

GetDbResponseDbParameters returns a list of DbParameter objects which represents the MCDDbResponseParameters for the given DbResponse. An empty list can be returned, if no response parameters are defined for the response in the project's data base.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbResponse::getDbResponseParameters

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 DbParameter objects which represents the MCDDbResponseParameters for the given DbResponse.

Properties

Name Data Type Class Default Cardinality Description
DbResponse DbResponse Term - [1..1] The element represents the DbResponse which DbParameter shall be returnd.

OTL Examples

/// Local Declarations

DiagCom.Result Result;
DiagCom.Response Response;
DiagDataBrowsingPlus.DbResponse DbResponse;
List<DiagDataBrowsingPlus.DbParameter> List_DbParameter;

/// Flow

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

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetResponseDbResponse