Commit 19549bd2 by 黄小葱

修改位置点

1 parent 0dab0baa
...@@ -168,7 +168,7 @@ public class HdaoGpsComponent { ...@@ -168,7 +168,7 @@ public class HdaoGpsComponent {
log.info("基站位置信息:{}", JSON.toJSONString(bsInfos)); log.info("基站位置信息:{}", JSON.toJSONString(bsInfos));
for (int i = 0; i < bsInfos.length; i++) { for (int i = 0; i < bsInfos.length; i++) {
BsInfo bsInfo = bsInfos[i]; BsInfo bsInfo = bsInfos[i];
if (bsInfo.lac > 0 && bsInfo.cellId > 0 && bsInfo.signal > 0) { if (bsInfo.lac > 0 && bsInfo.cellId > 0) {
dataBsLocation.setLac(String.valueOf(bsInfo.lac)); dataBsLocation.setLac(String.valueOf(bsInfo.lac));
dataBsLocation.setLcid(String.valueOf(bsInfo.cellId)); dataBsLocation.setLcid(String.valueOf(bsInfo.cellId));
break; break;
......
...@@ -35,7 +35,7 @@ public class MonitorTest { ...@@ -35,7 +35,7 @@ public class MonitorTest {
public static void getdevicemonitorinfoTest() { public static void getdevicemonitorinfoTest() {
String url = serverUrl + "/monitor/getdevicemonitorinfo"; String url = serverUrl + "/monitor/getdevicemonitorinfo";
String sn = "1610816002"; String sn = "75108160001,1610816002";
Map<String, Object> paramMap = new HashMap<>(); Map<String, Object> paramMap = new HashMap<>();
paramMap.put("sns", sn); paramMap.put("sns", sn);
paramMap.put("deviceCode", "gps"); paramMap.put("deviceCode", "gps");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!