From e7a450d2fdc99bd501e1af7dd7c16c477cfea75e Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期六, 15 三月 2025 11:56:44 +0800 Subject: [PATCH] 1.CimMessageClear(清除Cim消息)测试通过; 2.增加VCREanbleStep(启用/禁用)VCR; --- SourceCode/Bond/Servo/ServoDlg.h | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoDlg.h b/SourceCode/Bond/Servo/ServoDlg.h index 9fd1dbc..091f0c8 100644 --- a/SourceCode/Bond/Servo/ServoDlg.h +++ b/SourceCode/Bond/Servo/ServoDlg.h @@ -6,8 +6,10 @@ #include "ServoGraph.h" #include "BlButton.h" #include "LogDlg.h" +#include "AlarmDlg.h" #include "TerminalDisplayDlg.h" #include "CPanelMaster.h" +#include "CPanelEquipment.h" #include "CPanelAttributes.h" @@ -42,6 +44,7 @@ BOOL m_bShowLogWnd; BOOL m_bShowAlarmWnd; CLogDlg* m_pLogDlg; + CAlarmDlg* m_pAlarmDlg; CTerminalDisplayDlg* m_pTerminalDisplayDlg; @@ -66,8 +69,8 @@ CBlButton m_btnLog; CBlButton m_btnAlarm; CPanelMaster* m_pPanelMaster; + CPanelEquipment* m_pPanelEquipment; CPanelAttributes* m_pPanelAttributes; - // 生成的消息映射函数 virtual BOOL OnInitDialog(); @@ -84,6 +87,7 @@ afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnClose(); afx_msg LRESULT OnLogDlgHide(WPARAM wParam, LPARAM lParam); + afx_msg LRESULT OnAlarmDlgHide(WPARAM wParam, LPARAM lParam); afx_msg void OnMoving(UINT fwSide, LPRECT pRect); afx_msg void OnMove(int x, int y); afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu); @@ -93,8 +97,14 @@ afx_msg void OnUpdateMenuFileSecsTest(CCmdUI* pCmdUI); afx_msg void OnMenuWndLog(); afx_msg void OnUpdateMenuWndLog(CCmdUI* pCmdUI); + afx_msg void OnMenuWndAlarm(); + afx_msg void OnUpdateMenuWndAlarm(CCmdUI* pCmdUI); afx_msg void OnMenuFileExit(); afx_msg void OnUpdateMenuFileExit(CCmdUI* pCmdUI); + afx_msg void OnMenuTestMessageSet(); + afx_msg void OnUpdateMenuTestMessageSet(CCmdUI* pCmdUI); + afx_msg void OnMenuTestMessageClear(); + afx_msg void OnUpdateMenuTestMessageClear(CCmdUI* pCmdUI); afx_msg void OnMenuHelpAbout(); afx_msg void OnTimer(UINT_PTR nIDEvent); afx_msg BOOL OnEraseBkgnd(CDC* pDC); -- Gitblit v1.9.3