LAPTOP-SNT8I5JK\Boounion
2025-07-28 bfe14e41fa5b07771d78af4511ba18d706bc23cc
SourceCode/Bond/EAPSimulator/EAPSimulatorDlg.h
@@ -3,6 +3,7 @@
//
#pragma once
#include "LogEdit.h"
// CEAPSimulatorDlg 对话框
@@ -11,6 +12,14 @@
// 构造
public:
   CEAPSimulatorDlg(CWnd* pParent = nullptr);   // 标准构造函数
private:
   void AppendLog(int level, const char* pszText);
   void InitRxWindow();
   void SetGroup1Enabled(bool enabled);
   void SetGroup2Enabled(bool enabled);
// 对话框数据
#ifdef AFX_DESIGN_TIME
@@ -24,6 +33,8 @@
// 实现
protected:
   HICON m_hIcon;
   CLogEdit m_logEdit;
   IObserver* m_pObserver;
   // 生成的消息映射函数
   virtual BOOL OnInitDialog();
@@ -31,4 +42,16 @@
   afx_msg void OnPaint();
   afx_msg HCURSOR OnQueryDragIcon();
   DECLARE_MESSAGE_MAP()
public:
   afx_msg void OnDestroy();
   afx_msg void OnBnClickedButtonConnect();
   afx_msg void OnBnClickedButtonDisconnect();
   afx_msg void OnBnClickedButtonAreYouThere();
   afx_msg void OnBnClickedButtonDatetimeSync();
   afx_msg void OnBnClickedButtonTerminalDisplay();
   afx_msg void OnBnClickedButtonEdEventReport();
   afx_msg void OnBnClickedButtonEdAlarmReport();
   afx_msg void OnBnClickedButtonDefineReport();
   afx_msg void OnBnClickedButtonLineReport();
   afx_msg void OnBnClickedButtonConfigureSpooling();
};