61 lines
1.4 KiB
C
61 lines
1.4 KiB
C
|
|
// Sys.h : main header file for the SYS application
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
#if !defined(AFX_SYS_H__D485DEFD_85AB_11D1_B878_A68EB300DD63__INCLUDED_)
|
|||
|
|
#define AFX_SYS_H__D485DEFD_85AB_11D1_B878_A68EB300DD63__INCLUDED_
|
|||
|
|
|
|||
|
|
#if _MSC_VER > 1000
|
|||
|
|
#pragma once
|
|||
|
|
#endif // _MSC_VER > 1000
|
|||
|
|
|
|||
|
|
#ifndef __AFXWIN_H__
|
|||
|
|
#error include 'stdafx.h' before including this file for PCH
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#include "resource.h" // main symbols
|
|||
|
|
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
// CSysApp:
|
|||
|
|
// See Sys.cpp for the implementation of this class
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
class CSysApp : public CWinApp
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
HANDLE m_hDevice;
|
|||
|
|
CSysApp();
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
CMultiDocTemplate* pIOTemplate;
|
|||
|
|
HANDLE m_hMutex;
|
|||
|
|
public:
|
|||
|
|
int m_CurrentDeviceID; // <20><>¼<EFBFBD><C2BC>ǰ<EFBFBD>豸ID<49><44>
|
|||
|
|
public:
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
// Overrides
|
|||
|
|
// ClassWizard generated virtual function overrides
|
|||
|
|
//{{AFX_VIRTUAL(CSysApp)
|
|||
|
|
public:
|
|||
|
|
virtual BOOL InitInstance();
|
|||
|
|
virtual int ExitInstance();
|
|||
|
|
//}}AFX_VIRTUAL
|
|||
|
|
|
|||
|
|
// Implementation
|
|||
|
|
//{{AFX_MSG(CSysApp)
|
|||
|
|
afx_msg void OnAppAbout();
|
|||
|
|
afx_msg void OnOpenDIO();
|
|||
|
|
afx_msg void OnUpdateOpenDIO(CCmdUI* pCmdUI);
|
|||
|
|
//}}AFX_MSG
|
|||
|
|
DECLARE_MESSAGE_MAP()
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
extern LONG ReadSizeWords; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
|
|||
|
|
//{{AFX_INSERT_LOCATION}}
|
|||
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|||
|
|
|
|||
|
|
#endif // !defined(AFX_SYS_H__D485DEFD_85AB_11D1_B878_A68EB300DD63__INCLUDED_)
|