From a9e9f76d23ee7206ea0080a8f5a94e312c9d90f1 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 08 七月 2025 19:41:08 +0800 Subject: [PATCH] 1.UI分组启用和禁用,方便增加更多测试功能时代码整洁简单; 2.增加Are You There测试; --- SourceCode/Bond/BondEq/BondEqDlg.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/BondEq/BondEqDlg.h b/SourceCode/Bond/BondEq/BondEqDlg.h index bcb13fd..19f50e1 100644 --- a/SourceCode/Bond/BondEq/BondEqDlg.h +++ b/SourceCode/Bond/BondEq/BondEqDlg.h @@ -9,6 +9,8 @@ #include "CBaseView.h" #include "CRemoteEqView.h" #include "TopToolbar.h" +#include "CComponentPLCDlg.h" +#include "AlarmPopupDlg.h" // CBondEqDlg 对话框 @@ -22,9 +24,13 @@ void InitRxWindows(); void Resize(); void CloseView(CBaseView* pView); + void CloseView(CComponentDlg* pView); CHomeDialog* CreateHomeDlg(); CBaseView* CreateRemoteEqView(BEQ::IRemoteEquipment* pEquipment); + CComponentPLCDlg* CreateComponentPLCDlg(CComponent* pComponent); void UpdateLoginStatus(); + void AlarmOn(); + void AlarmOff(); private: COLORREF m_crBkgnd; @@ -35,7 +41,8 @@ CPanelProject* m_pPanelProject; CHomeDialog* m_pHomeDialog; CBaseView* m_pActiveView; - + CComponentDlg* m_pActiveComponentDlg; + CAlarmPopupDlg* m_pAlarmWnd; // 对话框数据 #ifdef AFX_DESIGN_TIME -- Gitblit v1.9.3