1、修改停用设备显示在首页的bug
This commit is contained in:
parent
de0d30ce02
commit
b20f88bab6
@ -79,7 +79,7 @@ public class IndexController extends BasicController{
|
||||
}
|
||||
|
||||
for(GnssStatus status:deviceList){
|
||||
if(status.getState() == GnssStatus.STATE_OFFLINE) deviceOnlineNum++;
|
||||
if(status.getState() != GnssStatus.STATE_OFFLINE) deviceOnlineNum++;
|
||||
if(status.getWarning() == WarningCfg.LEVEL_1) warning1Num++;
|
||||
else if(status.getWarning() == WarningCfg.LEVEL_2) warning2Num++;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user