|
@@ -527,7 +527,8 @@ public class MainActivity extends SerialPortActivity {
|
|
|
//点阵屏显示
|
|
|
LedManagerUtils.getInstance().updateProgram(text, 1);
|
|
|
//语音播报
|
|
|
- SpeechUtil.getInstance().addSpeech(text, false);
|
|
|
+ String speech = com.wdkl.ncs.s433.receiver.utils.StringUtils.appendSpace(text);
|
|
|
+ SpeechUtil.getInstance().addSpeech(speech, false);
|
|
|
}
|
|
|
}
|
|
|
} else if (TcpAction.S433Action.CANCEL == tcpModel.getAction()) {
|
|
@@ -542,7 +543,8 @@ public class MainActivity extends SerialPortActivity {
|
|
|
} else {
|
|
|
//清除对应呼叫
|
|
|
LedManagerUtils.getInstance().updateProgram(text, 2);
|
|
|
- SpeechUtil.getInstance().removeSpeak(text);
|
|
|
+ String speech = com.wdkl.ncs.s433.receiver.utils.StringUtils.appendSpace(text);
|
|
|
+ SpeechUtil.getInstance().removeSpeak(speech);
|
|
|
}
|
|
|
} else if (TcpAction.S433Action.DATA == tcpModel.getAction()) {
|
|
|
//修改屏参
|