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

The ASAM data types More...

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

Public Attributes

McdDataTypeLiteral 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 data types

McdDataType is an enumeration type describing the ASAM data types used by the MVCI/ODX system.

Note
IMPORTANT — If the McdDataType declaration is not explicitly initialised (omitted <init> element), the default value shall be ASCIISTRING.
IMPORTANT — When applying otx:ToString on an McdDataType, the resulting string shall be the name of the enumeration value, e.g.otx:ToString(END_OF_PDU)="END_OF_PDU". Furthermore, applying otx:ToInteger shall return the index of the value in the McdDataTypes enumeration(smallest index is 0). The behaviour is undefined for other conversion terms(cf.ISO 13209-2).
IMPORTANT — McdDataType values may occur as operands of comparisons(cf.ISO 13209-2, chapter 7.15.8). For this case, the following order relation shall apply: ASCIISTRING < BITFIELD < BOOLEAN < BYTEFIELD < FLOAT32 < FLOAT64 < INT16 < INT32 < INT64 < INT8 < UINT16 < UINT32 < UINT64 < UINT8 < UNICODE2STRING < DTC < END_OF_PDU < ENVDATA < ENVDATADESC < FIELD < KEY < LENGTHKEY < MULTIPLEXER < NO_TYPE < STRUCT_FIELD < STRUCTURE < TABLE < TABLE_ROW < TEXTTABLE.

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

Sample

DiagDataBrowsingPlus.McdDataType McdDataTypeVariable = @McdDataType:ASCIISTRING;

Member Data Documentation

◆ init

McdDataTypeLiteral OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataType.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.McdDataTypes.INT32
@ INT32
Data type is MCDDataType::eA_INT32 (simple data type).
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::ENVDATADESC
@ ENVDATADESC
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::NO_TYPE
@ NO_TYPE
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.FLOAT32
@ FLOAT32
Data type is MCDDataType::eA_FLOAT32 (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.INT8
@ INT8
Data type is MCDDataType::eA_INT8 (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.UNICODE2STRING
@ UNICODE2STRING
Data type is MCDDataType::eA_UNICODE2STRING (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.BOOLEAN
@ BOOLEAN
Data type is MCDDataType::eA_BOOLEAN (simple data type).
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::TEXTTABLE
@ TEXTTABLE
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::LENGTHKEY
@ LENGTHKEY
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::STRUCT_FIELD
@ STRUCT_FIELD
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.BYTEFIELD
@ BYTEFIELD
Data type is MCDDataType::eA_BYTEFIELD (simple data type).
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::ENVDATA
@ ENVDATA
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::MULTIPLEXER
@ MULTIPLEXER
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.FLOAT64
@ FLOAT64
Data type is MCDDataType::eA_FLOAT64 (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.ASCIISTRING
@ ASCIISTRING
Data type is MCDDataType::eA_ASCIISTRING (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.UINT8
@ UINT8
Data type is MCDDataType::eA_UINT8 (simple data type).
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::DTC
@ DTC
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::STRUCTURE
@ STRUCTURE
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::END_OF_PDU
@ END_OF_PDU
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.UINT16
@ UINT16
Data type is MCDDataType::eA_UINT16 (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.BITFIELD
@ BITFIELD
Data type is MCDDataType::eA_BITFIELD (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.UINT32
@ UINT32
Data type is MCDDataType::eA_UINT32 (simple data type).
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.UINT64
@ UINT64
Data type is MCDDataType::eA_UINT64 (simple data type).
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::TABLE_ROW
@ TABLE_ROW
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::TABLE
@ TABLE
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.DataTypes.McdDataTypes.INT16
@ INT16
Data type is MCDDataType::eA_INT16 (simple data type).
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::KEY
@ KEY
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxMcdDataTypes::FIELD
@ FIELD