From df35fcedfde86ff666b71109e207f01573a0e3ac Mon Sep 17 00:00:00 2001
From: Juliano Murari <juliano.murari@ess.eu>
Date: Thu, 21 Jul 2022 15:31:19 +0200
Subject: [PATCH] Update fiber optic instance

---
 99-Shared/adsis8300bcm/optic_inst.bob | 127 +++++++++++++++++---------
 1 file changed, 82 insertions(+), 45 deletions(-)

diff --git a/99-Shared/adsis8300bcm/optic_inst.bob b/99-Shared/adsis8300bcm/optic_inst.bob
index 1dd0e04..91fff0d 100644
--- a/99-Shared/adsis8300bcm/optic_inst.bob
+++ b/99-Shared/adsis8300bcm/optic_inst.bob
@@ -54,6 +54,7 @@
   </widget>
   <widget type="combo" version="2.0.0">
     <name>Menu Button_9</name>
+    <pv_name>$(P)$(R)FB$(OptIndex)-OutDataSelect</pv_name>
     <x>160</x>
     <y>10</y>
     <width>120</width>
@@ -61,10 +62,13 @@
       <color red="240" green="240" blue="240">
       </color>
     </background_color>
+    <actions>
+    </actions>
     <border_alarm_sensitive>false</border_alarm_sensitive>
   </widget>
   <widget type="textupdate" version="2.0.0">
     <name>Text Update_133</name>
+    <pv_name>$(P)$(R)FB$(OptIndex)-OutDataSelectR</pv_name>
     <x>300</x>
     <y>10</y>
     <width>120</width>
@@ -99,16 +103,13 @@
   </widget>
   <widget type="led" version="2.0.0">
     <name>LED_27</name>
-    <x>102</x>
-    <y>45</y>
+    <pv_name>$(P)$(R)FB$(OptIndex)-LaneUpR</pv_name>
+    <x>250</x>
+    <y>50</y>
     <off_color>
-      <color name="IO Normal Level Alarm" red="0" green="255" blue="0">
+      <color name="MAJOR" red="252" green="13" blue="27">
       </color>
     </off_color>
-    <on_color>
-      <color name="Major" red="250" green="12" blue="14">
-      </color>
-    </on_color>
     <square>true</square>
     <actions>
     </actions>
@@ -116,8 +117,8 @@
   <widget type="label" version="2.0.0">
     <name>Label_358</name>
     <text>Lane Up</text>
-    <x>17</x>
-    <y>40</y>
+    <x>165</x>
+    <y>45</y>
     <width>75</width>
     <height>30</height>
     <vertical_alignment>1</vertical_alignment>
@@ -131,16 +132,13 @@
   </widget>
   <widget type="led" version="2.0.0">
     <name>LED_28</name>
-    <x>254</x>
-    <y>45</y>
+    <pv_name>$(P)$(R)FB$(OptIndex)-SoftwareErrorR</pv_name>
+    <x>400</x>
+    <y>50</y>
     <off_color>
-      <color name="IO Normal Level Alarm" red="0" green="255" blue="0">
+      <color name="MAJOR" red="252" green="13" blue="27">
       </color>
     </off_color>
-    <on_color>
-      <color name="Major" red="250" green="12" blue="14">
-      </color>
-    </on_color>
     <square>true</square>
     <actions>
     </actions>
@@ -148,8 +146,8 @@
   <widget type="label" version="2.0.0">
     <name>Label_359</name>
     <text>SW Err.</text>
-    <x>173</x>
-    <y>40</y>
+    <x>320</x>
+    <y>45</y>
     <width>75</width>
     <height>30</height>
     <vertical_alignment>1</vertical_alignment>
@@ -163,16 +161,13 @@
   </widget>
   <widget type="led" version="2.0.0">
     <name>LED_29</name>
-    <x>102</x>
-    <y>75</y>
+    <pv_name>$(P)$(R)FB$(OptIndex)-ChannelUpR</pv_name>
+    <x>250</x>
+    <y>80</y>
     <off_color>
