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

📄 commparameters.h

📁 一个modbus协议的opc server
💻 H
字号:
#if !defined(AFX_COMMPARAMETERS_H__598A7320_F984_11D1_9E7B_08C003C10000__INCLUDED_)
#define AFX_COMMPARAMETERS_H__598A7320_F984_11D1_9E7B_08C003C10000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CommParameters.h : header file
//
#include "resource.h"
#include "localmodbus.h"

/////////////////////////////////////////////////////////////////////////////
// CCommParameters dialog

class CCommParameters : public CDialog
{
// Construction
public:
	BOOL SaveParameters();
//	void Connection(CConnection* pConnection);
//	CConnection* Connection();
	BOOL ShowParameters();
	void LoadCombos();
	CCommParameters(CWnd* pParent = NULL);   // standard constructor

	BOOL m_bModeNew;
    CLocalModbus *m_pLModbus;
    
// Dialog Data
	//{{AFX_DATA(CCommParameters)
	enum { IDD = IDD_MOD_LOCAL_COM_PARAM };
	CEdit	m_edtDelay;
	CButton	m_chkActive;
	CEdit	m_edtCharInterval;
	CEdit	m_edtTimeOut;
	CComboBox	m_cboByteSize;
	CComboBox	m_cboStopBits;
	CComboBox	m_cboParity;
	CComboBox	m_cboPorta;
	CComboBox	m_cboBaudRate;
	BOOL	m_bDTRDSR;
	BOOL	m_bRTSCTS;
	BOOL	m_bXONXOFF;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCommParameters)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCommParameters)
	virtual BOOL OnInitDialog();
	afx_msg void OnOkey();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COMMPARAMETERS_H__598A7320_F984_11D1_9E7B_08C003C10000__INCLUDED_)

⌨️ 快捷键说明

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