OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsing.DataTypes.ComChannelCategory Class Reference

The category of a communication channel More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsing.DataTypes.ComChannelCategory:
Inheritance graph

Public Attributes

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

Detailed Description

The category of a communication channel

ComChannelCategory is an enumeration type describing the category of a ComChannel.

Order Relation
ComChannelCategory values may occur as operands of comparisons. For this case, the following order relation is defined. Started with the lowest value BASE_VARIANT = 0:


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 index of the value in the ComChannelCategories enumeration (smallest index is 0)Integer val = ToInteger(@ComChannelCategory:BASE_VARIANT); // Returns 0
ToFloatUndefined (should not be used)
ToStringReturns the name of the enumeration valueString s = ToString(@ComChannelCategory:BASE_VARIANT); // Returns "BASE_VARIANT"
ToByteFieldUndefined (should not be used)

Sample

DiagDataBrowsing.ComChannelCategory ComChannelCategoryVariable = @ComChannelCategory:BASE_VARIANT;

Member Data Documentation

◆ init

ComChannelCategoryLiteral OpenTestSystem.Otx.Extensions.DiagDataBrowsing.DataTypes.ComChannelCategory.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::OtxComChannelCategories::FUNCTIONAL_GROUP
@ FUNCTIONAL_GROUP
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxComChannelCategories::PROTOCOL
@ PROTOCOL
OpenTestSystem.Otx::DiagManager::OtxDiagApi::DataTypes::OtxComChannelCategories::BASE_VARIANT
@ BASE_VARIANT