SourceCode/Bond/Servo/ServoDlg.cpp
@@ -290,8 +290,15 @@ SetTimer(TIMER_ID_CREATE_TERMINAL, 3000, nullptr); InitRxWindows(); OnBnClickedButtonLog(); UpdateLogBtn(); Resize(); // 相当于延时调用master的初始化 theApp.m_model.m_master.init(); return TRUE; // 除非将焦点设置到控件,否则返回 TRUE } @@ -685,6 +692,14 @@ UpdateLogBtn(); LOGE("OnLogDlgHide"); unsigned int DATAID, RPTID; DATAID = 111; RPTID = 1001; std::vector<std::string> v; v.push_back("abc"); v.push_back("def"); theApp.m_model.m_hsmsPassive.requestEventReportSend(DATAID, RPTID, v); return 0; }