📄 mdf.h
字号:
// MDF.h : main header file for the MDF application
//
#if !defined(AFX_MDF_H__254B4DBC_4F2C_4354_9187_C45106FE7B24__INCLUDED_)
#define AFX_MDF_H__254B4DBC_4F2C_4354_9187_C45106FE7B24__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
#include "AdoDB.h" // Added by ClassView
#include "MDFDlg.h"
//#include "Media.h"
#include "MDF_i.h"
#include "monitor.h"
//#include "rightform.h"
/////////////////////////////////////////////////////////////////////////////
// CMDFApp:
// See MDF.cpp for the implementation of this class
//
//##ModelId=465286A1038A
class CMDFApp : public CWinApp
{
public:
//##ModelId=465286A103AB
BOOL WriteTxtLog(CString strTxt);
//##ModelId=465286A103CA
BOOL m_bRefresh;
//##ModelId=465286A103D8
BOOL m_bReStart ;
//##ModelId=465286A103D9
BOOL m_bTest ;
//##ModelId=465286A103DA
HANDLE m_hTxt ;
//##ModelId=465286A20000
CString m_strPath;
//CStringArray m_strDBArray ;
//##ModelId=465286A20001
CList<CString , CString> m_strDBArray ;
//##ModelId=465286A20021
int ReStart();
//##ModelId=465286A2002E
int Refresh();
//##ModelId=465286A2003F
CString m_strTip;
//##ModelId=465286A20040
int Show(CString strTip);
//##ModelId=465286A2004E
int ReadINI(CString& strSys);
//##ModelId=465286A2006D
int WriteINI(CString strSys);
//##ModelId=465286A2007E
CAdoDB *m_pAdoDB ;
//##ModelId=44B6F8850313
//CComm *m_pComm ;
//##ModelId=44B6F885031D
//CMedia *m_pMedia ;
//##ModelId=465286A20082
HANDLE m_hRefresh ;
//##ModelId=465286A2008C
CMDFApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMDFApp)
public:
//##ModelId=465286A2008D
virtual BOOL InitInstance();
//##ModelId=465286A2009C
virtual int ExitInstance();
//##ModelId=465286A200AC
CString m_strIp ;
//##ModelId=465286A200AD
CString m_strUserId ;
//##ModelId=465286A200BB
CString m_strPassWord ;
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CMDFApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
//##ModelId=465286A200BC
BOOL m_bTOMsg ;
//##ModelId=465286A200CB
BOOL m_bTOVoice ;
//##ModelId=465286A200CC
BOOL m_bTOScan ;
//##ModelId=465286A200DA
BOOL m_bTOConnect ;
private:
public:
// 系统基本配置信息
//##ModelId=465286A200EB
CBaseInfo m_Baseinfo;
// 输出函数
//##ModelId=465286A200EF
int OutPut(CString sNote);
// 监测主进程
//##ModelId=465286A200FC
CMonitor *m_pMonitor;
//##ModelId=465286A20101
CMDFDlg *dlgServer;
// 初始化基本配置信息
//##ModelId=465286A2010C
int IniBaseInfo(CBaseInfo & m_Info);
// 重新起动监测服务
//##ModelId=465286A20119
BOOL RestartMonitoring(void);
//##ModelId=465286A2011B
afx_msg void OnCmStop();
// 起动监测服务
//##ModelId=465286A20129
BOOL StartMonitoring(void);
// 停止监测服务
//##ModelId=465286A2012B
BOOL StopMonitoring(void);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MDF_H__254B4DBC_4F2C_4354_9187_C45106FE7B24__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -