📄 stacommu.h
字号:
#if !defined(AFX_STACOMMU_H__DB37D206_772A_473C_9E17_A47B283BE81B__INCLUDED_)
#define AFX_STACOMMU_H__DB37D206_772A_473C_9E17_A47B283BE81B__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.
/////////////////////////////////////////////////////////////////////////////
// CSTACommu wrapper class
class CSTACommu : public CWnd
{
protected:
DECLARE_DYNCREATE(CSTACommu)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x445cdac8, 0x5ff0, 0x4704, { 0xa9, 0xbf, 0x10, 0xe8, 0xe6, 0x96, 0xb3, 0xda } };
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:
CString GetComport();
void SetComport(LPCTSTR);
CString GetComspeed();
void SetComspeed(LPCTSTR);
CString GetPhonenum();
void SetPhonenum(LPCTSTR);
short GetConnecttimeout();
void SetConnecttimeout(short);
short GetTimeout1();
void SetTimeout1(short);
short GetTimeout2();
void SetTimeout2(short);
CString GetLogFilePath();
void SetLogFilePath(LPCTSTR);
short GetOneDayRetry();
void SetOneDayRetry(short);
// Operations
public:
BOOL Connect();
BOOL Close();
CString RedCurTStr();
BOOL IsConnected();
BOOL ConnectProcEnd();
BOOL ReadHisTProcEnd();
BOOL HistoryDataReady();
BOOL ReadHisT(LPCTSTR strBeginTime, LPCTSTR strEndTime);
CString ReadHisTStr(LPCTSTR strType);
BOOL ReadCurT();
BOOL CurrentDataReady();
BOOL Cmd(LPCTSTR strCmd);
BOOL ReadPastDaysT(short nPastDays);
BOOL ProcessEnd();
BOOL AdjustTime();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STACOMMU_H__DB37D206_772A_473C_9E17_A47B283BE81B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -