LAPTOP-SNT8I5JK\Boounion
2025-07-28 e51c6d1360f9679dd8e4dd3379ce0db1886badbf
SourceCode/Bond/EAPSimulator/EAPSimulatorDlg.h
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,57 @@

// EAPSimulatorDlg.h: å¤´æ–‡ä»¶
//
#pragma once
#include "LogEdit.h"
// CEAPSimulatorDlg å¯¹è¯æ¡†
class CEAPSimulatorDlg : public CDialogEx
{
// æž„造
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
   enum { IDD = IDD_EAPSIMULATOR_DIALOG };
#endif
   protected:
   virtual void DoDataExchange(CDataExchange* pDX);   // DDX/DDV æ”¯æŒ
// å®žçް
protected:
   HICON m_hIcon;
   CLogEdit m_logEdit;
   IObserver* m_pObserver;
   // ç”Ÿæˆçš„æ¶ˆæ¯æ˜ å°„函数
   virtual BOOL OnInitDialog();
   afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
   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();
};