diff --git a/NON-APPROVED/odh/ODH_Main.bob b/NON-APPROVED/odh/ODH_Main.bob index 18bbccf7d4984f499b27dca68b94688b000c1dfd..3ddfdebe76c1e36cec3b6c2ac55c9b19d7c0fa23 100644 --- a/NON-APPROVED/odh/ODH_Main.bob +++ b/NON-APPROVED/odh/ODH_Main.bob @@ -106,7 +106,7 @@ <x>172</x> <y>70</y> <width>61</width> - <height>23</height> + <height>25</height> <font> <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> </font> @@ -189,7 +189,7 @@ Healthy</text> <x>513</x> <y>70</y> <width>92</width> - <height>23</height> + <height>25</height> <font> <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> </font> @@ -719,115 +719,5 @@ Healthy</text> <height>30</height> </widget> </widget> - <widget type="group" version="2.0.0"> - <name>Alarm popup</name> - <x>170</x> - <y>410</y> - <width>286</width> - <height>125</height> - <style>3</style> - <transparent>true</transparent> - <rules> - <rule name="Visibility" prop_id="visible" out_exp="false"> - <exp bool_exp="pvInt0 or pvInt1 or pvInt2 or pvInt3 or pvInt4 or pvInt5"> - <value>true</value> - </exp> - <exp bool_exp="True"> - <value>false</value> - </exp> - <pv_name>HCB-ACH:ODH-Area:Alarm</pv_name> - <pv_name>HCB-ACH:ODH-Area:ConnLost</pv_name> - <pv_name>CXB-CXH:ODH-Area:Alarm</pv_name> - <pv_name>CXB-CXH:ODH-Area:ConnLost</pv_name> - <pv_name>CTLG-CS:ODH-Area:Alarm</pv_name> - <pv_name>CTLG-CS:ODH-Area:ConnLost</pv_name> - </rule> - </rules> - <widget type="rectangle" version="2.0.0"> - <name>Rectangle</name> - <width>286</width> - <height>125</height> - <line_color> - <color name="GRAY-BORDER" red="121" green="121" blue="121"> - </color> - </line_color> - <background_color> - <color name="RED-GROUP-BACKGROUND" red="208" green="175" blue="172"> - </color> - </background_color> - </widget> - <widget type="action_button" version="3.0.0"> - <name>Action Button X</name> - <actions> - <action type="execute"> - <script file="EmbeddedPy"> - <text><![CDATA[from org.csstudio.display.builder.runtime.script import ScriptUtil -ScriptUtil.findWidgetByName(widget, "Alarm popup").setPropertyValue("visible", False)]]></text> - </script> - <description>Close warning</description> - </action> - </actions> - <text>X</text> - <x>252</x> - <y>11</y> - <width>25</width> - <height>22</height> - <tooltip>$(actions)</tooltip> - </widget> - <widget type="label" version="2.0.0"> - <name>Label_Header</name> - <text>MAJOR ALARM IN ODH</text> - <x>38</x> - <y>13</y> - <width>204</width> - <font> - <font name="Header 3" family="Source Sans Pro" style="BOLD_ITALIC" size="18.0"> - </font> - </font> - <horizontal_alignment>1</horizontal_alignment> - </widget> - <widget type="label" version="2.0.0"> - <name>Label_Msg_2</name> - <text>Click OK to open Alarm Table</text> - <x>13</x> - <y>46</y> - <width>257</width> - <font> - <font name="Comment" family="Source Sans Pro" style="ITALIC" size="16.0"> - </font> - </font> - <horizontal_alignment>1</horizontal_alignment> - <vertical_alignment>1</vertical_alignment> - </widget> - <widget type="action_button" version="3.0.0"> - <name>Action Button_5</name> - <actions> - <action type="execute"> - <script file="EmbeddedPy"> - <text><![CDATA[# Embedded python script -from org.csstudio.display.builder.rcp.script import RCPUtil - -RCPUtil.executeEclipseCommand( - 'org.eclipse.ui.views.showView', - [ 'org.eclipse.ui.views.showView.viewId', - 'org.csstudio.alarm.beast.ui.alarmtable.view'] -) -]]></text> - </script> - <description>OpenAlarm</description> - </action> - </actions> - <text>OK</text> - <x>200</x> - <y>81</y> - <width>73</width> - <background_color> - <color name="MAGENTA-BACKGROUND" red="218" green="195" blue="209"> - </color> - </background_color> - <tooltip>$(actions) -$(pv_name)</tooltip> - </widget> - </widget> </widget> </display>