|
// 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();
|
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();
|
};
|