In Smart P&ID there is one Instrument class.
In the SmartPlant schema, there are three PID instrument classes.
-
PIDInstrument
-
PIDInlineInstrument
-
PIDControlSystemFunction
The tool schema has three MapClasses.
-
Instrument
-
InstrumentInline
-
InstrumentCtrlSysFunc
The Smart P&ID adapter has three separate Class Publisher/Retriever objects for these three classes.
Publish - All Smart P&ID instruments with Instrument Class equal to System Function are published as PIDControlSystemFunction using the InstrumentCtrlSysFunc MapClass. All Smart P&ID instruments with IsInline equal to True are published as PIDInlineInstrument using the InstrumentInline MapClass. All other Smart P&ID instruments are published as PIDInstrument using the Instrument MapClass.
Retrieve - All objects that have the IControlSystemFunction interface are retrieved as Instruments using the InstrumentCtrlSysFunc MapClass. All objects that have the IInstrumentOcc interface are retrieved as Instruments using the PIDInlineInstrument MapClass.