Extensions.DiagDataBrowsingPlus.GetDbResponseResponseType
Jump to navigation
Jump to search
Contents
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 dbResponse);
Description
GetDbResponseResponseType returns the type (MCDResponseType) of this response.
The appropriate MVCI system operation is MCDDbResponse::getResponseType
Return Value
The Term returns the value, see table below.
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
/// Local Declarations
DiagCom.Result Result;
DiagCom.Response Response;
DiagDataBrowsingPlus.DbResponse DbResponse;
DiagDataBrowsingPlus.McdResponseType McdResponseType = @McdResponseType:GLOBAL_NEG_RESPONSE;
/// 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