98 lines
3.5 KiB
C++
98 lines
3.5 KiB
C++
#if !defined(AFX_MELFARXM_H__12324320_EA77_11D6_8B48_000476CE2BDA__INCLUDED_)
|
|
#define AFX_MELFARXM_H__12324320_EA77_11D6_8B48_000476CE2BDA__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.
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CMelfaRxM wrapper class
|
|
|
|
class CMelfaRxM : public CWnd
|
|
{
|
|
|
|
protected:
|
|
DECLARE_DYNCREATE(CMelfaRxM)
|
|
public:
|
|
CLSID const& GetClsid()
|
|
{
|
|
static CLSID const clsid
|
|
= { 0x1e9aebc8, 0x891b, 0x11d6, { 0x86, 0x61, 0x0, 0xd0, 0x59, 0x15, 0xf0, 0x9 } };
|
|
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:
|
|
|
|
public:
|
|
long CheckRecvMsg();
|
|
long GetDataCnt(LPCTSTR Data);
|
|
long GetRecvDataM(long* RobotID, long* MsgID, BSTR* Data, long* Status, long* Error);
|
|
long GetRecvData(long* MsgID, BSTR* Data, long* Status, long* Error);
|
|
long RequestCancelM(long RobotID, long MsgID);
|
|
long RequestCancel(long MsgID);
|
|
BOOL ServerStart();
|
|
BOOL ServerKill();
|
|
long RequestServiceM(long RobotID, long MsgID, long Length, LPCTSTR Data, long Display, long Cycle, long Priority);
|
|
long RequestService(long MsgID, long Length, LPCTSTR Data, long Display, long Cycle);
|
|
long RequestService2NullM(long RobotID, long MsgID, LPCTSTR Data, long Display, long Cycle, long Priority);
|
|
long RequestService2Null(long MsgID, LPCTSTR Data, long Display, long Cycle);
|
|
BOOL ServerLive();
|
|
BOOL RoboProgramEx(BSTR* Data);
|
|
BOOL RoboMechType(BSTR* Data);
|
|
BOOL RoboControler(BSTR* Data);
|
|
BOOL RoboVersion(BSTR* Data);
|
|
BOOL RoboLanguage(BSTR* Data);
|
|
BOOL RoboSlotCnt(long* Data);
|
|
BOOL RoboErrorNo(long* Data);
|
|
BOOL RoboMechNo(long* Data);
|
|
BOOL RoboComment(BSTR* Data);
|
|
BOOL RoboCopyright(BSTR* Data);
|
|
BOOL RoboDate(BSTR* Data);
|
|
CString GetOneData(long Point, LPCTSTR Data);
|
|
BOOL ConnectRobot();
|
|
BOOL GetRoboComSetting(long* Cnt, BSTR* Data);
|
|
BOOL CheckConnectingM(long RobotID);
|
|
BOOL GetRoboErrorNoM(long RobotID, long* Data);
|
|
BOOL GetRoboParameterExM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboProgramExM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboMechTypeM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboControllerM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboDateM(long RobotID, BSTR* Data);
|
|
BOOL RoboParameterEx(BSTR* Data);
|
|
BOOL GetRoboVersionM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboLanguageM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboCopyrightM(long RobotID, BSTR* Data);
|
|
BOOL GetRoboMechNoM(long RobotID, long* Data);
|
|
BOOL GetRoboSlotCntM(long RobotID, long* Data);
|
|
BOOL GetRoboCommentM(long RobotID, BSTR* Data);
|
|
long GetOneDataCPP(long Point, LPCTSTR Data, BSTR* Onedata);
|
|
long GetOneDataBCP(long Point, BSTR* Data, BSTR* Onedata);
|
|
void AboutBox();
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_MELFARXM_H__12324320_EA77_11D6_8B48_000476CE2BDA__INCLUDED_)
|