Skip to content

Commit fe0e327

Browse files
committed
Hide diagnostics and board status in legacy mode
1 parent 3ef790f commit fe0e327

File tree

1 file changed

+15
-3
lines changed
  • base/uk.ac.stfc.isis.ibex.opis/resources

1 file changed

+15
-3
lines changed

base/uk.ac.stfc.isis.ibex.opis/resources/ips.opi

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,19 @@ from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
147147
<minimum_tab_height>10</minimum_tab_height>
148148
<name>Tabbed Container</name>
149149
<rules>
150-
<rule name="hidden_if_legacy" prop_id="tab_2_enabled" out_exp="false">
150+
<rule name="tab2_hidden_if_legacy" prop_id="tab_2_enabled" out_exp="false">
151+
<exp bool_exp="pvStr0==&quot;LEGACY&quot;">
152+
<value>false</value>
153+
</exp>
154+
<pv trig="true">$(PV_ROOT):PROTOCOL</pv>
155+
</rule>
156+
<rule name="tab3_hidden_if_legacy" prop_id="tab_3_enabled" out_exp="false">
157+
<exp bool_exp="pvStr0==&quot;LEGACY&quot;">
158+
<value>false</value>
159+
</exp>
160+
<pv trig="true">$(PV_ROOT):PROTOCOL</pv>
161+
</rule>
162+
<rule name="tab4_hidden_if_legacy" prop_id="tab_4_enabled" out_exp="false">
151163
<exp bool_exp="pvStr0==&quot;LEGACY&quot;">
152164
<value>false</value>
153165
</exp>
@@ -262,7 +274,7 @@ from org.csstudio.opibuilder.scriptUtil import ConsoleUtil
262274
<show_scrollbar>true</show_scrollbar>
263275
<tooltip></tooltip>
264276
<transparent>true</transparent>
265-
<visible>false</visible>
277+
<visible>true</visible>
266278
<widget_type>Grouping Container</widget_type>
267279
<width>557</width>
268280
<wuid>-2040ea02:1687b99c8e2:-7d17</wuid>
@@ -972,7 +984,7 @@ Please let your local contact know in the first instance, and they will request
972984
<show_scrollbar>true</show_scrollbar>
973985
<tooltip></tooltip>
974986
<transparent>true</transparent>
975-
<visible>true</visible>
987+
<visible>false</visible>
976988
<widget_type>Grouping Container</widget_type>
977989
<width>557</width>
978990
<wuid>-2040ea02:1687b99c8e2:-7d15</wuid>

0 commit comments

Comments
 (0)