From 0d885fe2e84ac5a6390ddc4d43ab701112eedc64 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期一, 17 二月 2025 16:53:01 +0800 Subject: [PATCH] 1.各设备Alive状态获取,监听状态变化并回调应用层; --- SourceCode/Bond/BoounionPLC/PlcView.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BoounionPLC/PlcView.h b/SourceCode/Bond/BoounionPLC/PlcView.h index bcebc87..27a3e52 100644 --- a/SourceCode/Bond/BoounionPLC/PlcView.h +++ b/SourceCode/Bond/BoounionPLC/PlcView.h @@ -53,6 +53,8 @@ private: // 控件 CBlButton* m_pBlBtns[BTN_MAX]; + COLORREF m_crPlcNameBack; + HBRUSH m_hbrPlcName; // 对话框数据 #ifdef AFX_DESIGN_TIME @@ -76,5 +78,6 @@ afx_msg void OnBnClickedButtonSoundOff(); afx_msg void OnBnClickedButtonResetting(); afx_msg void OnBnClickedButtonStop(); + afx_msg void OnTimer(UINT_PTR nIDEvent); }; -- Gitblit v1.9.3