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

📄 test4231430doc.cpp

📁 一个EVC写的关于串口通信的例子,使用modbus协议进行通信,希望对您有所帮助.
💻 CPP
字号:
// Test4231430Doc.cpp : implementation of the CTest4231430Doc class
//

#include "stdafx.h"
#include "Test4231430.h"

#include "Test4231430Doc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CTest4231430Doc

IMPLEMENT_DYNCREATE(CTest4231430Doc, CDocument)

BEGIN_MESSAGE_MAP(CTest4231430Doc, CDocument)
	//{{AFX_MSG_MAP(CTest4231430Doc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTest4231430Doc construction/destruction

CTest4231430Doc::CTest4231430Doc()
{
	// TODO: add one-time construction code here

}

CTest4231430Doc::~CTest4231430Doc()
{
}

BOOL CTest4231430Doc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CTest4231430Doc serialization

void CTest4231430Doc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CTest4231430Doc diagnostics

#ifdef _DEBUG
void CTest4231430Doc::AssertValid() const
{
	CDocument::AssertValid();
}

void CTest4231430Doc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CTest4231430Doc commands

⌨️ 快捷键说明

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