测试数据

This commit is contained in:
liujing
2021-04-23 20:06:31 +08:00
parent 390da88ced
commit 4f1be59e06
4 changed files with 7 additions and 8 deletions

View File

@@ -80,8 +80,7 @@ public class V2XWarningWindow extends V2XBasWindow implements IV2XWindow {
break;
}
distance.setText(String.valueOf(mV2XWarningEntity.getDistance()) + "");
warningTextView.setText(mV2XWarningEntity.getWarningContent());
mV2XWarningEntity.setTts(0);
warningTextView.setText(mV2XWarningEntity.getWarningContent());//验证云端数据是否
AIAssist.getInstance(V2XUtils.getApp()).speakTTSVoice(mV2XWarningEntity.getTts());
}
//3秒后移除提示弹框

View File

@@ -1,5 +1,5 @@
{
"type": 10013,
"type": 1,
"lat": 26.88299257,
"lon": 112.5642132,
"distance": 2,
@@ -21,7 +21,7 @@
"speed": 11.108121,
"targetColor": "#FF4040",
"stopLineDistance": 60,
"warningContent": "小心行人",
"warningContent": "注意自行车",
"heading": 0,
"showTime": 8000,
"roadwidth": 4.0

View File

@@ -1,5 +1,5 @@
{
"type": 10013,
"type": 2,
"lat": 26.88299257,
"lon": 112.5642132,
"distance": 2,
@@ -21,7 +21,7 @@
"speed": 11.108121,
"targetColor": "#FF4040",
"stopLineDistance": 60,
"warningContent": "小心行人",
"warningContent": "注意摩托车",
"heading": 0,
"showTime": 8000,
"roadwidth": 4.0

View File

@@ -1,5 +1,5 @@
{
"type": 10013,
"type": 0,
"lat": 26.88299257,
"lon": 112.5642132,
"distance": 2,
@@ -21,7 +21,7 @@
"speed": 11.108121,
"targetColor": "#FF4040",
"stopLineDistance": 60,
"warningContent": "小心行人",
"warningContent": "注意行人",
"heading": 0,
"showTime": 8000,
"roadwidth": 4.0