Commit 19549bd2 by 黄小葱

修改位置点

1 parent 0dab0baa
......@@ -168,7 +168,7 @@ public class HdaoGpsComponent {
log.info("基站位置信息:{}", JSON.toJSONString(bsInfos));
for (int i = 0; i < bsInfos.length; 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.setLcid(String.valueOf(bsInfo.cellId));
break;
......
......@@ -35,7 +35,7 @@ public class MonitorTest {
public static void getdevicemonitorinfoTest() {
String url = serverUrl + "/monitor/getdevicemonitorinfo";
String sn = "1610816002";
String sn = "75108160001,1610816002";
Map<String, Object> paramMap = new HashMap<>();
paramMap.put("sns", sn);
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!