-      <color name="IO Normal Level Alarm" red="0" green="255" blue="0">
+      <color name="MAJOR" red="252" green="13" blue="27">
       </color>
     </off_color>
-    <on_color>
-      <color name="Major" red="250" green="12" blue="14">
-      </color>
-    </on_color>
     <square>true</square>
     <actions>
     </actions>
@@ -180,8 +175,8 @@
   <widget type="label" version="2.0.0">
     <name>Label_360</name>
     <text>Ch. Up</text>
-    <x>17</x>
-    <y>70</y>
+    <x>165</x>
+    <y>75</y>
     <width>75</width>
     <height>30</height>
     <vertical_alignment>1</vertical_alignment>
@@ -195,16 +190,13 @@
   </widget>
   <widget type="led" version="2.0.0">
     <name>LED_30</name>
-    <x>254</x>
-    <y>75</y>
+    <pv_name>$(P)$(R)FB$(OptIndex)-HardwareErrorR</pv_name>
+    <x>400</x>
+    <y>80</y>
     <off_color>
-      <color name="IO Normal Level Alarm" red="0" green="255" blue="0">
+      <color name="MAJOR" red="252" green="13" blue="27">
       </color>
     </off_color>
-    <on_color>
-      <color name="Major" red="250" green="12" blue="14">
-      </color>
-    </on_color>
     <square>true</square>
     <actions>
     </actions>
@@ -212,8 +204,8 @@
   <widget type="label" version="2.0.0">
     <name>Label_361</name>
     <text>HW Err.</text>
-    <x>173</x>
-    <y>70</y>
+    <x>320</x>
+    <y>75</y>
     <width>75</width>
     <height>30</height>
     <vertical_alignment>1</vertical_alignment>
@@ -227,16 +219,13 @@
   </widget>
   <widget type="led" version="2.0.0">
     <name>LED_31</name>
-    <x>396</x>
-    <y>45</y>
+    <pv_name>$(P)$(R)FB$(OptIndex)-SFPPresentR</pv_name>
+    <x>120</x>
+    <y>80</y>
     <off_color>
-      <color name="IO Normal Level Alarm" red="0" green="255" blue="0">
+      <color name="MAJOR" red="252" green="13" blue="27">
       </color>
     </off_color>
-    <on_color>
-      <color name="Major" red="250" green="12" blue="14">
-      </color>
-    </on_color>
     <square>true</square>
     <actions>
     </actions>
@@ -244,8 +233,8 @@
   <widget type="label" version="2.0.0">
     <name>Label_362</name>
     <text>SFP Pres.</text>
-    <x>315</x>
-    <y>40</y>
+    <x>10</x>
+    <y>75</y>
     <width>75</width>
     <height>30</height>
     <vertical_alignment>1</vertical_alignment>
@@ -257,4 +246,52 @@
       </color>
     </border_color>
   </widget>
+  <widget type="led" version="2.0.0">
+    <name>LED_32</name>
+    <pv_name>$(P)$(R)FB$(OptIndex)-OutDataEnableR</pv_name>
+    <x>120</x>
+    <y>50</y>
+    <off_color>
+      <color name="MAJOR" red="252" green="13" blue="27">
+      </color>
+    </off_color>
+    <square>true</square>
+    <actions>
+    </actions>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Label_363</name>
+    <text>Enable</text>
+    <x>10</x>
+    <y>45</y>
+    <width>75</width>
+    <height>30</height>
+    <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="slide_button" version="2.0.0">
+    <name>Slide Button_5</name>
+    <pv_name>$(P)$(R)FB$(OptIndex)-OutDataEnable</pv_name>
+    <label></label>
+    <x>70</x>
+    <y>48</y>
+    <width>50</width>
+    <height>20</height>
+    <off_color>
+      <color name="Off" red="90" green="110" blue="90">
+      </color>
+    </off_color>
+    <on_color>
+      <color name="On" red="70" green="255" blue="70">
+      </color>
+    </on_color>
+    <actions>
+    </actions>
+  </widget>
 </display>
-- 
GitLab