|
142 | 142 | <background_color> |
143 | 143 | <color name="ISIS_OPI_Background" red="240" green="240" blue="240" /> |
144 | 144 | </background_color> |
145 | | - <width>277</width> |
| 145 | + <width>355</width> |
146 | 146 | <x>6</x> |
147 | 147 | <name>Position</name> |
148 | 148 | <y>78</y> |
@@ -1049,6 +1049,58 @@ $(pv_value)</tooltip> |
1049 | 1049 | <opifont.name fontName="Segoe UI" height="9" style="0">ISIS_Value_NEW</opifont.name> |
1050 | 1050 | </font> |
1051 | 1051 | </widget> |
| 1052 | + <widget typeId="org.csstudio.opibuilder.widgets.NativeButton" version="1.0"> |
| 1053 | + <toggle_button>false</toggle_button> |
| 1054 | + <border_style>0</border_style> |
| 1055 | + <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive> |
| 1056 | + <tooltip>$(pv_name) |
| 1057 | +$(pv_value)</tooltip> |
| 1058 | + <push_action_index>0</push_action_index> |
| 1059 | + <rules /> |
| 1060 | + <enabled>true</enabled> |
| 1061 | + <wuid>-58df6ed6:162e37c685d:-7edb</wuid> |
| 1062 | + <pv_value /> |
| 1063 | + <text>Stop move</text> |
| 1064 | + <scripts /> |
| 1065 | + <border_alarm_sensitive>false</border_alarm_sensitive> |
| 1066 | + <height>25</height> |
| 1067 | + <border_width>1</border_width> |
| 1068 | + <scale_options> |
| 1069 | + <width_scalable>true</width_scalable> |
| 1070 | + <height_scalable>true</height_scalable> |
| 1071 | + <keep_wh_ratio>false</keep_wh_ratio> |
| 1072 | + </scale_options> |
| 1073 | + <image></image> |
| 1074 | + <visible>true</visible> |
| 1075 | + <pv_name>$(PV_ROOT):MOTOR:STOP</pv_name> |
| 1076 | + <border_color> |
| 1077 | + <color name="ISIS_Border" red="0" green="0" blue="0" /> |
| 1078 | + </border_color> |
| 1079 | + <widget_type>Button</widget_type> |
| 1080 | + <width>109</width> |
| 1081 | + <x>216</x> |
| 1082 | + <name>Button_1</name> |
| 1083 | + <y>54</y> |
| 1084 | + <foreground_color> |
| 1085 | + <color name="ISIS_Standard_Text" red="0" green="0" blue="0" /> |
| 1086 | + </foreground_color> |
| 1087 | + <actions hook="false" hook_all="false"> |
| 1088 | + <action type="EXECUTE_PYTHONSCRIPT"> |
| 1089 | + <path>Common Scripts/sendOne.py</path> |
| 1090 | + <scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil |
| 1091 | +
|
| 1092 | +pv = widget.getPV(); |
| 1093 | +
|
| 1094 | +pv.setValue(2) |
| 1095 | +]]></scriptText> |
| 1096 | + <embedded>false</embedded> |
| 1097 | + <description></description> |
| 1098 | + </action> |
| 1099 | + </actions> |
| 1100 | + <font> |
| 1101 | + <opifont.name fontName="Segoe UI" height="9" style="0">ISIS_Button_NEW</opifont.name> |
| 1102 | + </font> |
| 1103 | + </widget> |
1052 | 1104 | </widget> |
1053 | 1105 | <widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0"> |
1054 | 1106 | <border_style>13</border_style> |
|
0 commit comments