bcrt v1
This commit is contained in:
46
bcmil.h
Normal file
46
bcmil.h
Normal file
@@ -0,0 +1,46 @@
|
||||
#ifndef BCMIL_H
|
||||
#define BCMIL_H
|
||||
|
||||
#include "declarations.h"
|
||||
#include "WDMTMKv2.h"
|
||||
|
||||
class MIL: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
MIL(int dev_index);
|
||||
~MIL(void);
|
||||
|
||||
int WaitInt(TMK_DATA wCtrlCode);
|
||||
void closeAll();
|
||||
void closeAllrt();
|
||||
bool GetEvent(TTmkEventData *pEv, unsigned short Timeout);
|
||||
|
||||
protected:
|
||||
|
||||
int m_TmkIndex;
|
||||
HANDLE m_hEvent;
|
||||
};
|
||||
|
||||
class BC_MIL: public MIL
|
||||
{
|
||||
public:
|
||||
|
||||
BC_MIL(int dev_index);
|
||||
~BC_MIL(void);
|
||||
};
|
||||
|
||||
class RT_MIL: public MIL
|
||||
{
|
||||
public:
|
||||
|
||||
RT_MIL(int dev_indexi, unsigned short Addr);
|
||||
~RT_MIL(void);
|
||||
|
||||
protected:
|
||||
|
||||
unsigned short m_Addr;
|
||||
};
|
||||
|
||||
#endif // BCMIL_H
|
Reference in New Issue
Block a user