⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainthread.h

📁 PDA通讯网关服务器源码程序
💻 H
字号:
#if !defined(AFX_MAINTHREAD_H__0BF0DCE0_5A9D_4BBB_B029_17FB4118126D__INCLUDED_)
#define AFX_MAINTHREAD_H__0BF0DCE0_5A9D_4BBB_B029_17FB4118126D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MainThread.h : header file
//



#include "GateAgentDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CGateAgentDlg dialog


/////////////////////////////////////////////////////////////////////////////
// CMainThread thread

class CMainThread : public CWinThread
{
	DECLARE_DYNCREATE(CMainThread)
protected:
	CMainThread();           // protected constructor used by dynamic creation

// Attributes
public:
	class CGateAgentDlg *m_pDlg;
	int m_iSendNum;
	int m_iReadTime;//轮询接收时间
	int m_iSendTime;//轮询发送时间

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainThread)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	virtual int Run();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CMainThread();

	// Generated message map functions
	//{{AFX_MSG(CMainThread)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	int OnDoSendThread();
	int OnReadCgf();
	int OnRecvNewSms();
	int OnStartDoWithThread(int iCom,char *chTPA,char *chTP_UD,char *chTP_SCTS);

};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINTHREAD_H__0BF0DCE0_5A9D_4BBB_B029_17FB4118126D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -