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

📄 sms.h

📁 使用短信猫可以实现短信的群发
💻 H
字号:
// SMS.h : main header file for the SMS application
//

#if !defined(AFX_SMS_H__44D22E2F_A436_4CEC_BE79_5718461CDCF5__INCLUDED_)
#define AFX_SMS_H__44D22E2F_A436_4CEC_BE79_5718461CDCF5__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 "Login.h"

#include "OrderFormManager.h"

#include "UserManager.h"

#include "LogManager.h"

#include "SMSADO.h"

#ifndef COMINFO
#define COMINFO

typedef struct ComConfigInfo
{
	CString BaudRate;   //波特率
	CString ByteSize;  //字节大小
	CString Parity;     //奇偶校验
	CString StopBits; //停止位
} ComConfigInfo;

#endif




/////////////////////////////////////////////////////////////////////////////
// CSMSApp:
// See SMS.cpp for the implementation of this class
//
#include "SerialPort.h"
class CSMSApp : public CWinApp
{
public:
	CSMSApp();

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

// Implementation
	//{{AFX_MSG(CSMSApp)
	afx_msg void OnAppAbout();
		// 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()
public:
	CLogin m_login;
	HANDLE m_hMutex;
	CSMSADO m_SMSAdo;
	
	CString m_UserName; //存放用户名称
	int IsAdministrators;// 是否是管理员
	
	CString m_ServeCenterNumber;//服务中心号码
	CString m_ComPortName;//通读端口的名称
	
	ComConfigInfo m_ComConfigInfo;

	CSmsSerialPort m_SmsSerialPort;
};


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

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

#endif // !defined(AFX_SMS_H__44D22E2F_A436_4CEC_BE79_5718461CDCF5__INCLUDED_)

⌨️ 快捷键说明

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