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

📄 comfile.h

📁 modbus通讯
💻 H
字号:
// ComFile.h: interface for the CComFile class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMFILE_H__62917CA7_15BB_4FEC_97F3_87847773CB99__INCLUDED_)
#define AFX_COMFILE_H__62917CA7_15BB_4FEC_97F3_87847773CB99__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/*
 *	COM文件信息
 */
struct strComInfo {
	CString strComNumber;
	int     nDataBits;
	int     ntimes;
	int     nOverTime;
	CString strStopBits;
	int     nPersScond;
	CString  strParity;
	CString strFormats;
};

class CComFile  
{
public:
	BOOL openComFile();
	CString m_strFileName;
	CComFile();
	virtual ~CComFile();

public:
	void WriteComInfo(strComInfo info);
	strComInfo m_strCom;
	strComInfo getComInfo();
};

#endif // !defined(AFX_COMFILE_H__62917CA7_15BB_4FEC_97F3_87847773CB99__INCLUDED_)

⌨️ 快捷键说明

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