SourceCode/Bond/Servo/PageAlarm.cpp
@@ -48,7 +48,7 @@ } } void CPageAlarm::InitRxWindow() void CPageAlarm::InitRxWindows() { /* code */ // 订阅数据 @@ -249,6 +249,7 @@ BOOL CPageAlarm::OnInitDialog() { CDialogEx::OnInitDialog(); InitRxWindows(); SetTimer(1, 3000, nullptr); // 下拉框控件 @@ -506,3 +507,12 @@ m_nCurPage++; UpdatePageData(); // 调用分页更新函数 } BOOL CPageAlarm::PreTranslateMessage(MSG* pMsg) { if (pMsg->wParam == VK_RETURN || pMsg->wParam == VK_ESCAPE) { return TRUE; } return CDialogEx::PreTranslateMessage(pMsg); }