Difference between revisions of "Extensions.DiagCom.Request"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''Request'''}}[[Category:DataType]][[Category:DiagCom]] | {{DISPLAYTITLE:Data Type '''Request'''}}[[Category:DataType]][[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationDataType | Request | A handle to a request | [[ | + | {{ClassificationDataType | Request | A handle to a request | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Extensions.DiagCom.Message|Message]] | - }} |
== Description == | == Description == | ||
Line 9: | Line 9: | ||
{{ConversionTable | | {{ConversionTable | | ||
− | String=Returns the name of the '''Request''' and the | + | String=Returns the name of the '''Request''' and the message | StringSample=<tt>Request request (RQ Variant Coding Read: 223000); String s = ToString(requestVariable); // Returns "RQ Variant Coding Read: 223000"</tt> |
}} | }} | ||
+ | |||
+ | ==Sample== | ||
+ | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | DiagCom.Request RequestVariable; | ||
+ | </syntaxhighlight> |
Latest revision as of 08:43, 22 October 2018
Classification
Name | Request |
Short Description | A handle to a request |
Class | Complex Data Type |
Base Data Type | Message |
Default Value | Empty |
Provide a Literal | No |
SpecifiedBy | ISO 13209-3 |
Standard Compliant | Yes |
Description
A Request is a handle to a request of a diagnostic service.
![]()
In case of a MVCI/ODX based system a Request handle represents a MCDRequestobject.
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 name of the Request and the message | Request request (RQ Variant Coding Read: 223000); String s = ToString(requestVariable); // Returns "RQ Variant Coding Read: 223000" |
ToByteField | Undefined (should not be used) |
Sample
DiagCom.Request RequestVariable;