📄 scomm.h
字号:
#if !defined(AFX_SCOMM_H__96AFEEE3_98A6_431C_8F2B_18822195B50B__INCLUDED_)
#define AFX_SCOMM_H__96AFEEE3_98A6_431C_8F2B_18822195B50B__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.
/////////////////////////////////////////////////////////////////////////////
// CSComm wrapper class
class CSComm : public CWnd
{
protected:
DECLARE_DYNCREATE(CSComm)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x24113128, 0x957f, 0x11d6, { 0x98, 0x43, 0x0, 0xe0, 0x7d, 0x50, 0x8, 0xb5 } };
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 GetPCom();
void SetPCom(short);
short GetPAddr();
void SetPAddr(short);
short GetPBData();
void SetPBData(short);
long GetPBaud();
void SetPBaud(long);
BOOL GetPConnect();
void SetPConnect(BOOL);
BOOL GetPBusy();
void SetPBusy(BOOL);
short GetPnStop();
void SetPnStop(short);
// Operations
public:
void Close();
long Open();
long MSetTime(LPCTSTR s_TimeString);
long MUpRecord(short i_Type, short i_Time);
long MAddrEdit(short i_Addr);
long MCardAdd(LPCTSTR s_CardData, short i_CardCount);
long MCardDel(LPCTSTR s_CardData, short i_CardCount);
long MUpStatus(short i_Status, short i_Time);
long MGetTime();
short MClsRecord(short i_Record);
long GetRet(long i);
void MResume();
long MSetStatus(short i_Status, LPCTSTR s_StatusData);
long GetReturn(long* Ret);
CString GetString(BSTR* GStr);
long EMSendCmd(LPCTSTR StrCmd);
long EMSendCmd1(LPCTSTR StrCmd);
long EEndTransaction();
long EremoteStop();
long ERequestStatus();
long EResumeCom();
long ERequestTran();
long ERequestPreset();
long ERequestDY();
long EAlermReset(LPCTSTR larmCode);
long EClearAllSavedTran();
long ESetBatch(long Batch);
long EAuthorizeTran();
long ESetTransaction(long Tansaction);
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCOMM_H__96AFEEE3_98A6_431C_8F2B_18822195B50B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -