How to add Open/Closed state display for Valves
Applies To | |
Product(s): | OpenPlant PID CE |
Version(s): |
10.10.xx.xx |
Environment: | Windows 7/8.1/10 (64-bit) |
Area: | Customization |
Subarea: | |
Original Author: |
This example will implement the solution on a Gate Valve.
5. Fill out properties with desired Opened and Closed state
<ECProperty propertyName="VALVE_STATE" typeName="string" description="Define if the Valve state is open or closed" displayLabel="Valve State">
<ECCustomAttributes>
<ExtendType xmlns="EditorCustomAttributes.01.03">
<Name>PropertyBasedCells</Name>
</ExtendType>
<PROPERTY_BASED_CELL_NAMES xmlns="OpenPlant_CustomAttributes.08.11">
<DEFAULT_CELL_NAME>HVALVE_GATE_OPEN</DEFAULT_CELL_NAME>
<PROPERTY_MAPPING>
<CELL_NAME_DEFINITION_STRUCTURE>
<PROPERTY_VALUE>Open</PROPERTY_VALUE>
<CELL_NAME>HVALVE_GATE_OPEN</CELL_NAME>
</CELL_NAME_DEFINITION_STRUCTURE>
<CELL_NAME_DEFINITION_STRUCTURE>
<PROPERTY_VALUE>Closed</PROPERTY_VALUE>
<CELL_NAME>HVALVE_GATE_CLOSED</CELL_NAME>
</CELL_NAME_DEFINITION_STRUCTURE>
</PROPERTY_MAPPING>
</PROPERTY_BASED_CELL_NAMES>
<BMF_PROP_CUSTOM_ATTRIBUTES xmlns="bmf.01.08">
<IsGraphical>True</IsGraphical>
</BMF_PROP_CUSTOM_ATTRIBUTES>
</ECCustomAttributes>
</ECProperty>
In use