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

The ASAM types of responses More...

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

Public Attributes

McdResponseTypeLiteral 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 responses

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

Note
IMPORTANT — If the MCDResponseType declaration is not explicitly initialised (omitted <init> element), the default value shall be GLOBAL_NEG_RESPONSE.
IMPORTANT — When applying otx:ToString on an MCDResponseType, the resulting string shall be the name of the enumeration value, e.g.otx:ToString(LOCAL_NEG_RESPONSE)="LOCAL_NEG_RESPONSE". Furthermore, applying otx:ToInteger shall return the index of the value in the MCDResponseTypes enumeration(smallest index is 0). The behaviour is undefined for other conversion terms(cf.ISO 13209-2).
IMPORTANT — MCDResponseType values may occur as operands of comparisons(cf.ISO 13209-2, chapter 7.15.8). For this case, the following order relation shall apply: GLOBAL_NEG_RESPONSE < LOCAL_NEG_RESPONSE < POSITIVE_RESPONSE.

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(@McdResponseType:GLOBAL_NEG_RESPONSE); // Returns 28419
ToFloatUndefined (should not be used)
ToStringReturns the name of the enumeration valueString s = ToString(@McdResponseType:GLOBAL_NEG_RESPONSE); // Returns "eGLOBAL_NEG_RESPONSE".
ToByteFieldUndefined (should not be used)

Sample

DiagDataBrowsingPlus.McdResponseType McdResponseTypeVariable = @McdResponseType:GLOBAL_NEG_RESPONSE;

Member Data Documentation

◆ init

McdResponseTypeLiteral OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdResponseType.init

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

OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdResponseTypes::POSITIVE_RESPONSE
@ POSITIVE_RESPONSE
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdResponseTypes::GLOBAL_NEG_RESPONSE
@ GLOBAL_NEG_RESPONSE
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdResponseTypes::LOCAL_NEG_RESPONSE
@ LOCAL_NEG_RESPONSE