ConfigDialog.h
693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
#include <cstdint>
#include "resource.h"
class CConfigDialog : public CDialog
{
DECLARE_DYNAMIC(CConfigDialog)
public:
CConfigDialog(CWnd* pParent = NULL); // 标准构造函数
virtual BOOL OnInitDialog();
virtual void OnOK();
// 对话框数据
enum { IDD = IDD_MODIFY_CONFIG };
private:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
afx_msg void OnCbnSelchangeComboProtocol();
DECLARE_MESSAGE_MAP()
private:
int m_msg_count_query_interval;
int m_protocol_index;
int m_server_port;
CString m_pwd_machine_ip;
int m_pwd_machine_port;
int m_pwd_machine_timeout;
uint8_t m_pin_pad_pwd_len;
uint8_t m_pin_pad_timeout;
};