- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__E12E6A49_1CE4_11D3_BACD_12345600558E__INCLUDED_)
- #define AFX_STDAFX_H__E12E6A49_1CE4_11D3_BACD_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- #define AFX_IDW_SIZEBAR_LEFT AFX_IDW_DOCKBAR_LEFT + 4
- #define AFX_IDW_SIZEBAR_RIGHT AFX_IDW_DOCKBAR_RIGHT + 5
- #define AFX_IDW_SIZEBAR_TOP AFX_IDW_DOCKBAR_TOP + 6
- #define AFX_IDW_SIZEBAR_BOTTOM AFX_IDW_DOCKBAR_BOTTOM + 7
- #define safe_delete(p){if(p){delete p;p=NULL;}}
- #include <afxtempl.h>
- #include <afxpriv.h>
- #include <afxcview.h>
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdisp.h> // MFC Automation classes
- //#ifndef _AFX_NO_DB_SUPPORT
- //#include <afxdb.h> // MFC ODBC database classes
- //#endif // _AFX_NO_DB_SUPPORT
- //#ifndef _AFX_NO_DAO_SUPPORT
- //#include <afxdao.h> // MFC DAO database classes
- //#endif // _AFX_NO_DAO_SUPPORT
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
- #include <afxsock.h> // MFC socket extensions
- //#include <mgmtapi.h>
- #include "menubar.h"
- #include "coolmenu.h"
- #include "DibList.h"
- #include "AdressComboBox.h"
- #include "GlobalVariable.h"
- #include "memDC.h"
- #include "Cool3DWndManager.h"
- #include "AutoScrollView.h"
- #include <MMSystem.h>
- #define ID_MAIN_VIEW 201
- /*#define ID_STATION_VIEW 202
- #define ID_STATISTICS_VIEW 203
- #define ID_DLERSU_VIEW 204
- #define ID_BOARD_VIEW 205
- */
- class CViewMgrItem:public CObject
- {
- public:
- CViewMgrItem()
- {
- // m_pCompenentFormer = NULL;
- m_nView = ID_MAIN_VIEW;
- m_nLocate = 0;
- m_nLayer = 0;
- m_nFrame = 0;
- m_nModule = 0;
- m_nStatus = 0;
- m_nStyle = 0;
- m_nNo = 0;
- m_nMachineStyle = 0;
- m_strStationName = _T("");
- m_strName = _T("");
- m_strFullPath = _T("");
- };
- ~CViewMgrItem(){};
- const CViewMgrItem& operator=( const CViewMgrItem& a )
- {
- m_nView = a.m_nView;
- m_nLocate = a.m_nLocate;
- m_nLayer = a.m_nLayer;
- m_nFrame = a.m_nFrame;
- m_nModule = a.m_nModule;
- m_nStatus = a.m_nStatus;
- m_strName = a.m_strName;
- m_strStationName = a.m_strStationName;
- m_nStyle = a.m_nStyle;
- m_nNo = a.m_nNo;
- m_nMachineStyle = a.m_nMachineStyle;
- m_strFullPath = a.m_strFullPath;
- return *this;
- }
- int m_nLocate;
- int m_nLayer;
- int m_nFrame;
- int m_nModule;
- int m_nStatus;
- int m_nStyle;
- int m_nNo;
- int m_nMachineStyle;
- CString m_strName;
- CString m_strStationName;
- CString m_strFullPath;
- // CCompenentFormer * m_pCompenentFormer;
- UINT m_nView;
- };
- typedef CTypedPtrArray <CObArray, CViewMgrItem*> CViewMgrArray;
- // CG: The following line was added by the Windows Multimedia component. #pragma comment(lib, "winmm.lib")
- #import "c:program filescommon filessystemadomsado15.dll" no_namespace rename("EOF","adoEOF") /*数据库相关*/
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__E12E6A49_1CE4_11D3_BACD_12345600558E__INCLUDED_)