Difference between revisions of "Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup"

From emotive
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Data Type '''DbSpecialDataGroup'''}}[[Category:DataType]][[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:Data Type '''DbSpecialDataGroup'''}}[[Category:DataType]][[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationDataType | DbSpecialDataGroup | Represents the MCDDbSpecialDataGroup object of a MVCI
+
{{ClassificationDataType | DbSpecialDataGroup | Represents the MCDDbSpecialDataGroup object of a MVCI system| [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | - }}
system|[[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | - }}
 
  
 
== Description ==
 
== Description ==
Line 10: Line 9:
  
 
{{ConversionTable |
 
{{ConversionTable |
String=Returns the ShortName of the related MCDDbLogicalLink object. | StringSample=<tt>String s = ToString(DbSpecialDataGroupVariable); // Returns the MCDDbLogicalLink name
+
String=Returns the ShortName of the related MCDDbSpecialDataGroup object. | StringSample=<tt>String s = ToString(DbSpecialDataGroupVariable); // Returns the MCDDbSpecialDataGroup name
 
}}
 
}}
 +
 +
==Sample==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
DiagDataBrowsingPlus.DbSpecialDataGroup DbSpecialDataGroupVariable;
 +
</syntaxhighlight>

Latest revision as of 09:08, 22 October 2018

Classification

Name DbSpecialDataGroup
Short Description Represents the MCDDbSpecialDataGroup object of a MVCI system
Class Complex Data Type
Base Data Type DbObject
Default Value Empty
Provide a Literal No
SpecifiedBy ISO 13209-3
Standard Compliant Yes

Description

DbSpecialDataGroup represents the MCDDbSpecialDataGroup object of a MVCI system which provides additional information for specific ODX elements, e.g. for DIAGCOMM (in MCD3 realized as MCDDataPrimitive), for DTCs or FlashSessions. SDGs have been introduced to be able to capture information that is not covered by general ODX mechanisms. For example, SDGs can be used to attach error set conditions to DTCs or to provide error trees.

The short name, long name etc. come from the caption because MCDDbSpecialDataGroup not inherits from MCDDbObject. If no caption exists, short name, long name etc. are adjusted to empty strings.

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 ShortName of the related MCDDbSpecialDataGroup object. String s = ToString(DbSpecialDataGroupVariable); // Returns the MCDDbSpecialDataGroup name
ToByteField Undefined (should not be used)

Sample

DiagDataBrowsingPlus.DbSpecialDataGroup DbSpecialDataGroupVariable;