OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterType Class Reference

The ASAM types of Parameters More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterType:
Inheritance graph

Public Attributes

McdParameterTypeLiteral init
 Cardinality [0..1]
This optional element stands for the hard-coded initialisation value of the identifier at declaration time. More...
 

Detailed Description

The ASAM types of Parameters

McdParameterType is an enumeration type describing the ASAM types of parameters used by the MVCI/ODX system.

Note
IMPORTANT — If the McdParameterType declaration is not explicitly initialised (omitted <init> element), the default value shall be CODED_CONST.
IMPORTANT — When applying otx:ToString on an McdParameterType, the resulting string shall be the name of the enumeration value, e.g.otx:ToString(PHYS_CONST)="PHYS_CONST". Furthermore, applying otx:ToInteger shall return the index of the value in the McdParameterTypes enumeration(smallest index is 0). The behaviour is undefined for other conversion terms(cf.ISO 13209-2).
IMPORTANT — McdParameterType values may occur as operands of comparisons(cf.ISO 13209-2, chapter 7.15.8). For this case, the following order relation shall apply: CODED_CONST < DYNAMIC < GENERATED < LENGTH_KEY < MATCHING_REQUEST_PARAM < NRC_CONST < PHYS_CONST < RESERVED < SYSTEM < TABLE_ENTRY < TABLE_KEY < TABLE_STRUCT < VALUE.

Literal
The syntax for Literals for complex data types will be used, where the member value is one of the values in the list.



Conversion terms
The following table shows the rules for conversion to another data type:

ConversionResultSample
ToBooleanUndefined (should not be used)
ToIntegerReturns the value in the enumerationInteger i = ToInteger(@McdParameterType:CODED_CONST); // Returns 28675.
ToFloatUndefined (should not be used)
ToStringReturns the name of the enumeration valueString s = ToString(@McdParameterType:CODED_CONST); // Returns "eCODED_CONST".
ToByteFieldUndefined (should not be used)

Sample

DiagDataBrowsingPlus.McdParameterType McdParameterTypeVariable = @McdParameterType:CODED_CONST;

Member Data Documentation

◆ init

McdParameterTypeLiteral OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterType.init

Cardinality [0..1]
This optional element stands for the hard-coded initialisation value of the identifier at declaration time.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.SYSTEM
@ SYSTEM
Corresponds to the ODX parameter type MCDParameterType::eSYSTEM.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.TABLE_STRUCT
@ TABLE_STRUCT
Corresponds to the ODX parameter type MCDParameterType::eTABLE-STRUCT.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.LENGTH_KEY
@ LENGTH_KEY
Corresponds to the ODX parameter type MCDParameterType::eLENGTH-KEY.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.PHYS_CONST
@ PHYS_CONST
Corresponds to the ODX parameter type MCDParameterType::ePHYS-CONST.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.CODED_CONST
@ CODED_CONST
Corresponds to the ODX parameter type MCDParameterType::eCODED_CONST.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.RESERVED
@ RESERVED
Corresponds to the ODX parameter type MCDParameterType::eRESERVED.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.MATCHING_REQUEST_PARAM
@ MATCHING_REQUEST_PARAM
Corresponds to the ODX parameter type MCDParameterType::eMATCHING-REQUEST-PARAM.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.VALUE
@ VALUE
Corresponds to the ODX parameter type MCDParameterType::eVALUE.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.GENERATED
@ GENERATED
Parameters of parameter type MCDParameterType::eGENERATED have been generated by the MVCI server....
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.DYNAMIC
@ DYNAMIC
Corresponds to the ODX parameter type MCDParameterType::eDYNAMIC.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.NRC_CONST
@ NRC_CONST
Corresponds to the ODX parameter type MCDParameterType::eNRC-CONST.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.TABLE_KEY
@ TABLE_KEY
Corresponds to the ODX parameter type MCDParameterType::eTABLE-KEY.
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdParameterTypes.TABLE_ENTRY
@ TABLE_ENTRY
Corresponds to the ODX parameter type MCDParameterType::eTABLE-ENTRY.