From 02cd12a3ef3678ecd66b68b2fa4e35b1fb4a957d Mon Sep 17 00:00:00 2001
From: Per Nilsson <per.nilsson2@esss.se>
Date: Fri, 17 Dec 2021 09:52:16 +0100
Subject: [PATCH] ACCP Phoebus updates

Some minor corrections.
---
 .../Coldbox/process2ndTurbineString.bob       | 20 +++++++--------
 .../ACCP_Phoebus/Common/Element/heater.bob    | 25 +++++++++++++++++++
 .../Common/Element/heaterRight.bob            | 25 +++++++++++++++++++
 .../Common/Element/heaterUpsidedown.bob       | 25 +++++++++++++++++++
 4 files changed, 85 insertions(+), 10 deletions(-)

diff --git a/NON-APPROVED/Cryo/ACCP_Phoebus/Coldbox/process2ndTurbineString.bob b/NON-APPROVED/Cryo/ACCP_Phoebus/Coldbox/process2ndTurbineString.bob
index 7bf10ce2..b4510a73 100644
--- a/NON-APPROVED/Cryo/ACCP_Phoebus/Coldbox/process2ndTurbineString.bob
+++ b/NON-APPROVED/Cryo/ACCP_Phoebus/Coldbox/process2ndTurbineString.bob
@@ -641,7 +641,7 @@ $(pv_value)</tooltip>
     <macros>
       <pv_name></pv_name>
     </macros>
-    <x>653</x>
+    <x>662</x>
     <y>190</y>
     <width>1</width>
     <height>176</height>
@@ -670,7 +670,7 @@ $(pv_value)</tooltip>
     <macros>
       <pv_name></pv_name>
     </macros>
-    <x>678</x>
+    <x>686</x>
     <y>190</y>
     <width>1</width>
     <height>176</height>
@@ -699,7 +699,7 @@ $(pv_value)</tooltip>
     <macros>
       <pv_name></pv_name>
     </macros>
-    <x>678</x>
+    <x>686</x>
     <y>180</y>
     <width>1</width>
     <height>21</height>
@@ -725,7 +725,7 @@ $(pv_value)</tooltip>
     <macros>
       <pv_name></pv_name>
     </macros>
-    <x>653</x>
+    <x>662</x>
     <y>180</y>
     <width>1</width>
     <points>
@@ -750,7 +750,7 @@ $(pv_value)</tooltip>
     <macros>
       <pv_name></pv_name>
     </macros>
-    <x>665</x>
+    <x>673</x>
     <y>280</y>
     <width>20</width>
     <line_width>0</line_width>
@@ -759,7 +759,7 @@ $(pv_value)</tooltip>
       </color>
     </line_color>
     <background_color>
-      <color name="Background Grey" red="220" green="220" blue="220">
+      <color name="Background" red="220" green="225" blue="221">
       </color>
     </background_color>
     <actions>
@@ -772,7 +772,7 @@ $(pv_value)</tooltip>
     <macros>
       <pv_name></pv_name>
     </macros>
-    <x>640</x>
+    <x>649</x>
     <y>280</y>
     <width>20</width>
     <line_width>0</line_width>
@@ -781,7 +781,7 @@ $(pv_value)</tooltip>
       </color>
     </line_color>
     <background_color>
-      <color name="Background Grey" red="220" green="220" blue="220">
+      <color name="Background" red="220" green="225" blue="221">
       </color>
     </background_color>
     <actions>
@@ -4003,7 +4003,7 @@ $(pv_value)</tooltip>
   </widget>
   <widget type="polyline" version="2.0.0">
     <name>Polyline_2</name>
-    <x>624</x>
+    <x>631</x>
     <y>230</y>
     <width>30</width>
     <height>1</height>
@@ -4030,7 +4030,7 @@ $(pv_value)</tooltip>
       <PROP>Val</PROP>
     </macros>
     <file>../Common/Element/indicator.opi</file>
-    <x>560</x>
+    <x>567</x>
     <y>200</y>
     <width>82</width>
     <height>42</height>
diff --git a/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heater.bob b/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heater.bob
index 6e04e27c..0c472447 100644
--- a/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heater.bob
+++ b/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heater.bob
@@ -46,4 +46,29 @@
     </rules>
     <preserve_ratio>false</preserve_ratio>
   </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button</name>
+    <actions>
+      <action type="open_display">
+        <file>../Faceplate/heaterFP.bob</file>
+        <macros>
+          <ADD>$(ADD)</ADD>
+          <DEV>$(DEV)</DEV>
+          <IND>$(IND)</IND>
+          <USDEV>$(USDEV)</USDEV>
+          <USSTR>$(USSTR)</USSTR>
+          <UYDEV>$(UYDEV)</UYDEV>
+          <UYSTR>$(UYSTR)</UYSTR>
+        </macros>
+        <target>tab</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <text></text>
+    <width>50</width>
+    <height>50</height>
+    <transparent>true</transparent>
+    <tooltip>$(actions)</tooltip>
+    <border_alarm_sensitive>false</border_alarm_sensitive>
+  </widget>
 </display>
diff --git a/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterRight.bob b/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterRight.bob
index 7048e9fd..8039627c 100644
--- a/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterRight.bob
+++ b/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterRight.bob
@@ -47,4 +47,29 @@
     </rules>
     <preserve_ratio>false</preserve_ratio>
   </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button</name>
+    <actions>
+      <action type="open_display">
+        <file>../Faceplate/heaterFP.bob</file>
+        <macros>
+          <ADD>$(ADD)</ADD>
+          <DEV>$(DEV)</DEV>
+          <IND>$(IND)</IND>
+          <USDEV>$(USDEV)</USDEV>
+          <USSTR>$(USSTR)</USSTR>
+          <UYDEV>$(UYDEV)</UYDEV>
+          <UYSTR>$(UYSTR)</UYSTR>
+        </macros>
+        <target>tab</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <text></text>
+    <width>50</width>
+    <height>50</height>
+    <transparent>true</transparent>
+    <tooltip>$(actions)</tooltip>
+    <border_alarm_sensitive>false</border_alarm_sensitive>
+  </widget>
 </display>
diff --git a/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterUpsidedown.bob b/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterUpsidedown.bob
index 2f7d90eb..153b18a9 100644
--- a/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterUpsidedown.bob
+++ b/NON-APPROVED/Cryo/ACCP_Phoebus/Common/Element/heaterUpsidedown.bob
@@ -47,4 +47,29 @@
     </rules>
     <preserve_ratio>false</preserve_ratio>
   </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button</name>
+    <actions>
+      <action type="open_display">
+        <file>../Faceplate/heaterFP.bob</file>
+        <macros>
+          <ADD>$(ADD)</ADD>
+          <DEV>$(DEV)</DEV>
+          <IND>$(IND)</IND>
+          <USDEV>$(USDEV)</USDEV>
+          <USSTR>$(USSTR)</USSTR>
+          <UYDEV>$(UYDEV)</UYDEV>
+          <UYSTR>$(UYSTR)</UYSTR>
+        </macros>
+        <target>tab</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <text></text>
+    <width>50</width>
+    <height>50</height>
+    <transparent>true</transparent>
+    <tooltip>$(actions)</tooltip>
+    <border_alarm_sensitive>false</border_alarm_sensitive>
+  </widget>
 </display>
-- 
GitLab