47 lines
628 B
C++
47 lines
628 B
C++
#ifndef BCMIL_H
|
|
#define BCMIL_H
|
|
|
|
#include <QObject>
|
|
|
|
#define TMK_DATA unsigned short
|
|
typedef void *HANDLE;
|
|
|
|
//class BC_MIL;
|
|
//class RT_MIL;
|
|
class MIL:public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
MIL(int dev_index);
|
|
~MIL();
|
|
|
|
//int WaitInt(TMK_DATA wCtrlCode);
|
|
//void closeAll();
|
|
void closeAllrt();
|
|
bool GetEvent(unsigned short Timeout);
|
|
int m_TmkIndex;
|
|
};
|
|
|
|
/*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();
|
|
|
|
protected:
|
|
|
|
unsigned short m_Addr;
|
|
};
|
|
|
|
#endif // BCMIL_H
|