chenluhua1980
2026-01-09 6e0341c6356cdb6e527fbd89d1dc876f4e47ce46
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,33 @@
   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();
   afx_msg void OnBnClickedButtonTransmitSpooledData();
   afx_msg void OnBnClickedButtonPurgeSpooledData();
   afx_msg void OnBnClickedButtonQueryPpidList();
   afx_msg void OnBnClickedButtonProceedWithCarrier();
   afx_msg void OnBnClickedButtonProceedWithSlotMap();
   afx_msg void OnBnClickedButtonCarrierRelease();
   afx_msg void OnBnClickedButtonQueryCjSpace();
   afx_msg void OnBnClickedButtonQueryPjSpace();
   afx_msg void OnBnClickedButtonCreatePj();
   afx_msg void OnBnClickedButtonCreateCj();
   afx_msg void OnBnClickedButtonCtrlOffline();
   afx_msg void OnBnClickedButtonCtrlOnlineLocal();
   afx_msg void OnBnClickedButtonCtrlOnlineRemote();
   afx_msg void OnBnClickedButtonQueryControlState();
   afx_msg void OnBnClickedButtonQueryProcessState();
   afx_msg void OnBnClickedButtonQueryAllSvid();
   afx_msg void OnBnClickedButtonQueryAllCeid();
};