Alejandro Acuña
2025-04-29 d1d736e487d9eb104dcae9def948066037afd2f0
svgDevicesTest/src/Rtz/RtzMapComplex.java
@@ -62,6 +62,9 @@
        setText("Text offset", "");
        setText("Text cycle", "");
        setText("Text elapsed", "");
        setAttribute(background, "display", "inline");
        try
        {
            if (art.client.models.Shared.configuration.general.darkMap == true)
@@ -101,7 +104,6 @@
                setAttribute(border, "fill", "#808080", 999);
                setAttribute(background, "fill", "#808080", 999);
                setAttribute(ribbon, "stroke", "#808080", 999);
                 setAttribute(background, "display", "inline");
            } else
            {
                boolean semiactuated = controllerStatus.rtz32.general.semiactuated;
@@ -130,7 +132,7 @@
                }
                if (device.getAlarm("alarm_controller_offline") <= 0 && device.getAlarm("alarm_offline") <= 0)
                {
                    if (art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller.class.cast(device).getDeviceAlarms().rtz32.flashing.getServerityAlarm() > 0)
                    if (art.library.model.devices.colors.controller.RTZ32.RTZ32_Controller.class.cast(device).getDeviceStatus().rtz32.general.state == controllerStatus.rtz32.general.STATE_FLASHING)
                    {
                        setAttribute(background, "fill", "#FFFF00", 999);
                        setAttribute(ribbon, "stroke", "#FFFF00", 999);
@@ -306,8 +308,8 @@
                }
            }
            java.awt.Color bckColor = java.awt.Color.decode(background.getStyleAbsolute("fill").getStringValue());
            java.awt.Color darkerColor = bckColor.darker();
            String darkHex = String.format("#%02x%02x%02x", darkerColor.darker().getRed(), darkerColor.darker().getGreen(), darkerColor.darker().getBlue());
            java.awt.Color darkerColor = java.awt.Color.BLACK;
            String darkHex = String.format("#%02x%02x%02x", darkerColor.getRed(),darkerColor.getBlue(),darkerColor.getGreen());
            setAttribute("Text information", "fill", darkHex, 999);
            setAttribute("Text offset", "fill", darkHex, 999);
            setAttribute("Text cycle", "fill", darkHex, 999);