From e2aba4b899f691b68a5d95f27981d25581142cb1 Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期一, 16 十二月 2024 16:59:54 +0800 Subject: [PATCH] 1. 创建配方和删除配方 2. 配方数据分模块,比如轴的数据就是一个模块 --- SourceCode/Bond/BondEq/CPageAlarm.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BondEq/CPageAlarm.h b/SourceCode/Bond/BondEq/CPageAlarm.h index 2fdbcb7..583a6b2 100644 --- a/SourceCode/Bond/BondEq/CPageAlarm.h +++ b/SourceCode/Bond/BondEq/CPageAlarm.h @@ -1,4 +1,5 @@ #pragma once +#include "AlarmMonitor.h" // CPageAlarm 对话框 @@ -13,6 +14,10 @@ private: void InitRxWindow(); + void Resize(); + void LoadAlarms(); + void AddAlarm(CAlarmMonitor* pMonitor, CAlarm* pAlarm); + void UpdateAlarm(CAlarmMonitor* pMonitor, CAlarm* pAlarm); private: COLORREF m_crBkgnd; @@ -34,4 +39,5 @@ afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); afx_msg void OnDestroy(); afx_msg void OnSize(UINT nType, int cx, int cy); + virtual BOOL DestroyWindow(); }; -- Gitblit v1.9.3