OTX Reference
|
|
The ASAM types of Parameters More...
Public Attributes | |
McdParameterTypeLiteral | 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 Parameters
McdParameterType is an enumeration type describing the ASAM types of parameters 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(@McdParameterType:CODED_CONST); // Returns 28675. |
ToFloat | Undefined (should not be used) | |
ToString | Returns the name of the enumeration value | String s = ToString(@McdParameterType:CODED_CONST); // Returns "eCODED_CONST". |
ToByteField | Undefined (should not be used) |
Sample
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.