Extensions.DiagDataBrowsingPlus.DbTable

From emotive
Jump to navigation Jump to search

Classification

Name DbTable
Short Description Represents the MCDDbTable 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

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)

Sample

DiagDataBrowsingPlus.DbTable DbTableVariable;