Forked from
ics-software / ess-opis
319 commits behind the upstream repository.
-
Krisztián Löki authoredKrisztián Löki authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
vac_vgd.bob 4.51 KiB
<?xml version="1.0" encoding="UTF-8"?>
<display version="2.0.0">
<name>$(vacPREFIX)</name>
<macros>
<FACEPLATE_MKS>Faceplate/vac_mks-$(vacDEV)-brief.bob</FACEPLATE_MKS>
<FACEPLATE_TPG>Faceplate/vac_tpg-$(vacDEV)-brief.bob</FACEPLATE_TPG>
<vacDEV>vgd</vacDEV>
<vacPREFIX>$(SEC)-$(SUBSEC):$(DIS)-$(DEV)-$(IDX)</vacPREFIX>
<vacRELAY1_DESC>$(RELAY1_DESC)</vacRELAY1_DESC>
<vacRELAY2_DESC>$(RELAY2_DESC)</vacRELAY2_DESC>
<vacSYMBOLS>$(ROOT=$(ESS_OPIS=/ess-opis)/NON-APPROVED)/COMMON/DEVICES/vacuum/symbols</vacSYMBOLS>
</macros>
<width>133</width>
<height>70</height>
<rules>
<rule name="Fake rule to have iUITypeR always connected" prop_id="name" out_exp="false">
<pv_name trigger="false">${CONTROLLER}:iUITypeR</pv_name>
</rule>
</rules>
<scripts>
<script file="../COMMON/gauge_isvalid.py" check_connections="false">
<pv_name>$(vacPREFIX):ValidR</pv_name>
<pv_name>$(vacPREFIX):RlyValidR</pv_name>
</script>
</scripts>
<widget type="polyline" version="2.0.0">
<name>PIPE_ABOVE</name>
<x>46</x>
<width>50</width>
<height>3</height>
<visible>$(PIPE_ABOVE=false)</visible>
<points>
<point x="25.0" y="0.0">
</point>
<point x="25.0" y="3.0">
</point>
</points>
</widget>
<widget type="polyline" version="2.0.0">
<name>PIPE_LEFT</name>
<width>48</width>
<height>50</height>
<visible>$(PIPE_LEFT=false)</visible>
<points>
<point x="0.0" y="25.0">
</point>
<point x="48.0" y="25.0">
</point>
</points>
</widget>
<widget type="polyline" version="2.0.0">
<name>PIPE_RIGHT</name>
<x>94</x>
<width>39</width>
<height>50</height>
<visible>$(PIPE_RIGHT=false)</visible>
<points>
<point x="0.0" y="25.0">
</point>
<point x="39.0" y="25.0">
</point>
</points>
</widget>
<widget type="polyline" version="2.0.0">
<name>PIPE_BELOW</name>
<x>46</x>
<y>48</y>
<width>50</width>
<height>22</height>
<visible>$(PIPE_BELOW=false)</visible>
<points>
<point x="25.0" y="0.0">
</point>
<point x="25.0" y="22.0">
</point>
</points>
</widget>
<widget type="symbol" version="2.0.0">
<name>Symbol</name>
<pv_name>$(vacPREFIX):PrsStatR</pv_name>
<symbols>
<symbol>$(vacSYMBOLS)/$(vacDEV)/$(vacDEV)-invalid.png</symbol>
<symbol>$(vacSYMBOLS)/$(vacDEV)/$(vacDEV)-on.png</symbol>
<symbol>$(vacSYMBOLS)/$(vacDEV)/$(vacDEV)-off.png</symbol>
<symbol>$(vacSYMBOLS)/$(vacDEV)/$(vacDEV)-error.png</symbol>
<symbol>$(vacSYMBOLS)/$(vacDEV)/$(vacDEV)-over-range.png</symbol>
<symbol>$(vacSYMBOLS)/$(vacDEV)/$(vacDEV)-under-range.png</symbol>
</symbols>
<x>48</x>
<y>3</y>
<width>46</width>
<height>46</height>
<actions>
<action type="open_display">
<file>$(WIDGET_ROOT)/COMMON/LEGEND/legend_gauge.bob</file>
<macros>
<TITLE>VGD - Capacitance Gauge</TITLE>
</macros>
<target>standalone</target>
<description>Open Legend</description>
</action>
</actions>
<scripts>
<script file="../COMMON/pressure.py">
<pv_name>$(vacPREFIX):PrsStatR</pv_name>
<pv_name>$(vacPREFIX):PrsR</pv_name>
<pv_name>$(vacPREFIX):PrsR-STR</pv_name>
<pv_name>$(CONTROLLER):Unit-RB</pv_name>
</script>
</scripts>
<tooltip>N/A</tooltip>
</widget>
<widget type="label" version="2.0.0">
<name>Device</name>
<text>$(DEV)</text>
<width>40</width>
<font>
<font name="TINY-MONO-PLAIN" family="Source Code Pro" style="REGULAR" size="12.0">
</font>
</font>
<horizontal_alignment>2</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="label" version="2.0.0">
<name>Index</name>
<text>$(IDX)</text>
<y>30</y>
<width>40</width>
<font>
<font name="TINY-MONO-PLAIN" family="Source Code Pro" style="REGULAR" size="12.0">
</font>
</font>
<horizontal_alignment>2</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="action_button" version="3.0.0">
<name>Open Faceplate</name>
<actions>
<action type="execute">
<script file="../COMMON/open_gauge_brief_screen.py">
</script>
<description>Open Faceplate</description>
</action>
</actions>
<text></text>
<width>46</width>
<height>50</height>
<transparent>true</transparent>
<tooltip>Open faceplate</tooltip>
</widget>
</display>