Difference between revisions of "Extensions.DiagDataBrowsingPlus.DbTable"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Data Type '''DbTable'''}}Category:DataTypeCategory:DiagDataBrowsingPlus == Classification == {{ClassificationDataType | DbTable | UPDATING... | Core.D...")
 
Line 1: Line 1:
 
{{DISPLAYTITLE:Data Type '''DbTable'''}}[[Category:DataType]][[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:Data Type '''DbTable'''}}[[Category:DataType]][[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationDataType | DbTable | UPDATING... | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | - }}
+
{{ClassificationDataType | DbTable | Represents the MCDDbTable object of a MVCI system|[[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | - }}
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
'''DbTable''' represents the '''MCDDbTable''' object of a MVCI system. Such a table is composed of a non-empty set of TABLE-ROWs. Each TABLE-ROW of a TABLE is mapped to a [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] contained in a DbTable object. If a containing [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] with datatype eTABLE_ROW references a simple DOP in ODX, the resulting [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameters]] collection delivered by term [[Extensions.DiagDataBrowsingPlus.GetDbParameters|GetDbParameters]] contains exactly one [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]]. The [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] has the parameter type eGENERATED, the datatype of the referenced simple DOP, and the ShortName #RtGen_Param_.
A '''BlackBox''' is a boxing type. It serves as a transport or base data type which can help the OTX unknown types pass through the code layers.
 
  
 
{{ConversionTable |
 
{{ConversionTable |
Boolean=Returns the Boolean counterpart of the argument term | BooleanSample=<tt>Boolean b = ToBoolean(blackBoxVariable); // Returns true/false/TypeMismatchException</tt> |
+
String=Returns the ShortName of the related MCDDbTable object. | StringSample=<tt>String s = ToString(DbTableVariable); // Returns the MCDDbTable name
Integer=Returns the Integer counterpart of the argument term | IntegerSample=<tt>Integer i = ToInteger(blackBoxVariable); // Returns integer value/TypeMismatchException</tt> |
 
Float=Returns the Float counterpart of the argument term | FloatSample=<tt>Float f = ToFloat(blackBoxVariable); // Returns float value/TypeMismatchException</tt> |
 
String=Returns the String counterpart of the argument term | StringSample=<tt>String s = ToString(blackBoxVariable); // Returns string value/TypeMismatchException</tt> |
 
ByteField=Returns the ByteField counterpart of the argument term | ByteFieldSample=<tt>ByteField bf = ToString(blackBoxVariable); // Returns byteField value/TypeMismatchException</tt>
 
 
}}
 
}}
-->
 

Revision as of 04:14, 6 September 2018

Classification

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

Description

DbTable represents the MCDDbTable object of a MVCI system. Such a table is composed of a non-empty set of TABLE-ROWs. Each TABLE-ROW of a TABLE is mapped to a DbParameter contained in a DbTable object. If a containing DbParameter with datatype eTABLE_ROW references a simple DOP in ODX, the resulting DbParameters collection delivered by term GetDbParameters contains exactly one DbParameter. The DbParameter has the parameter type eGENERATED, the datatype of the referenced simple DOP, and the ShortName #RtGen_Param_.

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 MCDDbTable object. String s = ToString(DbTableVariable); // Returns the MCDDbTable name
ToByteField Undefined (should not be used)