Ver Fonte

Set DI1 state color by bit mask

Avetisyan Karen há 7 anos atrás
pai
commit
e389fd0291

BIN
modules/HTTP_Server/fs/main.js


BIN
modules/HTTP_Server/fs/settings.html


Diff do ficheiro suprimidas por serem muito extensas
+ 647 - 647
modules/HTTP_Server/fsdata.c


+ 1 - 1
web_interface/src/wui/main.js

@@ -474,7 +474,7 @@ function paramsRefresh() {
 
     // Inputs
     $('di1').innerHTML   = +data.di1 ? 'Разомкнут' : 'Замкнут';
-    $('di1').style.color = +data.di1 ? ALARM_GREEN : ALARM_RED;
+    $('di1').style.color = Alarm(ma, 4) ? ALARM_RED : ALARM_GREEN;
 
     $('ro1').innerHTML   = +data.ro1 ? 'Замкнут' : 'Разомкнут';
     $('ro1').style.color = +data.ro1 ? ALARM_RED : ALARM_GREEN;

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff