gusucode.com > 一个用于远场涡流检测的数据采集系统的界面编程 > 一个用于远场涡流检测的数据采集系统的界面编程/vc/pulseeddyDoc.cpp

    // pulseeddyDoc.cpp : implementation of the CPulseeddyDoc class
//

#include "stdafx.h"
#include "pulseeddy.h"

#include "pulseeddySet.h"
#include "pulseeddyDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPulseeddyDoc

IMPLEMENT_DYNCREATE(CPulseeddyDoc, CDocument)

BEGIN_MESSAGE_MAP(CPulseeddyDoc, CDocument)
	//{{AFX_MSG_MAP(CPulseeddyDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CPulseeddyDoc construction/destruction

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

}

CPulseeddyDoc::~CPulseeddyDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CPulseeddyDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CPulseeddyDoc commands