new#增加tts播报
This commit is contained in:
@@ -7,8 +7,9 @@ import java.util.List;
|
||||
* describe:基于目的地预判的道路事件
|
||||
*/
|
||||
public class V2XRecommendRouteEntity {
|
||||
private List<Double> toPoint;
|
||||
private String formatAddress;
|
||||
private List<Double> toPoint; //目的地坐标
|
||||
private String formatAddress; //目的地地址
|
||||
private String tts; //播报内容
|
||||
|
||||
public List<Double> getToPoint() {
|
||||
return toPoint;
|
||||
@@ -25,4 +26,9 @@ public class V2XRecommendRouteEntity {
|
||||
public void setFormatAddress(String formatAddress) {
|
||||
this.formatAddress = formatAddress;
|
||||
}
|
||||
|
||||
public String getTts() {
|
||||
tts = "主人,我发现前往" + formatAddress + "沿途有拥堵,推荐你导航最优路线,现在开启导航吗?";
|
||||
return tts;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user