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

📄 set5doc.cpp

📁 一套故障诊断监测系统
💻 CPP
字号:
// Set5Doc.cpp : implementation of the CSet5Doc class
//

#include "stdafx.h"
#include "CDMS.h"

#include "Set5Doc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSet5Doc

IMPLEMENT_DYNCREATE(CSet5Doc, CDocument)

BEGIN_MESSAGE_MAP(CSet5Doc, CDocument)
	//{{AFX_MSG_MAP(CSet5Doc)
	ON_COMMAND(ID_ALARM_CLEAR, OnAlarmClear)
	ON_COMMAND(ID_ALARM_CLOSE, OnAlarmClose)
	ON_COMMAND(ID_ALARM_OPEN, OnAlarmOpen)
	ON_COMMAND(ID_ALARM_TEST, OnAlarmTest)
	ON_COMMAND(ID_CONTROL_SINGLESTART, OnControlSinglestart)
	ON_UPDATE_COMMAND_UI(ID_CONTROL_SINGLESTART, OnUpdateControlSinglestart)
	ON_COMMAND(ID_CONTROL_SINGLESTOP, OnControlSinglestop)
	ON_UPDATE_COMMAND_UI(ID_CONTROL_SINGLESTOP, OnUpdateControlSinglestop)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSet5Doc construction/destruction

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

}

CSet5Doc::~CSet5Doc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CSet5Doc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CSet5Doc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CSet5Doc commands

void CSet5Doc::OnAlarmClear() 
{
	// TODO: Add your command handler code here
	
}

void CSet5Doc::OnAlarmClose() 
{
	// TODO: Add your command handler code here
	
}

void CSet5Doc::OnAlarmOpen() 
{
	// TODO: Add your command handler code here
	
}

void CSet5Doc::OnAlarmTest() 
{
	// TODO: Add your command handler code here
	
}

void CSet5Doc::OnControlSinglestart() 
{
	// TODO: Add your command handler code here
	
}

void CSet5Doc::OnUpdateControlSinglestart(CCmdUI* pCmdUI) 
{
	// TODO: Add your command update UI handler code here
	
}

void CSet5Doc::OnControlSinglestop() 
{
	// TODO: Add your command handler code here
	
}

void CSet5Doc::OnUpdateControlSinglestop(CCmdUI* pCmdUI) 
{
	// TODO: Add your command update UI handler code here
	
}

⌨️ 快捷键说明

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