📄 commdlg.h
字号:
// commDlg.h : header file
//
#include "SerialPort.h"
#if !defined(AFX_COMMDLG_H__20A30641_9AE1_4283_9357_199BC6ABC0A5__INCLUDED_)
#define AFX_COMMDLG_H__20A30641_9AE1_4283_9357_199BC6ABC0A5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCommDlg dialog
class CCommDlg : public CDialog
{
// Construction
public:
CCommDlg(CWnd* pParent = NULL); // standard constructor
void Onconnect();
// Dialog Data
//{{AFX_DATA(CCommDlg)
enum { IDD = IDD_COMM_DIALOG };
CString m_re;
CString m_se;
int m_port;
long m_renum;
long m_senum;
BOOL m_log;
CString m_database;
CString m_password;
CString m_tablename;
CString m_usename;
CString m_servername;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCommDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordset;
_CommandPtr cmdA;
_ParameterPtr pParam1, pParam2, pParam3;
char dbtype,dealtype;
int intertime;
protected:
HICON m_hIcon;
CSerialPort m_Ports[8];
CString m_strReceived[8];
// Generated message map functions
//{{AFX_MSG(CCommDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg LONG OnCommunication(UINT, LONG);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onopen();
afx_msg void Onsend();
afx_msg void Onstop();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMMDLG_H__20A30641_9AE1_4283_9357_199BC6ABC0A5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -