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

📄 gpssc.h

📁 用VC写的监控中心后台程序。 代码全
💻 H
字号:
// GpsSC.h : main header file for the GPSSC application
//

#if !defined(AFX_GPSSC_H__58804DE5_631B_11D8_B346_0060975FFAEE__INCLUDED_)
#define AFX_GPSSC_H__58804DE5_631B_11D8_B346_0060975FFAEE__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 "SMdata.h"
/////////////////////////////////////////////////////////////////////////////
// CGpsSCApp:
// See GpsSC.cpp for the implementation of this class
//

struct ChangeNormal
{
	double a11,a12;
	double a21,a22;
	double dx,dy;
};



struct ChangeTriangle
{
	double x1,y1,x2,y2,x3,y3;
};

extern	CString	str_GetTreeItemText;		//全局变量获取树形控件子项)

class CGpsSCApp : public CWinApp
{
public:
	
	CGpsSCApp();
	
	//短消息中心号码
	CString				m_sSMNum;
	//中心电话号码

private :
	CString				strPassWord;
	BOOL				password;
	CString				m_strCurrPath;

public:
	CString				GetCDiskID();
	CString				GetMyPath();
	void				WriteFile(CString Info);
	CString				ReadFile();
	CString				DealcArrTo8(CString strArr4);
	bool				RegiesterNow(char szBuff[]);
	virtual BOOL		PreTranslateMessage(MSG* pMsg);
	BOOL				CreatePassWordDlg();
	CString				GetProjectInDir();
	CString				GetPassWord(const CString strpassderectory);
	void				SetFileReadOnly(CString FileName,bool ReadOnly);
	long				IsFileExist(CString FileName);
	void				SaveLog();			//保存日志
	void				ReadLog();			//读日志
	void				SetFileStatus(CString FileName,bool ReadOnly);	//设置文件属性ic:

public:
	CString				m_strLoginUser;
	CString				m_strPort;
	CString				m_strDataBits;
	CString				m_strBaud;
	int					m_nParity;
	int					m_nStopBit;
	bool				m_bUserType;
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGpsSCApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CGpsSCApp)
	afx_msg void OnAppAbout();
	afx_msg void OnSmscnumbersetting();
	afx_msg void OnUpdateSmscnumbersetting(CCmdUI* pCmdUI);

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

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

#endif // !defined(AFX_GPSSC_H__58804DE5_631B_11D8_B346_0060975FFAEE__INCLUDED_)

⌨️ 快捷键说明

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