| | |
| | | setAttribute(background, "display", flashOn || semiactuated ? "none" : "inline", 999); |
| | | setAttribute(border, "display", flashOn ? "none" : "inline", 999); |
| | | } |
| | | |
| | | if(semiactuated) |
| | | setAttribute(background, "display", flashOn || semiactuated ? "none" : "inline", 999); |
| | | } |
| | | else if (status.rtz32.general.control == art.library.model.devices.colors.controller.RTZ32.status.RTZ32_Status_General.CONTROL_LOCAL) |
| | | { |
| | |
| | | setAttribute(background, "display", flashOn || semiactuated ? "none" : "inline", 999); |
| | | setAttribute(border, "display", flashOn ? "none" : "inline", 999); |
| | | } |
| | | |
| | | if(semiactuated) |
| | | setAttribute(background, "display", flashOn || semiactuated ? "none" : "inline", 999); |
| | | } |
| | | |
| | | 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 == status.rtz32.general.STATE_FLASHING) |
| | | { |
| | | setAttribute(border, "fill", "#FFFF00", 999); |
| | | setAttribute(background, "fill", "#FFFF00", 999); |