From 2464a44a0cf629d9b9a4c4fd00cae229146b9a7d Mon Sep 17 00:00:00 2001
From: Joao Paulo Martins <joaopaulo.martins@ess.eu>
Date: Thu, 17 Jun 2021 16:02:01 +0200
Subject: [PATCH] Adding EVR and iocStats OPIs to Faraday Cup

---
 10-Top/fcioc/top.bob | 92 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 90 insertions(+), 2 deletions(-)

diff --git a/10-Top/fcioc/top.bob b/10-Top/fcioc/top.bob
index 2100f6f..678a181 100644
--- a/10-Top/fcioc/top.bob
+++ b/10-Top/fcioc/top.bob
@@ -5,6 +5,7 @@
     <FCscreen>../../99-Shared/adsis8300fc/channel.bob</FCscreen>
     <TITLE>FC IOCs</TITLE>
   </macros>
+  <width>920</width>
   <height>470</height>
   <actions>
   </actions>
@@ -23,7 +24,7 @@
       <R4>PBI-FC-001:</R4>
     </macros>
     <file>instance.bob</file>
-    <x>240</x>
+    <x>110</x>
     <y>70</y>
     <width>320</width>
     <height>380</height>
@@ -46,7 +47,7 @@
       <class>TITLE-BAR</class>
       <x use_class="true">0</x>
       <y use_class="true">0</y>
-      <width>800</width>
+      <width>920</width>
       <height use_class="true">50</height>
       <line_width use_class="true">0</line_width>
       <background_color use_class="true">
@@ -105,4 +106,91 @@
       <tooltip>$(actions)</tooltip>
     </widget>
   </widget>
+  <widget type="rectangle" version="2.0.0">
+    <name>BGGrey03-titlebar_8</name>
+    <x>470</x>
+    <y>70</y>
+    <width>330</width>
+    <height>150</height>
+    <line_width>0</line_width>
+    <background_color>
+      <color name="GROUP-BORDER" red="150" green="155" blue="151">
+      </color>
+    </background_color>
+    <corner_width>10</corner_width>
+    <corner_height>10</corner_height>
+  </widget>
+  <widget type="rectangle" version="2.0.0">
+    <name>BGGrey03-background_13</name>
+    <x>490</x>
+    <y>120</y>
+    <width>290</width>
+    <height>80</height>
+    <line_width>0</line_width>
+    <background_color>
+      <color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
+      </color>
+    </background_color>
+    <corner_width>5</corner_width>
+    <corner_height>5</corner_height>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>BGGrey02-title_23</name>
+    <text>PBI-FC01:Ctrl-EVR-101</text>
+    <x>470</x>
+    <y>70</y>
+    <width>330</width>
+    <height>50</height>
+    <font>
+      <font family="Source Sans Pro" style="BOLD_ITALIC" size="24.0">
+      </font>
+    </font>
+    <foreground_color>
+      <color name="WHITE" red="255" green="255" blue="255">
+      </color>
+    </foreground_color>
+    <horizontal_alignment>1</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+    <wrap_words>false</wrap_words>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button RFLab_1</name>
+    <actions>
+      <action type="open_display">
+        <file>../../99-Shared/mrfioc2_new/evr-mtca-300u.bob</file>
+        <macros>
+          <EVR>PBI-FC01:Ctrl-EVR-101</EVR>
+          <P>PBI-FC01:</P>
+          <R>Ctrl-EVR-101:</R>
+        </macros>
+        <target>tab</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <text>EVR Engineer OPI</text>
+    <x>510</x>
+    <y>140</y>
+    <width>250</width>
+    <height>40</height>
+    <tooltip>$(actions)</tooltip>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button_1</name>
+    <actions>
+      <action type="open_display">
+        <file>../../99-Shared/iocStats/iocStats.bob</file>
+        <macros>
+          <P>PBI-FC01:</P>
+          <R></R>
+        </macros>
+        <target>window</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <text>IOC Stats</text>
+    <x>790</x>
+    <y>10</y>
+    <width>120</width>
+    <tooltip>$(actions)</tooltip>
+  </widget>
 </display>
-- 
GitLab