GpsSC.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
- // 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_)