In order for the SmartPlant Adapter to properly publish and retrieve data, all relevant data items must be declared correctly.
The SmartPlant Adapter uses several XML schemas to map items between Intergraph Smart Instrumentation and SmartPlant Adapter. Below is an explanation for each schema.
ContextMap.xml
In this schema, documents are initially declared for Retrieve. Each document has a record (row) in the schema for the type of operation needed.
The record has the following attributes:
Attribute |
Value and Remark |
---|---|
ID |
A name for the document in the format of: INTL_<schema_id>_<document_type_ID> |
DocumentDefName |
The same value as it appears in the equivalent column in the document_type table in Intergraph Smart Instrumentation database. |
Modifier |
Currently an unused attribute. |
SchemaName |
For Publish, it should be TEFPublish; for Retrieve it, should be TEFRetrieve. |
ClassDefUID |
The name of the ClassDef associated with this document type. |
DocType |
The UID of the document type as it appears in the SmartPlant Schema. |
SubDocType |
The UID of the sub document type as it appears in the SmartPlant Schema. |
Direction |
‘IN’ symbolizes Retrieve and ‘OUT’ symbolizes Publish. |
For example:
<Context ID="INTL_2_1" DocumentDefName="InstrumentIndex" Modifier="" SchemaName = "TEFPublish" ClassDefUID="INDXDocument" DocType="EE84" DocSubType="" Direction="OUT"/>
The insertion of new records is performed manually.
INToolsMap.xml
This schema includes mapping information between items in Intergraph Smart Instrumentation and between items in Intergraph Smart Instrumentation and SmartPlant Foundation.
For Smart Instrumentation, the Description field and the Select Criteria field in the Advanced tab of the Set Active Configurations dialog box can be empty, but if one field contains a value the other field must have the same identical value.
The insertion of new records is performed using the Schema Editor.
NamingConventionMap.xml
Any naming conventions that need special attention when publishing or retrieving objects to or from either Smart P&ID or SmartPlant Foundation are defined in this schema.
TableSchema.xml
This schema provides information on the database of Intergraph Smart Instrumentation. It is used in the Adapter for creating Joins between tables for SQL statements.
SPIMetaDataExtension.xml
This file is no longer supported.
IntoolsSPELMap.xml
This file is no longer supported.
DeltaV.xsl
This file is no longer supported.