OTX Reference
|
|
The ASAM types of responses More...
Public Attributes | |
McdResponseTypeLiteral | init |
Cardinality [0..1] This optional element stands for the hard-coded initialisation value of the identifier at declaration time. More... | |
The ASAM types of responses
McdResponseType is an enumeration type describing the ASAM types of responses used by the MVCI/ODX system.
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:
Conversion | Result | Sample |
---|---|---|
ToBoolean | Undefined (should not be used) | |
ToInteger | Returns the value in the enumeration | Integer i = ToInteger(@McdResponseType:GLOBAL_NEG_RESPONSE); // Returns 28419 |
ToFloat | Undefined (should not be used) | |
ToString | Returns the name of the enumeration value | String s = ToString(@McdResponseType:GLOBAL_NEG_RESPONSE); // Returns "eGLOBAL_NEG_RESPONSE". |
ToByteField | Undefined (should not be used) |
Sample
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.