Commit dee34f02 authored by chenzhao's avatar chenzhao

修改代码

parent a87b3bf1
...@@ -1385,7 +1385,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -1385,7 +1385,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
String url = ""; String url = "";
if (listDatum.getDisplayName().contains("手车工作位置")){ if (listDatum.getDisplayName().contains("手车工作位置")){
String[] split = listDatum.getPictureName().split(":"); String[] split = listDatum.getPictureName().split(":");
if (listDatum.getValue().equals("true")){ if (listDatum.getValue().equals("false")){
String[] split1 = split[0].split(","); String[] split1 = split[0].split(",");
photoUrls.put(listDatum.getDisplayName().split("_")[0]+"scsurl",pictureUrl+split1[0]); photoUrls.put(listDatum.getDisplayName().split("_")[0]+"scsurl",pictureUrl+split1[0]);
photoUrls.put(listDatum.getDisplayName().split("_")[0]+"scxurl",pictureUrl+split1[1]); photoUrls.put(listDatum.getDisplayName().split("_")[0]+"scxurl",pictureUrl+split1[1]);
...@@ -1396,10 +1396,9 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -1396,10 +1396,9 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
} }
}else { }else {
if (listDatum.getValue().equals("false")){ if (listDatum.getValue().equals("false")){
url =pictureUrl+ listDatum.getPictureName().replace("green", "red");
}else {
url =pictureUrl+ listDatum.getPictureName(); url =pictureUrl+ listDatum.getPictureName();
}else {
url =pictureUrl+ listDatum.getPictureName().replace("green", "red");
} }
photoUrls.put(listDatum.getDisplayName().split("_")[0]+"url",url); photoUrls.put(listDatum.getDisplayName().split("_")[0]+"url",url);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment