⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mbtcp_evc_demodlg.h

📁 wince环境下的一个EVC的modbus协议通讯的例子程序
💻 H
字号:
// MBTCP_eVC_demoDlg.h : header file
//

#if !defined(AFX_MBTCP_EVC_DEMODLG_H__1F14656A_3D16_40EF_9A2F_8FB5EE880E28__INCLUDED_)
#define AFX_MBTCP_EVC_DEMODLG_H__1F14656A_3D16_40EF_9A2F_8FB5EE880E28__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CMBTCP_eVC_demoDlg dialog

class CMBTCP_eVC_demoDlg : public CDialog
{
// Construction
public:
	CMBTCP_eVC_demoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMBTCP_eVC_demoDlg)
	enum { IDD = IDD_MBTCP_EVC_DEMO_DIALOG };
	CString	m_ip;
	int		m_port;
	int		m_rcoilfrom;
	CString	m_rcoilr;
	int		m_rcoilto;
	int		m_rregsfrom;
	CString	m_rregsr;
	int		m_rregsto;
	int		m_wcoil;
	int		m_wcoils;
	int		m_wreg;
	int		m_wregv;
	int		m_com;
	int		m_databit;
	int		m_parity;
	int		m_baud;
	int		m_stopbit;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMBTCP_eVC_demoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
	BOOL m_check;
	BOOL m_check2;
	BOOL m_which;
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMBTCP_eVC_demoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnCreate();
	afx_msg void OnClose();
	afx_msg void OnRcoilb();
	afx_msg void OnRregsb();
	afx_msg void OnWcoilb();
	afx_msg void OnWregb();
	afx_msg void OnMbrturadio();
	afx_msg void OnMbtcpradio();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MBTCP_EVC_DEMODLG_H__1F14656A_3D16_40EF_9A2F_8FB5EE880E28__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -