Commit e6a200e1 by huangjy

fix:实时定位空间区域

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