merge
This commit is contained in:
@@ -50,6 +50,8 @@ public class MoGoApplication extends MultiDexApplication {
|
||||
clientConfig.setThirdPartyDeviceId(Devices.getSn());
|
||||
// 设置循环检测间隔时间
|
||||
clientConfig.setLoopCheckDelay(15 * 1000);
|
||||
// 设置是否属于高精定位设备
|
||||
clientConfig.setIsAccuracyDevice(false);
|
||||
|
||||
// 设置DNS经纬度位置
|
||||
clientConfig.setIHttpDnsCurrentLocation(new IHttpDnsCurrentLocation() {
|
||||
|
||||
@@ -27,6 +27,7 @@ class SPIRealTimeTestClass implements IRealTimeProvider {
|
||||
recognizedResult.carId = "11";
|
||||
recognizedResult.alt = 55;
|
||||
recognizedResult.speed = 7.0;
|
||||
recognizedResult.dataAccuracy = 0;
|
||||
list.add(recognizedResult);
|
||||
return list;
|
||||
}
|
||||
@@ -45,4 +46,9 @@ class SPIRealTimeTestClass implements IRealTimeProvider {
|
||||
list.add(info);
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLocationAccuracy() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user