diff --git a/usrc/service/page/Page_main.cpp b/usrc/service/page/Page_main.cpp index 7f3aa01..47d6a19 100644 --- a/usrc/service/page/Page_main.cpp +++ b/usrc/service/page/Page_main.cpp @@ -87,13 +87,19 @@ void Page_main::OnPageLoad(OnPageLoadContext* cxt) { void Page_main::OnAppEvent(AppEvent_t* event) { if (event->type == kAppEvent_RunModeChangeEvent) { updateRunModeState(); + UIS->setTxt(PAGE, ob_main_sysInfo, "切换模式"); } if (event->type == kAppEvent_RemoterConnectStateChangeEvent) { UIS->setEnumComponentState(PAGE, ob_main_RemoterS, GSM->getRemoterS()); + if (GSM->getRemoterS()) { + UIS->setTxt(PAGE, ob_main_sysInfo, "连接上手柄"); + } else { + UIS->setTxt(PAGE, ob_main_sysInfo, "断开手柄连接"); + } } - if(event->type == kAppEvent_StateDisplayInfo){ + if (event->type == kAppEvent_StateDisplayInfo) { UIS->setTxt(PAGE, ob_main_sysInfo, event->d.stateDisplayInfo); }