Extensions.DiagDataBrowsingPlus.GetDbResponseResponseType

From emotive
Revision as of 03:11, 21 September 2018 by Hb (talk | contribs) (→‎Classification)
Jump to navigation Jump to search

Classification

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

OTL Syntax

McdResponseTypeTerm = DiagDataBrowsingPlus.GetDbResponseResponseType(DbResponseTerm);

Description

GetDbResponseResponseType returns the type (MCDResponseType) of this response.

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

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
McdResponseType Returns the type (MCDResponseType) of this response.

Properties

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

OTL Examples

DiagCom.Result Result;
DiagCom.Response Response;
DiagDataBrowsingPlus.DbResponse DbResponse;
DiagDataBrowsingPlus.McdResponseType McdResponseType;

/// 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);
McdResponseType = DiagDataBrowsingPlus.GetDbResponseResponseType(DbResponse);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetResponseDbResponse
GetDiagServiceDbDiagService
GetDbDiagServiceDbResponses