wait to finiah

This commit is contained in:
zhongchao
2022-09-13 16:36:14 +08:00
parent 23a648483a
commit 501e82ea45
2 changed files with 8 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class EventTypeHelper {
fun getLCW(
direction: WarningDirectionEnum,
data: ((alertContent: String, ttsContent: String) -> Unit)
data: ((alert: String, tts: String) -> Unit)
) {
when {
direction.isLeft() -> {
@@ -36,7 +36,7 @@ class EventTypeHelper {
fun getCLW(
direction: WarningDirectionEnum,
data: ((alertContent: String, ttsContent: String) -> Unit)
data: ((alert: String, tts: String) -> Unit)
){
data.invoke(EventTypeEnum.getWarningContent(EventTypeEnum.TYPE_USECASE_ID_CLW.poiType + direction.desc)
,EventTypeEnum.getWarningContent(EventTypeEnum.TYPE_USECASE_ID_CLW.poiType + direction.desc))