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

📄 motog18.h

📁 广宇GPS系统
💻 H
字号:
#if !defined(AFX_MOTOG18_H__558CDB6D_E29D_4EBA_B355_827C7EDC688B__INCLUDED_)
#define AFX_MOTOG18_H__558CDB6D_E29D_4EBA_B355_827C7EDC688B__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.

/////////////////////////////////////////////////////////////////////////////
// CMotoG18 wrapper class

class CMotoG18 : public CWnd
{
protected:
	DECLARE_DYNCREATE(CMotoG18)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x480b3005, 0x32e2, 0x406e, { 0x91, 0x72, 0xc3, 0x3e, 0x15, 0xaf, 0x6b, 0xcc } };
		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 GetCommPort();
	void SetCommPort(short);
	CString GetSettings();
	void SetSettings(LPCTSTR);
	short GetSendTimeOut();
	void SetSendTimeOut(short);
	BOOL GetAutoRecv();
	void SetAutoRecv(BOOL);
	short GetModuleType();
	void SetModuleType(short);
	BOOL GetRClickMenuType();
	void SetRClickMenuType(BOOL);

// Operations
public:
	short OpenComm();
	short CloseComm();
	short CheckModule(short nTryTimes, short nTimeOut);
	short SendSms(LPCTSTR MobileNo, LPCTSTR SmsContent, short nTryTimes);
	short CheckCommIsOpen();
	CString GetSimCenterNo(short nTryTimes, short nTimeOut);
	short SetSimCenterNo(LPCTSTR CenterNo);
	short InitModule();
	CString GetManufactureId(short nTryTimes, short nTimeOut);
	CString GetModuleId(short nTryTimes, short nTimeOut);
	CString GetRevisionId(short nTryTimes, short nTimeOut);
	CString GetProductSerialNumberId(short nTryTimes, short nTimeOut);
	CString GetIMSI(short nTryTimes, short nTimeOut);
	short GetSignalQuality(short nTryTimes, short nTimeOut);
	short DeleteSms(short index);
	short ReadMsg(short nIndex, short nTryTimes, short nTimeOut);
	CString GetLastReadMsg();
	CString GetLastReadSender();
	DATE GetLastReadDate();
	CString GetSubscriberNumber(short nTryTimes, short nTimeOut);
	short TurnsOffCommandEcho(short nTryTimes, short nTimeOut);
	short ResetAutoRecv(short nTryTimes, short nTimeOut);
	short SetModuleBaudRate(long nBaudRate);
	short SetMessageFormat(short nFormat);
	short GetMessageFormat();
	short OpenMessage(short nType);
	short GetMessageCount(short nType);
	short GetLastReadSimIndex();
	short GetMessage(short nIndex);
	short GetLastReadSmsType();
	short WriteMessage(LPCTSTR MobileNo, LPCTSTR SmsContent);
	short SendMessageFromStorage(short nIndex, LPCTSTR MobileNo);
	short HangUpPhone(short nTryTimes, short nTimeOut);
	short CheckPin(short nTryTimes, short nTimeOut);
	void AboutBox();
};

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

#endif // !defined(AFX_MOTOG18_H__558CDB6D_E29D_4EBA_B355_827C7EDC688B__INCLUDED_)

⌨️ 快捷键说明

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