From 1bc0ff82bbf3587b02a1ac7a977d558911b0885d Mon Sep 17 00:00:00 2001 From: Elena Donegani <elena.donegani@ess.eu> Date: Wed, 10 Jun 2020 18:30:29 +0200 Subject: [PATCH] Replace asynIPPortSetup.bob --- 99-Shared/asyn/asynIPPortSetup.bob | 699 +++++++++++++++++++++-------- 1 file changed, 502 insertions(+), 197 deletions(-) diff --git a/99-Shared/asyn/asynIPPortSetup.bob b/99-Shared/asyn/asynIPPortSetup.bob index 4a0a022..c0ea60e 100644 --- a/99-Shared/asyn/asynIPPortSetup.bob +++ b/99-Shared/asyn/asynIPPortSetup.bob @@ -3,417 +3,722 @@ <name>asynIPPortSetup</name> <x>405</x> <y>149</y> - <width>260</width> - <height>410</height> + <width>280</width> + <height>470</height> <background_color> - <color red="187" green="187" blue="187"> + <color red="240" green="240" blue="240"> </color> </background_color> - <grid_visible>false</grid_visible> - <grid_step_x>5</grid_step_x> + <actions> + </actions> <widget type="rectangle" version="2.0.0"> - <name>rectangle #6</name> - <y>2</y> - <width>260</width> - <height>16</height> + <name>BGGrey02-background</name> + <y>50</y> + <width>280</width> + <height>420</height> + <line_width>2</line_width> <line_color> - <color red="218" green="218" blue="218"> + <color name="GROUP-BORDER" red="150" green="155" blue="151"> </color> </line_color> <background_color> - <color red="218" green="218" blue="218"> + <color name="GROUP-BACKGROUND" red="200" green="205" blue="201"> </color> </background_color> + <corner_height>10</corner_height> + </widget> + <widget type="rectangle" version="2.0.0"> + <name>Rectangle</name> + <class>TITLE-BAR</class> + <x use_class="true">0</x> + <y use_class="true">0</y> + <width>280</width> + <height use_class="true">50</height> + <line_width use_class="true">0</line_width> + <line_color> + <color red="128" green="0" blue="255"> + </color> + </line_color> + <background_color use_class="true"> + <color name="PRIMARY-HEADER-BACKGROUND" red="151" green="188" blue="202"> + </color> + </background_color> + <actions> + </actions> + <tooltip>$(pv_name) +$(pv_value)</tooltip> </widget> <widget type="label" version="2.0.0"> - <name>text #9</name> + <name>Label</name> + <class>TITLE</class> <text>$(P)$(R)</text> - <y>2</y> - <width>260</width> - <height>16</height> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> + <x use_class="true">20</x> + <y use_class="true">0</y> + <width>280</width> + <height use_class="true">50</height> + <font use_class="true"> + <font name="Header 1" family="Source Sans Pro" style="BOLD_ITALIC" size="36.0"> </font> </font> - <horizontal_alignment>1</horizontal_alignment> + <foreground_color use_class="true"> + <color name="HEADER-TEXT" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> + <transparent use_class="true">true</transparent> + <horizontal_alignment use_class="true">0</horizontal_alignment> + <vertical_alignment use_class="true">1</vertical_alignment> + <wrap_words use_class="true">false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #12</name> + <name>Label</name> <text>Supported</text> - <x>148</x> - <y>25</y> + <x>140</x> + <y>60</y> <width>90</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> <foreground_color> <color red="51" green="153" blue="0"> </color> </foreground_color> - <auto_size>true</auto_size> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> <rules> - <rule name="vis_if_not_zero" prop_id="visible" out_exp="false"> + <rule name="Visibility" prop_id="visible" out_exp="false"> + <exp bool_exp="pv0!=0"> + <value>true</value> + </exp> <exp bool_exp="!(pv0!=0)"> <value>false</value> </exp> <pv_name>$(P)$(R).OPTIONIV</pv_name> </rule> </rules> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #16</name> + <name>Label</name> <text>Unsupported</text> - <x>138</x> - <y>25</y> + <x>130</x> + <y>60</y> <width>110</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> <foreground_color> <color red="222" green="19" blue="9"> </color> </foreground_color> - <auto_size>true</auto_size> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> <rules> - <rule name="vis_if_zero" prop_id="visible" out_exp="false"> + <rule name="Visibility" prop_id="visible" out_exp="false"> + <exp bool_exp="pv0==0"> + <value>true</value> + </exp> <exp bool_exp="!(pv0==0)"> <value>false</value> </exp> <pv_name>$(P)$(R).OPTIONIV</pv_name> </rule> </rules> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #20</name> + <name>Label</name> <text>asynOption:</text> - <x>8</x> - <y>25</y> + <y>60</y> <width>110</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> - <auto_size>true</auto_size> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #23</name> + <name>Label</name> <text>Disconnect on</text> - <x>13</x> - <y>51</y> + <x>5</x> + <y>86</y> <width>130</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #26</name> + <name>Label</name> <text>read timeout:</text> - <x>13</x> - <y>76</y> + <x>5</x> + <y>111</y> <width>130</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #29</name> + <name>Label</name> <text>Host info:</text> - <x>43</x> - <y>101</y> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <x>35</x> + <y>136</y> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="textentry" version="3.0.0"> - <name>text entry #32</name> + <name>Text Input</name> <pv_name>$(P)$(R).HOSTINFO</pv_name> - <x>150</x> - <y>101</y> + <x>142</x> + <y>136</y> <width>102</width> <height>18</height> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> <format>6</format> <show_units>false</show_units> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="combo" version="2.0.0"> - <name>menu #36</name> + <name>Menu Button</name> <pv_name>$(P)$(R).DRTO</pv_name> - <x>150</x> - <y>76</y> + <x>142</x> + <y>111</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="label" version="2.0.0"> - <name>text #39</name> + <name>Label</name> <text>Data bits:</text> - <x>43</x> - <y>206</y> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <x>35</x> + <y>241</y> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #42</name> + <name>Label</name> <text>Stop bits:</text> - <x>43</x> - <y>231</y> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <x>35</x> + <y>266</y> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #45</name> + <name>Label</name> <text>Modem control:</text> - <x>3</x> - <y>281</y> - <width>140</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <y>316</y> + <width>135</width> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #48</name> + <name>Label</name> <text>Parity:</text> - <x>73</x> - <y>256</y> + <x>65</x> + <y>291</y> <width>70</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="combo" version="2.0.0"> - <name>menu #51</name> + <name>Menu Button</name> <pv_name>$(P)$(R).DBIT</pv_name> - <x>150</x> - <y>206</y> + <x>142</x> + <y>241</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="combo" version="2.0.0"> - <name>menu #54</name> + <name>Menu Button</name> <pv_name>$(P)$(R).SBIT</pv_name> - <x>150</x> - <y>231</y> + <x>142</x> + <y>266</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="combo" version="2.0.0"> - <name>menu #57</name> + <name>Menu Button</name> <pv_name>$(P)$(R).PRTY</pv_name> - <x>150</x> - <y>256</y> + <x>142</x> + <y>291</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="combo" version="2.0.0"> - <name>menu #60</name> + <name>Menu Button</name> <pv_name>$(P)$(R).MCTL</pv_name> - <x>150</x> - <y>281</y> + <x>142</x> + <y>316</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="label" version="2.0.0"> - <name>text #63</name> + <name>Label</name> <text>Flow control:</text> - <x>13</x> - <y>306</y> + <x>5</x> + <y>341</y> <width>130</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="combo" version="2.0.0"> - <name>menu #66</name> + <name>Menu Button</name> <pv_name>$(P)$(R).FCTL</pv_name> - <x>150</x> - <y>306</y> + <x>142</x> + <y>341</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="label" version="2.0.0"> - <name>text #69</name> + <name>Label</name> <text>XOFF output:</text> - <x>23</x> - <y>331</y> + <x>15</x> + <y>366</y> <width>120</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="combo" version="2.0.0"> - <name>menu #72</name> + <name>Menu Button</name> <pv_name>$(P)$(R).IXON</pv_name> - <x>150</x> - <y>331</y> + <x>142</x> + <y>366</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="label" version="2.0.0"> - <name>text #75</name> + <name>Label</name> <text>XOFF input:</text> - <x>33</x> - <y>356</y> + <x>25</x> + <y>391</y> <width>110</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="combo" version="2.0.0"> - <name>menu #78</name> + <name>Menu Button</name> <pv_name>$(P)$(R).IXOFF</pv_name> - <x>150</x> - <y>356</y> + <x>142</x> + <y>391</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="label" version="2.0.0"> - <name>text #81</name> + <name>Label</name> <text>XON=any:</text> - <x>63</x> - <y>381</y> + <x>55</x> + <y>416</y> <width>80</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="combo" version="2.0.0"> - <name>menu #84</name> + <name>Menu Button</name> <pv_name>$(P)$(R).IXANY</pv_name> - <x>150</x> - <y>381</y> + <x>142</x> + <y>416</y> <width>102</width> <height>20</height> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> </widget> <widget type="label" version="2.0.0"> - <name>text #87</name> + <name>Label</name> <text>Baud rate:</text> - <x>43</x> - <y>181</y> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <x>35</x> + <y>216</y> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="textentry" version="3.0.0"> - <name>text entry #90</name> + <name>Text Input</name> <pv_name>$(P)$(R).LBAUD</pv_name> - <x>150</x> - <y>181</y> + <x>142</x> + <y>216</y> <width>102</width> <height>18</height> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> <background_color> - <color red="115" green="223" blue="255"> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> </color> </background_color> <format>1</format> <show_units>false</show_units> + <actions> + </actions> <border_alarm_sensitive>false</border_alarm_sensitive> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #94</name> + <name>Label</name> <text>COM (RFC 2217) protocol</text> - <x>15</x> - <y>151</y> + <x>7</x> + <y>186</y> <width>230</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> - <horizontal_alignment>2</horizontal_alignment> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> <widget type="label" version="2.0.0"> - <name>text #97</name> + <name>Label</name> <text>Parameters for ports with</text> - <x>5</x> - <y>130</y> - <width>250</width> - <font> - <font family="Liberation Sans" style="REGULAR" size="16.0"> - </font> - </font> + <y>170</y> + <width>200</width> + <foreground_color> + <color red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color red="255" green="255" blue="255"> + </color> + </background_color> <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> </widget> </display> -- GitLab