OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterMaxNumberOfItems Class Reference

Get 1 in case of a simple parameter type or eSTRUCTURE or the maximum number of items of a parameter of type eEND_OF_PDU. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterMaxNumberOfItems:
Inheritance graph

Public Attributes

DbParameterTerm dbParameter
 Cardinality [1]
The element addresses the DbParameter (MCDDbRequestParameter) which maximum number of items shall be returned. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Get 1 in case of a simple parameter type or eSTRUCTURE or the maximum number of items of a parameter of type eEND_OF_PDU.

The GetDbParameterMaxNumberOfItems activity which returns 1 in case of a simple parameter type or eSTRUCTURE or the maximum number of items of a parameter of type eEND_OF_PDU.

Note: The appropriate MVCI system operation is MCDDbRequestParameter::getMaxNumberOfItems.

Syntax
IntegerTerm = DiagDataBrowsingPlus.GetDbParameterMaxNumberOfItems(DbParameterTerm dbParameter);
Examples
// Local Declarations
DiagCom.Request Request;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
Integer MyInteger;
// Flow
Request = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false), "DiagnServi_WriteMemorByAddreMCD20001"));
Parameter = DiagCom.GetParameterByPath(Request, {"Param_MemorAddre"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
MyInteger = DiagDataBrowsingPlus.GetDbParameterMaxNumberOfItems(DbParameter);

Member Data Documentation

◆ dbParameter

DbParameterTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterMaxNumberOfItems.dbParameter

Cardinality [1]
The element addresses the DbParameter (MCDDbRequestParameter) which maximum number of items shall be returned.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterMaxNumberOfItems.dbParameter
DbParameterTerm dbParameter
Cardinality [1] The element addresses the DbParameter (MCDDbRequestParameter) which maximum number of...
Definition: DiagDataBrowsingPlus.cs:7315