修正备选基站推送bug
This commit is contained in:
parent
483aeb9d76
commit
38ba6f83a4
@ -72,13 +72,10 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
|
|||||||
for (Device device : allDevices) {
|
for (Device device : allDevices) {
|
||||||
if (device.getOpMode() != GnssDevice.OP_MODE_USE) continue;
|
if (device.getOpMode() != GnssDevice.OP_MODE_USE) continue;
|
||||||
String deviceId = device.getDeviceId();
|
String deviceId = device.getDeviceId();
|
||||||
System.out.println(deviceId);
|
|
||||||
|
|
||||||
// 检查该设备是否应该接收此基站的数据
|
// 检查该设备是否应该接收此基站的数据
|
||||||
String primaryBaseId = device.getParentId();
|
String primaryBaseId = device.getParentId();
|
||||||
String backupBaseId = device.getParentId1();
|
String backupBaseId = device.getParentId1();
|
||||||
//System.out.println(primaryBaseId);
|
|
||||||
//System.out.println(backupBaseId);
|
|
||||||
|
|
||||||
// 如果当前基站是该设备的备选基站,需要检查主基站是否离线
|
// 如果当前基站是该设备的备选基站,需要检查主基站是否离线
|
||||||
if (id.equals(backupBaseId)) {
|
if (id.equals(backupBaseId)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user