OTX Reference  
OpenTestSystem.Otx.Extensions.DiagCom.Terms.GetParameterValueTextId Class Reference

Gets the text identifier of the Parameter value as a string More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagCom.Terms.GetParameterValueTextId:
Inheritance graph

Public Attributes

ParameterTerm parameter
 The Parameter whose text identifier value shall be returned as a string. 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

Gets the text identifier of the Parameter value as a string

The GetParameterValueTextId term accepts a ParameterTerm and returns the text identifier of the Parameter value as a string. In case an ODX/MVCI based system is used, the text identifier shall return the LongNameID of the related database object.

Exceptions
Core.Exceptions.TypeMismatchExceptionIt is thrown if the specified Parameter does not have a text identifier value.
Syntax
StringTerm DiagCom.GetParameterValueTextId(ParameterTerm parameter);
Examples
// Local Declarations
DiagCom.Request Request1;
String String1 = "";
DiagCom.ComChannel ComChannel1;
DiagCom.Parameter Parameter1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentVWSlaveCodinValue"));
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_RequeServiId"});
String1 = DiagCom.GetParameterValueTextId(Parameter1);

Member Data Documentation

◆ parameter

ParameterTerm OpenTestSystem.Otx.Extensions.DiagCom.Terms.GetParameterValueTextId.parameter

The Parameter whose text identifier value shall be returned as a string.

OpenTestSystem.Otx.Extensions.DiagCom.Terms.GetParameterValueTextId.parameter
ParameterTerm parameter
The Parameter whose text identifier value shall be returned as a string.
Definition: DiagCom.cs:3157