Extensions.DiagCom.Parameter

From emotive
Jump to navigation Jump to search

Classification

Name Parameter
Short Description A handle to a parameter object
Class Simple Data Type or Complex Data Type
Base Data Type ParameterContainer
Default Value Empty
Provide a Literal No
SpecifiedBy ISO 13209-3
Standard Compliant Yes

Description

A Parameter is a handle to a parameter object of a diagnostic service request or response. It can represent a simple or a complex type parameter, i.e. a Parameter handle might point to a simple Integer or String parameter, or it might correspond to a parameter structure or a list of parameters, depending on the definitions of the underlying communication system.

Icons Note.png In case of a MVCI/ODX based system a Parameter handle represents a MCDParameter object (or its specializations MCDRequestParameter and MCDResponseParameter, respectively).

Core Conversion

The following table shows the rules for conversion to another data type:

Conversion Result Sample
ToBoolean Undefined (should not be used)
ToInteger Undefined (should not be used)
ToFloat Undefined (should not be used)
ToString Returns the value of the Parameter object String s = ToString(parameterVariable); // Returns "valueOfParameter"
ToByteField Undefined (should not be used)

Sample

DiagCom.Parameter ParameterVariable;