Commit e6a200e1 by huangjy

fix:实时定位空间区域

parent dc592b26
......@@ -532,7 +532,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
JSONObject jsonObject = JSON.parseObject(spaceResult);
vo.setDeviceId(platDevice.getId());
vo.setOriDeviceId(platDevice.getOriDeviceId());
//vo.setTrack((List<Integer>) jsonObject.get("track"));
vo.setTrack((List<Integer>) jsonObject.get("track"));
voList.add(vo);
}
}
......@@ -540,7 +540,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
return voList;
}
int count = 20;
/* int count = 20;
for (PlatDevice platDevice : deviceListSpace) {
for (int i = 0; i < count; i++) {
PlatElderCoordinateVO vo = new PlatElderCoordinateVO();
......@@ -557,7 +557,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
vo.setOriDeviceId(platDevice.getOriDeviceId());
voList.add(vo);
}
}
}*/
/* if (CollectionUtils.isNotEmpty(deviceListSpace)) {
deviceListSpace.forEach(e -> {
......
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 sign in to comment