OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsing.Terms.GetAllowedParameterValueList Class Reference

Get list the allowed values for a parameter. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsing.Terms.GetAllowedParameterValueList:
Inheritance graph

Public Attributes

ParameterTerm parameter
 Parameter object which be returned as a list of included parameter handles. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Get list the allowed values for a parameter.

GetAllowedParameterValueList returns a list of strings containing the allowed values for a parameter.

If there is no enumeration of allowed values associated to the parameter, the empty list will be returned.

Note
NOTE - In the case of a MVCI/ODX based system, this applies only to parameters which have a TEXTTABLE as COMPU-METHOD or to parameters which are of type TABLE-KEY. For those parameters the list contains all valid entries of a TEXTTABLE or all entries which are valid for the TABLE-KEY. For other parameters the returned list is empty.
Syntax
ListTerm = DiagDataBrowsing.GetAllowedParameterValueList(ParameterTerm Parameter);
Examples
// Local Declarations
List<String> List1;
DiagCom.ComChannel ComChannel1;
DiagCom.DiagService DiagService1;
DiagCom.Parameter Parameter1;
DiagCom.Request Request1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu");
List1 = DiagDataBrowsing.GetRequestParameterList(DiagService1);
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, {List1[0]});
List1 = DiagDataBrowsing.GetAllowedParameterValueList(Parameter1);

Member Data Documentation

◆ parameter

ParameterTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsing.Terms.GetAllowedParameterValueList.parameter

Parameter object which be returned as a list of included parameter handles.