Extensions.DiagDataBrowsingPlus.GetDbParameterDataType

From emotive
Jump to navigation Jump to search

Classification

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

OTL Syntax

McdDataTypeTerm DiagDataBrowsingPlus.GetDbParameterDataType(DbParameterTerm dbParameter);

Description

GetDbParameterDataType returns the data type of the parameter.

Icons Note.png The appropriate MVCI system operation is MCDDbParameter::getDataType

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
McdDataType Returns the data type of the parameter.

Properties

Name Data Type Class Default Cardinality Description
DbParameter DbParameter Term - [1..1] The element addresses the DbParameter (MCDDbParameter) which data type shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
DiagDataBrowsingPlus.McdDataType McdDataType = @McdDataType:ASCIISTRING;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false), "DiagnServi_ReadDataByIdentActuaTestStatu")), {"Param_RequeServiId"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
McdDataType = DiagDataBrowsingPlus.GetDbParameterDataType(DbParameter);

See also

GetComChannel
CreateDiagServiceByName
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterDbParameter