📄 master104_demodlg.h
字号:
// Master104_DemoDlg.h : header file
//
#if !defined(AFX_MASTER104_DEMODLG_H__8FA9ABFB_0E93_4010_96D4_964290767F49__INCLUDED_)
#define AFX_MASTER104_DEMODLG_H__8FA9ABFB_0E93_4010_96D4_964290767F49__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMaster104_DemoDlg dialog
class CMaster104real;
class CMaster104_DemoDlg : public CDialog
{
// Construction
public:
char serverIP[32];
CMaster104_DemoDlg(CWnd* pParent = NULL); // standard constructor
CMaster104real * real;
// Dialog Data
//{{AFX_DATA(CMaster104_DemoDlg)
enum { IDD = IDD_MASTER104_DEMO_DIALOG };
CIPAddressCtrl m_ip;
CListBox m_list;
BOOL m_conn;
BOOL m_start;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMaster104_DemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void SendMsg(BYTE *txbuf,int txlen);
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMaster104_DemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBUTTONstart();
afx_msg void OnBUTTONstop();
afx_msg void OnBUTTONreqcall();
afx_msg void OnBUTTONreqcallgrp1();
afx_msg void OnBUTTONreadfunc();
afx_msg void OnBUTTONcontrolselect();
afx_msg void OnBUTTONcontroloperate();
afx_msg void OnBUTTONcontroldeact();
afx_msg void OnBUTTONitfreeze();
afx_msg void OnBUTTONitreqcall();
afx_msg void OnBUTTONitreqcallgrp1();
afx_msg void OnBUTTONresetproc();
afx_msg void OnBUTTONresetdata();
afx_msg void OnBUTTONtest();
afx_msg void OnBUTTONsetMENA();
afx_msg void OnBUTTONsetpMENA();
afx_msg void OnBUTTONsyncolock();
afx_msg void OnBUTTONUstart();
afx_msg void OnBUTTONUstop();
afx_msg void OnBUTTONconnect();
afx_msg void OnBUTTONdisconn();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MASTER104_DEMODLG_H__8FA9ABFB_0E93_4010_96D4_964290767F49__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -