Difference between revisions of "Extensions.DiagCom.Result"

From emotive
Jump to navigation Jump to search
 
Line 11: Line 11:
 
String=Returns the value of the '''Result''' object | StringSample=<tt>String s = ToString(resultVariable); // Returns "1 response(s)"</tt>
 
String=Returns the value of the '''Result''' object | StringSample=<tt>String s = ToString(resultVariable); // Returns "1 response(s)"</tt>
 
}}
 
}}
 +
 +
==Sample==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
DiagCom.Result ResultVariable;
 +
</syntaxhighlight>

Latest revision as of 08:36, 22 October 2018

Classification

Name Result
Short Description A handle to the result
Class Simple Data Type
Base Data Type ComplexType
Default Value Empty
Provide a Literal No
SpecifiedBy ISO 13209-3
Standard Compliant Yes

Description

A Result is a handle to the result of a diagnostic service object.

Icons Note.png In case of a MVCI/ODX based system a Result handle represents a MCDResultobject.

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 Result object String s = ToString(resultVariable); // Returns "1 response(s)"
ToByteField Undefined (should not be used)

Sample

DiagCom.Result ResultVariable;