Classification
OTL Syntax
ListTerm DiagDataBrowsingPlus.GetDbParameterTableStructParams(DbParameterTerm dbParameter);
Description
GetDbParameterTableStructParams returns a list of parameters of type eTABLE_STRUCT which reference the parameter of type eTABLE_KEY. In ODX, it is allowed that several parameters of type eTABLE_STRUCT reference the same parameter of type eTABLE_KEY. The only restriction is that these parameters need to be located on the same level in the parameter hierarchy. Therefore, this method returns a list of parameters of type eTABLE_STRUCT which reference the parameter of type eTABLE_KEY. More precisely, if the parameter is a MCDDbTableParameter of type eTABLE_KEY, a list of MCDDbTableParameters of type eTABLE_STRUCT which reference this MCDDbTableParameter is returned. The list can be empty if there is no next level.
If the parameter is not of parameter type eTABLE_KEY, the InvalidTypeException exception will be thrown.
|
|
The appropriate MVCI system operation is MCDDbParameter::getDbTableStructParams
|
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
List |
Returns a list of parameters of type eTABLE_STRUCT which reference the parameter of type eTABLE_KEY.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
DbParameter |
DbParameter |
Term |
- |
[1..1] |
The element addresses the DbParameter (MCDDbParameter) which table struct parameter shall be returned.
|
OTL Examples
/// Local Declarations
DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<DiagDataBrowsingPlus.DbParameter> List_DbParameter;
/// Flow
[#MetaData(RequestPdu), <#Data>22 04 3E</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentCalibData"), {Param_RecorDataIdent = "Theftprotection Showroom Mode"}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
Parameter = DiagCom.GetParameterByPath(Response, {"Param_RecorDataIdent"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_DbParameter = DiagDataBrowsingPlus.GetDbParameterTableStructParams(DbParameter);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterDbParameter