|
@@ -635,8 +635,8 @@ public class EdosUtil implements IRealTimeDataBaseUtil {
|
|
|
|
|
|
if (pointDataHashMap.containsKey(pointids[i]) == false){
|
|
|
PointData pd = new PointData();
|
|
|
- pd.setPointName(idls.get(i));
|
|
|
- pd.setEdnaId(idls.get(i));
|
|
|
+ pd.setPointName(pointids[i]);
|
|
|
+ pd.setEdnaId(pointids[i]);
|
|
|
pd.setPointValueInDouble(0.0);
|
|
|
pd.setPointTime(0l);
|
|
|
result.add(pd);
|
|
@@ -644,7 +644,7 @@ public class EdosUtil implements IRealTimeDataBaseUtil {
|
|
|
pointDataHashMap.put(pd.getPointName(), pd);
|
|
|
}
|
|
|
else{
|
|
|
- result.add(pointDataHashMap.get(idls.get(i)));
|
|
|
+ result.add(pointDataHashMap.get(pointids[i]));
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -776,8 +776,8 @@ public class EdosUtil implements IRealTimeDataBaseUtil {
|
|
|
|
|
|
if (pointDataHashMap.containsKey(pointids.get(i)) == false){
|
|
|
PointData pd = new PointData();
|
|
|
- pd.setPointName(idls.get(i));
|
|
|
- pd.setEdnaId(idls.get(i));
|
|
|
+ pd.setPointName(pointids.get(i));
|
|
|
+ pd.setEdnaId(pointids.get(i));
|
|
|
pd.setPointValueInDouble(0.0);
|
|
|
pd.setPointTime(0l);
|
|
|
result.add(pd);
|
|
@@ -785,7 +785,7 @@ public class EdosUtil implements IRealTimeDataBaseUtil {
|
|
|
pointDataHashMap.put(pd.getPointName(), pd);
|
|
|
}
|
|
|
else{
|
|
|
- result.add(pointDataHashMap.get(idls.get(i)));
|
|
|
+ result.add(pointDataHashMap.get(pointids.get(i)));
|
|
|
}
|
|
|
}
|
|
|
Iterator<String> sIterator = jsonObject.keySet().iterator();
|