From 4a1d72850cf1d28c3f5f99f93dcb0136089a0918 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 03 十二月 2024 16:34:33 +0800 Subject: [PATCH] 1.IO页面,上一页、下一页按钮根据页号禁用或启用; 2.PLC页,修复在连接前打开闪退的问题。同进根据连接状态启用或禁用按钮组; --- SourceCode/Bond/BondEq/BondEqDlg.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/BondEq/BondEqDlg.h b/SourceCode/Bond/BondEq/BondEqDlg.h index bcb13fd..d7827a3 100644 --- a/SourceCode/Bond/BondEq/BondEqDlg.h +++ b/SourceCode/Bond/BondEq/BondEqDlg.h @@ -9,6 +9,7 @@ #include "CBaseView.h" #include "CRemoteEqView.h" #include "TopToolbar.h" +#include "CComponentPLCDlg.h" // CBondEqDlg 对话框 @@ -22,8 +23,10 @@ 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(); private: @@ -35,7 +38,7 @@ CPanelProject* m_pPanelProject; CHomeDialog* m_pHomeDialog; CBaseView* m_pActiveView; - + CComponentDlg* m_pActiveComponentDlg; // 对话框数据 #ifdef AFX_DESIGN_TIME -- Gitblit v1.9.3