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

📄 gprs_control.h

📁 GPRS协议解析示例。该示例演示里使用GPRS控件实现客户端程序向车载GPS终端发送点名、监听等指令
💻 H
字号:
#if !defined(AFX_GPRS_CONTROL_H__AB0AF447_F383_4598_92FA_2C4AF10800B2__INCLUDED_)
#define AFX_GPRS_CONTROL_H__AB0AF447_F383_4598_92FA_2C4AF10800B2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CGPRS_control wrapper class

class CGPRS_control : public CWnd
{
protected:
	DECLARE_DYNCREATE(CGPRS_control)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x8eec83ac, 0xe35, 0x4c86, { 0xa1, 0xb1, 0x95, 0xed, 0x2e, 0xe8, 0x38, 0x3e } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	short GetReceport();
	void SetReceport(short);

// Operations
public:
	BOOL Initial(short portnum);
	BOOL SetOrientUploadInterval(VARIANT* vOrientUploadInterval);
	BOOL SetIndicatorLightStatus(VARIANT* vIndicatorLightStatus);
	BOOL DownShortMessage(VARIANT* vDownShortMessage);
	BOOL ReviseFixedShortMessage(VARIANT* vFixedShortMessage);
	BOOL SetIPAddress(VARIANT* vIPAddress);
	BOOL SetVehicleID(VARIANT* vVehicleID);
	BOOL DownloadRailPosition(VARIANT* vDownloadRailPosition);
	BOOL SetPermitPhonenumber(VARIANT* vPermitPhonenumber);
	BOOL Calling(VARIANT* vCalling);
	BOOL RequestMonitor(VARIANT* vRequestMonitor);
	BOOL SetOverspeedAlarmbound(VARIANT* vOverspeedAlarmbound);
	BOOL SetMovingDirection(VARIANT* vMovingDirection);
	BOOL SetAutoreportControl(VARIANT* vAutoreportControl);
	BOOL SetVoiceReport(VARIANT* vVoiceReport);
	void CenterVerify(VARIANT* vCenterVerify);
	CString ProVerDateTime();
	void AboutBox();
};

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

#endif // !defined(AFX_GPRS_CONTROL_H__AB0AF447_F383_4598_92FA_2C4AF10800B2__INCLUDED_)

⌨️ 快捷键说明

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