From 44b33e24b644459038edd956cfce7345ce3236c1 Mon Sep 17 00:00:00 2001
From: Alejandro Acuña <alejandro.acuna@aluvisagrupo.com>
Date: Wed, 18 Dec 2024 08:54:47 +0000
Subject: [PATCH] no message

---
 servers/rtzserver/data/art.servers.rtzserver/symbols/22/Controller.svg |  181 +++++++++++++--------------------------------
 1 files changed, 53 insertions(+), 128 deletions(-)

diff --git a/servers/rtzserver/data/art.servers.rtzserver/symbols/22/Controller.svg b/servers/rtzserver/data/art.servers.rtzserver/symbols/22/Controller.svg
index c9139b8..1160a0a 100644
--- a/servers/rtzserver/data/art.servers.rtzserver/symbols/22/Controller.svg
+++ b/servers/rtzserver/data/art.servers.rtzserver/symbols/22/Controller.svg
@@ -23,9 +23,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="2.8"
-     inkscape:cx="-18.366845"
-     inkscape:cy="133.59352"
+     inkscape:zoom="3.959798"
+     inkscape:cx="-57.110407"
+     inkscape:cy="95.513044"
      inkscape:document-units="mm"
      inkscape:current-layer="g4133"
      showgrid="false"
@@ -43,7 +43,7 @@
      inkscape:deskcolor="#d1d1d1" />
   <metadata
      id="Metadata"
-     art.script="    public void status()
+     art.script="public void status()
     {
         try
         {
@@ -54,19 +54,17 @@
     }
 
     public void statusSubcontroller()
-    {     
+    {
         java.util.Calendar calendardate = java.util.Calendar.getInstance();
         calendardate.set(java.util.Calendar.MILLISECOND, 0);
         long seconds = calendardate.getTimeInMillis() / 1000;
         boolean even = seconds % 2 == 0;
-        
         art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller controller = (art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller) getDevice();
         art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerStatus controllerStatus = (art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerStatus) controller.getDeviceStatus();
         art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation controllerInformation = (art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation) controller.getDeviceInformation();
         art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status subcontrollerStatus = controllerStatus.rtz32;
         art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerRealtime subcontrollerRealtime = (art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerRealtime) device.getDeviceRealtime();
         art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerConfiguration subcontrollerConfiguration = (art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerConfiguration) device.getDeviceConfiguration();
-
         SVGElement emergency = getElement(&quot;Emergency&quot;);
         SVGElement lock = getElement(&quot;Lock&quot;);
         SVGElement run = getElement(&quot;Run&quot;);
@@ -89,7 +87,6 @@
         setText(&quot;Text offset&quot;, &quot;&quot;);
         setText(&quot;Text cycle&quot;, &quot;&quot;);
         setText(&quot;Text elapsed&quot;, &quot;&quot;);
-
         try
         {
             if (art.client.models.Shared.configuration.general.darkMap == true)
@@ -108,85 +105,66 @@
         } catch (Exception ex)
         {
         }
-
-
         setAttribute(elapsed1, &quot;display&quot;, &quot;none&quot;);
         setAttribute(elapsed2, &quot;display&quot;, &quot;none&quot;);
-        /* setAttribute(border, &quot;stroke&quot;, &quot;#800080&quot;);*/
-        setAttribute(border, &quot;display&quot;, &quot;inline&quot;);
+        /* setAttribute(border, &quot;stroke&quot;, &quot;#800080&quot;);*/ setAttribute(border, &quot;display&quot;, &quot;inline&quot;);
         setAttribute(border, &quot;stroke-width&quot;, 6.5);
         setAttribute(border, &quot;stroke-opacity&quot;, 0.75);
         setAttribute(ribbon, &quot;stroke-opacity&quot;, 0.50);
         setAttribute(ribbon, &quot;stroke&quot;, &quot;#FF80FF&quot;);
         setAttribute(background, &quot;fill&quot;, &quot;#FF80FF&quot;);
-        
         if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_NON_CENTRALIZED)
         {
-            setAttribute(border, &quot;stroke&quot;, &quot;#FFFFFF&quot;,999);
-            setAttribute(background, &quot;fill&quot;, &quot;#FFFFFF&quot;,999);
-            setAttribute(ribbon, &quot;stroke&quot;, &quot;#FFFFFF&quot;,999);
-        }
-        else
+            setAttribute(border, &quot;stroke&quot;, &quot;#FFFFFF&quot;, 999);
+            setAttribute(background, &quot;fill&quot;, &quot;#FFFFFF&quot;, 999);
+            setAttribute(ribbon, &quot;stroke&quot;, &quot;#FFFFFF&quot;, 999);
+        } else
         {
-              setAttribute(border, &quot;display&quot;, &quot;none&quot;, 999);
-            
+            setAttribute(border, &quot;display&quot;, &quot;none&quot;, 999);
             if (controllerStatus.rtz32.centralized.centralized == false)
             {
                 setAttribute(border, &quot;fill&quot;, &quot;#808080&quot;, 999);
                 setAttribute(background, &quot;fill&quot;, &quot;#808080&quot;, 999);
                 setAttribute(ribbon, &quot;stroke&quot;, &quot;#808080&quot;, 999);
-            } 
-            else
+                 setAttribute(background, &quot;display&quot;, &quot;inline&quot;);
+            } else
             {
-                boolean semiactuated = controllerStatus.rtz32.general.semiactuated ;
+                boolean semiactuated = controllerStatus.rtz32.general.semiactuated;
                 boolean offline = false;
-                
                 if (device.getAlarm(&quot;alarm_controller_offline&quot;) &gt; 0 || device.getAlarm(&quot;alarm_offline&quot;) &gt; 0)
                 {
                     offline = true;
                     setAttribute(background, &quot;display&quot;, even ? &quot;inline&quot; : &quot;none&quot;, 999);
                 }
-                
                 if (controllerStatus.rtz32.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_COMPUTER)
                 {
                     setAttribute(background, &quot;fill&quot;, &quot;#00FF00&quot;, 999);
                     setAttribute(ribbon, &quot;stroke&quot;, &quot;#00FF00&quot;, 999);
-                    
-                    if(offline == true)
+                    if (offline == true)
                     {
                         setAttribute(background, &quot;display&quot;, even || semiactuated ? &quot;none&quot; : &quot;inline&quot;, 999);
                     }
-                }
-                else if (controllerStatus.rtz32.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_LOCAL)
+                } else if (controllerStatus.rtz32.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_LOCAL)
                 {
                     setAttribute(background, &quot;fill&quot;, &quot;#FF0000&quot;, 999);
-                         setAttribute(ribbon, &quot;stroke&quot;, &quot;#FF0000&quot;, 999);
-                   
+                    setAttribute(ribbon, &quot;stroke&quot;, &quot;#FF0000&quot;, 999);
                     if (offline == true)
                     {
                         setAttribute(background, &quot;display&quot;, even ? &quot;none&quot; : &quot;inline&quot;, 999);
                     }
                 }
-
                 if (device.getAlarm(&quot;alarm_controller_offline&quot;) &lt;= 0 &amp;&amp; device.getAlarm(&quot;alarm_offline&quot;) &lt;= 0)
                 {
                     if (art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller.class.cast(device).getDeviceAlarms().rtz32.flashing.getServerityAlarm() &gt; 0)
                     {
                         setAttribute(background, &quot;fill&quot;, &quot;#FFFF00&quot;, 999);
-                         setAttribute(ribbon, &quot;stroke&quot;, &quot;#FFFF00&quot;, 999);
+                        setAttribute(ribbon, &quot;stroke&quot;, &quot;#FFFF00&quot;, 999);
                         setAttribute(background, &quot;display&quot;, even ? &quot;inline&quot; : &quot;none&quot;, 999);
-                        
                     }
                 }
             }
         }
-       
-        if (subcontrollerStatus.forcings != null
-                &amp;&amp; (subcontrollerStatus.forcings.centralized != null
-                || subcontrollerStatus.forcings.colorsMode != null
-                || subcontrollerStatus.forcings.computerMode != null
-                || subcontrollerStatus.forcings.control != null
-                || subcontrollerStatus.forcings.plan != null))
+        if (subcontrollerStatus.forcings != null &amp;&amp; (subcontrollerStatus.forcings.centralized != null || subcontrollerStatus.forcings.colorsMode != null || subcontrollerStatus.forcings.computerMode != null || subcontrollerStatus.forcings.control != null || subcontrollerStatus.forcings.plan != null))
         {
             setAttribute(lock, &quot;fill-opacity&quot;, &quot;1.0&quot;, 999);
             setAttribute(lock, &quot;fill&quot;, &quot;#FF0000&quot;, 999);
@@ -195,7 +173,7 @@
             setAttribute(lock, &quot;fill-opacity&quot;, &quot;0.15&quot;, 999);
             setAttribute(lock, &quot;fill&quot;, &quot;#000000&quot;, 999);
         }
-         if (subcontrollerStatus.general.emergency == true)
+        if (subcontrollerStatus.general.emergency == true)
         {
             setAttribute(emergency, &quot;fill-opacity&quot;, &quot;1.0&quot;, 999);
         } else if (subcontrollerStatus.general.emergency == false)
@@ -203,18 +181,14 @@
             setAttribute(emergency, &quot;fill-opacity&quot;, &quot;0.15&quot;, 999);
             setAttribute(emergency, &quot;fill&quot;, &quot;#000000&quot;, 999);
         }
-        
-        
-
         setAttribute(&quot;Text information&quot;, &quot;display&quot;, &quot;iniline&quot;, 999);
         setAttribute(&quot;Text offset&quot;, &quot;display&quot;, &quot;iniline&quot;, 999);
         setAttribute(&quot;Text cycle&quot;, &quot;display&quot;, &quot;iniline&quot;, 999);
-
         if ((subcontrollerStatus.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_COMPUTER))
         {
             setAttribute(remote, &quot;fill-opacity&quot;, &quot;1.0&quot;, 999);
             setAttribute(remote, &quot;fill&quot;, &quot;#0000FF&quot;, 999);
-        } else 
+        } else
         {
             setAttribute(remote, &quot;fill-opacity&quot;, &quot;0.15&quot;, 999);
             setAttribute(remote, &quot;fill&quot;, &quot;#000000&quot;, 999);
@@ -228,87 +202,49 @@
             setAttribute(run, &quot;fill-opacity&quot;, &quot;0.15&quot;, 999);
             setAttribute(run, &quot;fill&quot;, &quot;#000000&quot;, 999);
         }
-       
         double strokeopacity = Math.pow(2, controller.getDeviceAlarms().getServerityAlarm()) / 32;
-      
-       /* if (controller.getDeviceAlarms().getServerityAlarm() &gt; 0)
-        {
-            setAttribute(border, &quot;display&quot;, &quot;inline&quot;);
-            setAttribute(border, &quot;stroke&quot;, &quot;#FF0000&quot;);
-            setAttribute(border, &quot;stroke-opacity&quot;, strokeopacity);
-            setAttribute(border, &quot;stroke-width&quot;, 6.5 + (6.5 * strokeopacity));
-        } else
-        {
-            setAttribute(border, &quot;stroke&quot;, &quot;#808080&quot;);
-            setAttribute(border, &quot;display&quot;, &quot;inline&quot;);
-            setAttribute(border, &quot;stroke-width&quot;, 6.5);
-            setAttribute(border, &quot;stroke-opacity&quot;, 1.0);
-        }*/
-        
-        
-
-        switch (subcontrollerStatus.general.state)
+        /* if (controller.getDeviceAlarms().getServerityAlarm() &gt; 0)         {             setAttribute(border, &quot;display&quot;, &quot;inline&quot;);             setAttribute(border, &quot;stroke&quot;, &quot;#FF0000&quot;);             setAttribute(border, &quot;stroke-opacity&quot;, strokeopacity);             setAttribute(border, &quot;stroke-width&quot;, 6.5 + (6.5 * strokeopacity));         } else         {             setAttribute(border, &quot;stroke&quot;, &quot;#808080&quot;);             setAttribute(border, &quot;display&quot;, &quot;inline&quot;);             setAttribute(border, &quot;stroke-width&quot;, 6.5);             setAttribute(border, &quot;stroke-opacity&quot;, 1.0);         }*/ switch (subcontrollerStatus.general.state)
         {
             case art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.STATE_UNKNOWN:
-                /*setAttribute(background, &quot;fill&quot;, &quot;#808080&quot;);
-                setAttribute(ribbon, &quot;stroke&quot;, &quot;#808080&quot;);*/
-                setAttribute(elapsed2, &quot;fill&quot;, &quot;#808080&quot;);
+                /*setAttribute(background, &quot;fill&quot;, &quot;#808080&quot;);                 setAttribute(ribbon, &quot;stroke&quot;, &quot;#808080&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, &quot;#808080&quot;);
                 setText(&quot;Text information&quot;, &quot;OFF&quot;);
                 return;
-          
             case art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.STATE_FLASHING:
-                setAttribute(&quot;Text information&quot;, &quot;display&quot;,&quot;none&quot;,999);
-                setAttribute(&quot;Text offset&quot;, &quot;display&quot;,&quot;none&quot;,999);
-                setAttribute(&quot;Text cycle&quot;, &quot;display&quot;,&quot;none&quot;,999);
-
+                setAttribute(&quot;Text information&quot;, &quot;display&quot;, &quot;none&quot;, 999);
+                setAttribute(&quot;Text offset&quot;, &quot;display&quot;, &quot;none&quot;, 999);
+                setAttribute(&quot;Text cycle&quot;, &quot;display&quot;, &quot;none&quot;, 999);
                 if (even)
                 {
-                 /*   setAttribute(background, &quot;fill&quot;, &quot;#FFFF00&quot;);
-                    setAttribute(ribbon, &quot;stroke&quot;, &quot;#FFFF00&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;, &quot;#FFFF00&quot;);
+                    /*   setAttribute(background, &quot;fill&quot;, &quot;#FFFF00&quot;);                     setAttribute(ribbon, &quot;stroke&quot;, &quot;#FFFF00&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, &quot;#FFFF00&quot;);
                 } else
                 {
-            /*        setAttribute(background, &quot;fill&quot;, &quot;#808000&quot;);
-                    setAttribute(ribbon, &quot;stroke&quot;, &quot;#808000&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;, &quot;#808000&quot;);
+                    /*        setAttribute(background, &quot;fill&quot;, &quot;#808000&quot;);                     setAttribute(ribbon, &quot;stroke&quot;, &quot;#808000&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, &quot;#808000&quot;);
                 }
                 setText(&quot;Text information&quot;, &quot;Y^&quot;);
                 break;
             case art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.STATE_STARTUP:
                 if (subcontrollerStatus.general.emergency == true)
                 {
-              /*      setAttribute(background, &quot;fill&quot;, even ? &quot;#FF8000&quot; : &quot;#804000&quot;);
-                    setAttribute(ribbon, &quot;stroke&quot;, even ? &quot;#FF8000&quot; : &quot;#804000&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;, even ? &quot;#FF8000&quot; : &quot;#804000&quot;);
+                    /*      setAttribute(background, &quot;fill&quot;, even ? &quot;#FF8000&quot; : &quot;#804000&quot;);                     setAttribute(ribbon, &quot;stroke&quot;, even ? &quot;#FF8000&quot; : &quot;#804000&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, even ? &quot;#FF8000&quot; : &quot;#804000&quot;);
                 } else if (subcontrollerStatus.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_LOCAL)
                 {
-               /*     setAttribute(background, &quot;fill&quot;, even ? &quot;#008000&quot; : &quot;#004000&quot;);
-                    setAttribute(ribbon, &quot;stroke&quot;, even ?&quot;#008000&quot; : &quot;#004000&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;,even ? &quot;#008000&quot; : &quot;#004000&quot;);
+                    /*     setAttribute(background, &quot;fill&quot;, even ? &quot;#008000&quot; : &quot;#004000&quot;);                     setAttribute(ribbon, &quot;stroke&quot;, even ?&quot;#008000&quot; : &quot;#004000&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, even ? &quot;#008000&quot; : &quot;#004000&quot;);
                 } else
                 {
-                /*    setAttribute(background, &quot;fill&quot;, even ? &quot;#00FF00&quot; : &quot;#008000&quot;);
-                    setAttribute(ribbon, &quot;stroke&quot;, even ? &quot;#00FF00&quot; : &quot;#008000&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;, even ? &quot;#00FF00&quot; : &quot;#008000&quot;);
+                    /*    setAttribute(background, &quot;fill&quot;, even ? &quot;#00FF00&quot; : &quot;#008000&quot;);                     setAttribute(ribbon, &quot;stroke&quot;, even ? &quot;#00FF00&quot; : &quot;#008000&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, even ? &quot;#00FF00&quot; : &quot;#008000&quot;);
                 }
                 break;
             case art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.STATE_COLORS:
                 if (subcontrollerStatus.general.emergency == true)
                 {
-               /*     setAttribute(background, &quot;fill&quot;, &quot;#FF8000&quot;); */
-                    setAttribute(ribbon, &quot;stroke&quot;, &quot;#FF8000&quot;);
+                    /*     setAttribute(background, &quot;fill&quot;, &quot;#FF8000&quot;); */ setAttribute(ribbon, &quot;stroke&quot;, &quot;#FF8000&quot;);
                     setAttribute(elapsed2, &quot;fill&quot;, &quot;#FF8000&quot;);
-                } 
-                else if (subcontrollerStatus.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_LOCAL)
+                } else if (subcontrollerStatus.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_LOCAL)
                 {
-                 /*   setAttribute(background, &quot;fill&quot;, &quot;#008000&quot;);
-                    setAttribute(ribbon, &quot;stroke&quot;, &quot;#008000&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;, &quot;#008000&quot;);
+                    /*   setAttribute(background, &quot;fill&quot;, &quot;#008000&quot;);                     setAttribute(ribbon, &quot;stroke&quot;, &quot;#008000&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, &quot;#008000&quot;);
                 } else
                 {
-              /*      setAttribute(background, &quot;fill&quot;, &quot;#00FF00&quot;); 
-                    setAttribute(ribbon, &quot;stroke&quot;, &quot;#00FF00&quot;);*/
-                    setAttribute(elapsed2, &quot;fill&quot;, &quot;#00FF00&quot;);
+                    /*      setAttribute(background, &quot;fill&quot;, &quot;#00FF00&quot;);                      setAttribute(ribbon, &quot;stroke&quot;, &quot;#00FF00&quot;);*/ setAttribute(elapsed2, &quot;fill&quot;, &quot;#00FF00&quot;);
                 }
                 break;
         }
@@ -322,31 +258,35 @@
             {
             }
         }
-        
         if (plan != null)
         {
-        
             String information = &quot;&quot;;
-
-             if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED)
+            if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED)
+            {
                 information = &quot;C&quot;;
-             else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_MASTER)
+            } else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_MASTER)
+            {
                 information = &quot;M&quot;;
-             else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_MASTER_SLAVE)
+            } else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_MASTER_SLAVE)
+            {
                 information = &quot;M-E&quot;;
-             else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_SLAVE)
+            } else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_SLAVE)
+            {
                 information = &quot;E&quot;;
-             else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_SLAVE_MASTER)
+            } else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_SLAVE_MASTER)
+            {
                 information = &quot;E-M&quot;;
-             else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_TROLLEY)
+            } else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_CENTRALIZED_TROLLEY)
+            {
                 information = &quot;CTw&quot;;
-             else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_NON_CENTRALIZED)
+            } else if (controllerInformation.mode == art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation.MODE_NON_CENTRALIZED)
+            {
                 information = &quot;NC&quot;;
-             else
+            } else
+            {
                 information = &quot;?&quot;;
-
+            }
             information = information + plan.number;
-
             switch (subcontrollerStatus.general.planMode)
             {
                 case art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.PLAN_MODE_DELAYED_ORDERS:
@@ -365,7 +305,6 @@
                     information = information + &quot;t&quot;;
                     break;
             }
-            
             setText(&quot;Text information&quot;, information);
             if (plan.offset &gt; 0)
             {
@@ -375,13 +314,11 @@
                 setText(&quot;Text offset&quot;, &quot;&quot;);
             }
             setText(&quot;Text cycle&quot;, &quot;&quot; + plan.cycle);
-            
             if (subcontrollerRealtime != null)
             {
                 try
                 {
                     String text = subcontrollerRealtime.rtz32.phase.phaseNumber + &quot;:&quot; + subcontrollerRealtime.rtz32.counters.cycle;
-
                     setText(&quot;Text elapsed&quot;, text);
                     setAttribute(elapsed1, &quot;display&quot;, &quot;inline&quot;);
                     setAttribute(elapsed2, &quot;display&quot;, &quot;inline&quot;);
@@ -393,15 +330,12 @@
                 {
                 }
             }
-       
             java.awt.Color bckColor = java.awt.Color.decode(background.getStyleAbsolute(&quot;fill&quot;).getStringValue());
             java.awt.Color darkerColor = bckColor.darker();
             String darkHex = String.format(&quot;#%02x%02x%02x&quot;, darkerColor.darker().getRed(), darkerColor.darker().getGreen(), darkerColor.darker().getBlue());
-
             setAttribute(&quot;Text information&quot;, &quot;fill&quot;, darkHex, 999);
             setAttribute(&quot;Text offset&quot;, &quot;fill&quot;, darkHex, 999);
             setAttribute(&quot;Text cycle&quot;, &quot;fill&quot;, darkHex, 999);
-
             setAttribute(emergency, &quot;fill&quot;, darkHex, 999);
             setAttribute(lock, &quot;fill&quot;, darkHex, 999);
             setAttribute(run, &quot;fill&quot;, darkHex, 999);
@@ -455,22 +389,17 @@
     {
         final String colorNoCommandsBorder = &quot;#00007C&quot;;
         final String colorNoCommandsBackground = &quot;#7C7CFA&quot;;
-        
         final String colorCommandsBorder = &quot;#007C00&quot;;
         final String colorCommandsBackground = &quot;#7CFA7C&quot;;
-        
         art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller controller = (art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller) getDevice();
         art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation controllerInformation = (art.library.model.devices.colors.controller.RTZ32.RTZ32_ControllerInformation) controller.getDeviceInformation();
-
         SVGElement background = getElement(&quot;Background&quot;);
         SVGElement border = getElement(&quot;Border&quot;);
         SVGElement ribbon = getElement(&quot;Ribbon&quot;);
-
         SVGElement emergency = getElement(&quot;Emergency&quot;);
         SVGElement lock = getElement(&quot;Lock&quot;);
         SVGElement run = getElement(&quot;Run&quot;);
         SVGElement remote = getElement(&quot;Remote&quot;);
-
         setAttribute(border, &quot;stroke&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBorder : colorNoCommandsBorder);
         setAttribute(border, &quot;display&quot;, &quot;inline&quot;);
         setAttribute(border, &quot;stroke-width&quot;, 6.5);
@@ -478,20 +407,16 @@
         setAttribute(ribbon, &quot;stroke-opacity&quot;, 0.50);
         setAttribute(ribbon, &quot;stroke&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBackground : colorNoCommandsBackground);
         setAttribute(background, &quot;fill&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBackground : colorNoCommandsBackground);
-
         setAttribute(emergency, &quot;fill&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBackground : colorNoCommandsBackground, 999);
         setAttribute(lock, &quot;fill&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBackground : colorNoCommandsBackground, 999);
         setAttribute(run, &quot;fill&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBackground : colorNoCommandsBackground, 999);
         setAttribute(remote, &quot;fill&quot;, !getDeviceCommands().isEmpty() ? colorCommandsBackground : colorNoCommandsBackground, 999);
-
         setText(&quot;Text number&quot;, String.format(&quot;%04d&quot;, controllerInformation.number));
         setAttribute(&quot;Text information&quot;, &quot;display&quot;, &quot;none&quot;, 999);
         setAttribute(&quot;Text offset&quot;, &quot;display&quot;, &quot;none&quot;, 999);
         setAttribute(&quot;Text cycle&quot;, &quot;display&quot;, &quot;none&quot;, 999);
         setAttribute(&quot;Text elapsed&quot;, &quot;display&quot;, &quot;none&quot;, 999);
-
-    }    
-">
+    }">
     <rdf:RDF>
       <cc:Work
          rdf:about="">

--
Gitblit v1.10.0