add toString

This commit is contained in:
zhongchao
2021-03-04 19:47:29 +08:00
parent cc14d97160
commit e258f2d707
5 changed files with 34 additions and 3 deletions

1
.idea/gradle.xml generated
View File

@@ -26,6 +26,7 @@
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>

View File

@@ -45,7 +45,7 @@ public class MoGoApplication extends MultiDexApplication {
clientConfig.setNetMode(MogoHttpDnsConfig.HTTP_DNS_ENV_QA);
// 设置是否是第三APP登录false自有车机 true外部三方车机
clientConfig.setThirdLogin(true);
clientConfig.setThirdLogin(false);
// 设置是否输出日志
clientConfig.setShowDebugLog(true);
// 设置从蘑菇AI开放平台获取的APPKey
@@ -54,7 +54,7 @@ public class MoGoApplication extends MultiDexApplication {
// 设置车机设备的唯一标识(这些表识必须是通过后台录入的设备)
clientConfig.setThirdPartyDeviceId(Devices.getSn());
// 设置应用服务AppId 长链、鉴权 //todo 需要卸载智慧驾驶、行车记录仪
clientConfig.setServiceAppId("com.mogo.launcher");
clientConfig.setServiceAppId("com.zhidao.carcoder");
// 设置是否输出日志
clientConfig.setShowDebugLog(true);
// 设置循环检测间隔时间

View File

@@ -40,7 +40,7 @@ MOGO_PASSPORT_VERSION=1.0.51
# 常链接
MOGO_SOCKET_VERSION=1.0.51
# 数据采集
MOGO_REALTIME_VERSION=1.0.51
MOGO_REALTIME_VERSION=1.0.52
# 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.0.51
# 直播推流

View File

@@ -246,4 +246,24 @@ public class CloudRoadData implements Parcelable {
}
@Override
public String toString() {
return "CloudRoadData{" +
"type=" + type +
", fromType=" + fromType +
", lat=" + lat +
", lon=" + lon +
", uuid='" + uuid + '\'' +
", sn='" + sn + '\'' +
", speed=" + speed +
", heading=" + heading +
", systemTime=" + systemTime +
", satelliteTime=" + satelliteTime +
", lightStatus=" + lightStatus +
", lightLeftTime=" + lightLeftTime +
", rtmpUrl='" + rtmpUrl + '\'' +
", distance=" + distance +
", coordinates=" + coordinates +
'}';
}
}

View File

@@ -60,4 +60,14 @@ public class FrequencyData {
public void setType(int type) {
this.type = type;
}
@Override
public String toString() {
return "FrequencyData{" +
"unit=" + unit +
", collectionInterval=" + collectionInterval +
", reportStartTime=" + reportStartTime +
", type=" + type +
'}';
}
}