📄 cl2005ocx.h
字号:
#if !defined(AFX_CL2005OCX_H__F960B9A0_9A46_4CE7_B225_719BBB611B99__INCLUDED_)
#define AFX_CL2005OCX_H__F960B9A0_9A46_4CE7_B225_719BBB611B99__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.
/////////////////////////////////////////////////////////////////////////////
// CCL2005Ocx wrapper class
class CCL2005Ocx : public CWnd
{
protected:
DECLARE_DYNCREATE(CCL2005Ocx)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x50c0ecac, 0xcf72, 0x4e79, { 0xb4, 0x4f, 0xf, 0xa3, 0xc9, 0xab, 0x0, 0x56 } };
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:
// Operations
public:
BOOL ComInitial(short ComPort, long BaudRate, short WaitTime);
BOOL ModemInitial(short ModemPort, short WaitTime);
BOOL NetInitial(long RemoteIP, short ClientServerMode, short WaitTime);
void CloseCL2005();
BOOL SendModemCmd(long lpCmdStr, long lpRetStr);
BOOL SetLEDProperty(short CardType, short CardNum, short Width, short Height, short Color, short LockHZLibFlag);
short GetTotalPictureCount();
short GetPictureSendTimes();
BOOL CorrectTimer();
BOOL SendPicture(short PictureIndex, long lpPictureBuff);
BOOL SendPictureEx(short PictureIndex, short SendSteps, long lpPictureBuff);
BOOL SendProgList(short TotalProgCount, long lpProgList);
BOOL SetBrightness(short Brightness);
BOOL SetPowerRelay(short OnOff);
BOOL SetAutoPower(short On_Hour, short On_Minute, short Off_Hour, short Off_Minute);
BOOL ShowString(short bank, short XPos, short YPos, short Color, long lpString);
BOOL Line(short bank, short xLeft, short yTop, short xRight, short yBottom, short Color);
BOOL SwitchToBank(short DestBank);
BOOL CopyToBank(short DestBank);
BOOL ClearBank(short DestBank);
BOOL ShowPicture(short bank, long lpPictureBuff);
BOOL ShowPictureEx(short bank, short steps, long lpPictureBuff);
BOOL SaveToPicture(short bank, short PictureIndex);
BOOL LoadPicture(short bank, short PictureIndex);
BOOL SendBrightnessTable(long lpBrightnessTable);
BOOL SendDigitCode(long lpDigitCode);
BOOL LYNotPublishedFunction(short FuncIndex, short ByteCount, long lpDataBuff);
BOOL InsertlyPlay(long lpProg, long lpPict);
BOOL SendTextToPicture(short PictIndex, long lpString);
BOOL Reset();
BOOL GetDataPackage(long lp16BitsBuff);
BOOL ComPrint(short YPos, short XPos, long lpStr);
BOOL SetProxyInfo(long ServerIP, long Port, long lpUsername, long lpPassword);
long NewFunction(short FuncIndex, long Para);
BOOL GetRunState(long lp40Bytes);
BOOL SetScaleToCard(short Width, short Height, short Color);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CL2005OCX_H__F960B9A0_9A46_4CE7_B225_719BBB611B99__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -