Difference between revisions of "Extensions.DiagDataBrowsingPlus.McdParameterType"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
This optional element stands for the hard-coded initialisation value of the identifier at declaration time. | This optional element stands for the hard-coded initialisation value of the identifier at declaration time. | ||
+ | |||
+ | '''McdParameterTypes''' has the following enumeration values: | ||
+ | {| {{TableHeader}} | ||
+ | |- {{TableHeaderRow}} | ||
+ | | '''Value''' || '''[[Literals|<span style="color:white;">Literal</span>]]''' || '''Description''' | ||
+ | |- {{TableRow1}} | ||
+ | | '''eCODED_CONST''' || @McdParameterType:CODED_CONST || Corresponds to the ODX parameter type MCDParameterType::eCODED-CONST. | ||
+ | |- {{TableRow2}} | ||
+ | | '''eDYNAMIC''' || @McdParameterType:DYNAMIC || Corresponds to the ODX parameter type MCDParameterType::eDYNAMIC. | ||
+ | |- {{TableRow1}} | ||
+ | | '''eGENERATED''' || @McdParameterType:GENERATED || Parameters of ParameterType parameter type MCDParameterType::eGENERATED have been generated by the MCD-3 server. That is, these parameters do not have a correspondance in ODX. | ||
+ | |- {{TableRow2}} | ||
+ | | '''eLENGTH_KEY''' || @McdParameterType:LENGTH_KEY || Corresponds to the ODX parameter type MCDParameterType::eLENGTH-KEY. | ||
+ | |- {{TableRow1}} | ||
+ | | '''eMATCHING_REQUEST_PARAM''' || @McdParameterType:MATCHING_REQUEST_PARAM || Corresponds to the ODX parameter type MCDParameterType::eMATCHINGREQUEST-PARAM. | ||
+ | |- {{TableRow2}} | ||
+ | | '''eNRC_CONST''' || @McdParameterType:NRC_CONST || Corresponds to the ODX parameter type MCDParameterType::eNRC-CONST. | ||
+ | |- {{TableRow1}} | ||
+ | | '''ePHYS_CONST''' || @McdParameterType:PHYS_CONST || Corresponds to the ODX parameter type MCDParameterType::ePHYS-CONST. | ||
+ | |- {{TableRow2}} | ||
+ | | '''eRESERVED''' || @McdParameterType:RESERVED || Corresponds to the ODX parameter type MCDParameterType::eRESERVED. | ||
+ | |- {{TableRow1}} | ||
+ | | '''eSYSTEM''' || @McdParameterType:SYSTEM || Corresponds to the ODX parameter type MCDParameterType::eSYSTEM. | ||
+ | |- {{TableRow2}} | ||
+ | | '''eTABLE_ENTRY''' || @McdParameterType:TABLE_ENTRY || Corresponds to the ODX parameter type MCDParameterType::eTABLE-ENTRY. | ||
+ | |- {{TableRow1}} | ||
+ | | '''eTABLE_KEY''' || @McdParameterType:TABLE_KEY || Corresponds to the ODX parameter type MCDParameterType::eTABLE-KEY. | ||
+ | |- {{TableRow2}} | ||
+ | | '''eTABLE_STRUCT''' || @McdParameterType:TABLE_STRUCT || Corresponds to the ODX parameter type MCDParameterType::eTABLE-STRUCT. | ||
+ | |- {{TableRow1}} | ||
+ | | '''eVALUE''' || @McdParameterType:VALUE || Corresponds to the ODX parameter type MCDParameterType::eVALUE. | ||
+ | |} | ||
+ | |||
{{ConversionTable | | {{ConversionTable | |
Revision as of 09:49, 21 September 2018
Classification
Name | McdParameterType |
Short Description | is an enumeration type |
Class | Simple Data Type |
Base Data Type | SimpleType |
Default Value | Empty |
Provide a Literal | No |
SpecifiedBy | ISO 13209-3 |
Standard Compliant | Yes |
Description
McdParameterType is an enumeration type describing the ASAM types of Parameters used by the MVCI/ODX system.
Its members have the following semantics:
- <init> : diagDataPlus:McdParameterTypeLiteral[0..1]
This optional element stands for the hard-coded initialisation value of the identifier at declaration time.
McdParameterTypes has the following enumeration values:
Value | Literal | Description |
eCODED_CONST | @McdParameterType:CODED_CONST | Corresponds to the ODX parameter type MCDParameterType::eCODED-CONST. |
eDYNAMIC | @McdParameterType:DYNAMIC | Corresponds to the ODX parameter type MCDParameterType::eDYNAMIC. |
eGENERATED | @McdParameterType:GENERATED | Parameters of ParameterType parameter type MCDParameterType::eGENERATED have been generated by the MCD-3 server. That is, these parameters do not have a correspondance in ODX. |
eLENGTH_KEY | @McdParameterType:LENGTH_KEY | Corresponds to the ODX parameter type MCDParameterType::eLENGTH-KEY. |
eMATCHING_REQUEST_PARAM | @McdParameterType:MATCHING_REQUEST_PARAM | Corresponds to the ODX parameter type MCDParameterType::eMATCHINGREQUEST-PARAM. |
eNRC_CONST | @McdParameterType:NRC_CONST | Corresponds to the ODX parameter type MCDParameterType::eNRC-CONST. |
ePHYS_CONST | @McdParameterType:PHYS_CONST | Corresponds to the ODX parameter type MCDParameterType::ePHYS-CONST. |
eRESERVED | @McdParameterType:RESERVED | Corresponds to the ODX parameter type MCDParameterType::eRESERVED. |
eSYSTEM | @McdParameterType:SYSTEM | Corresponds to the ODX parameter type MCDParameterType::eSYSTEM. |
eTABLE_ENTRY | @McdParameterType:TABLE_ENTRY | Corresponds to the ODX parameter type MCDParameterType::eTABLE-ENTRY. |
eTABLE_KEY | @McdParameterType:TABLE_KEY | Corresponds to the ODX parameter type MCDParameterType::eTABLE-KEY. |
eTABLE_STRUCT | @McdParameterType:TABLE_STRUCT | Corresponds to the ODX parameter type MCDParameterType::eTABLE-STRUCT. |
eVALUE | @McdParameterType:VALUE | Corresponds to the ODX parameter type MCDParameterType::eVALUE. |
Core Conversion
The following table shows the rules for conversion to another data type:
Conversion | Result | Sample |
ToBoolean | Undefined (should not be used) | |
ToInteger | Returns the index of the value in the enumeration (smallest index is 0). | Integer i = ToInteger(McdParameterTypeVariable); // Returns the index of the value in the enumeration. |
ToFloat | Undefined (should not be used) | |
ToString | Returns the name of the enumeration value. | String s = ToString(McdParameterTypeVariable); // Returns the name of the enumeration value. |
ToByteField | Undefined (should not be used) |