OAM.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:2k
- // OAM.h : main header file for the OAM application
- //
- #if !defined(AFX_OAM_H__E12E6A47_1CE4_11D3_BACD_12345600558E__INCLUDED_)
- #define AFX_OAM_H__E12E6A47_1CE4_11D3_BACD_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- //#include "msg.h"
- //#include "Link.h"
- //#include "Public.h"
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #define SM
- #define PACKETMSG (WM_USER+1)
- #define WM_DOREALIZE (WM_USER + 2)
- #define OPERATE_REPORT 0
- #define STRICT_OPERATE_REPORT 5
- #define CONNECT_ALM 6 //Link_Alm for No.7 Desk
- #define LINK_ALM 3
- #define SYSTEM_ALM 1
- #define PARTS_ALM 2
- #define TIMER_ID 1
- #define LAMP_ID 2
- #define RECONNECT_ID 3
- #define TEST_ID 4
- #include "resource.h" // main symbols
- void gettime(CString & strTime);
- //LPBYTE SendLetter(CLink * pLink,LPBYTE pLetter, int nLength,BOOL bIPack);
- /////////////////////////////////////////////////////////////////////////////
- // COAMApp:
- // See OAM.cpp for the implementation of this class
- //
- class COAMApp : public CWinApp
- {
- public:
- HANDLE m_hSingleInstance;
- // BOOL IsOnlyInstance();
- // virtual BOOL PreTranslateMessage(MSG* pMsg);
- COAMApp();
- _ConnectionPtr m_pConnection; /*和数据库表相关*/
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COAMApp)
- public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(COAMApp)
- afx_msg void OnAppAbout();
- // afx_msg void OnLoadDrv();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- // void ShowTipAtStartup(void);
- private:
- // void ShowTipOfTheDay(void);
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_OAM_H__E12E6A47_1CE4_11D3_BACD_12345600558E__INCLUDED_)