📄 demo_01doc.h
字号:
// Demo_01Doc.h : interface of the CDemo_01Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEMO_01DOC_H__E556A82A_B306_4898_943C_32732694BCF6__INCLUDED_)
#define AFX_DEMO_01DOC_H__E556A82A_B306_4898_943C_32732694BCF6__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CDemo_01View; // Demo_01 define
class CDemo_01Doc : public CDocument
{
protected: // create from serialization only
CDemo_01Doc();
DECLARE_DYNCREATE(CDemo_01Doc)
// Attributes
public:
// Operations
public:
//-------------- Demo_01 Define ----------------
BOOL m_bTimerKill;
CWinThread *m_pTimerThread;
THREAD_INFO m_TimerThreadInfo;
BOOL m_bTCPKill;
CWinThread *m_pTCPThread;
THREAD_INFO m_TCPThreadInfo;
BOOL m_bRS232Kill;
CWinThread *m_pRS232Thread;
THREAD_INFO m_RS232ThreadInfo;
CDemo_01View* pDemoView;
void SetDemoView(CDemo_01View* pView) { pDemoView = pView; }
void DisplayItem(int row, int itemno, CString msg);
//-------------- end of define --------------
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemo_01Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDemo_01Doc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDemo_01Doc)
afx_msg void OnComport();
afx_msg void OnTcpip();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMO_01DOC_H__E556A82A_B306_4898_943C_32732694BCF6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -