Difference between revisions of "Extensions.DiagCom.Request"

From emotive
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Data Type '''Request'''}}
+
{{DISPLAYTITLE:Data Type '''Request'''}}[[Category:DataType]][[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationDataType | Request | A handle to a request | [[Simple Data Type]] | - | - }}
+
{{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 massage | StringSample=<tt>Request request (RQ Variant Coding Read: 223000); String s = ToString(request); // Returns "RQ Variant Coding Read: 223000"</tt>
+
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.

Icons Note.png 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;