fixed bc mode v2
This commit is contained in:
54
bcmil.h
54
bcmil.h
@@ -3,54 +3,6 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
//*******************
|
||||
//#include "WDMTMKv2.h"
|
||||
//#include "windows.h"
|
||||
//*******************
|
||||
/*typedef struct
|
||||
{
|
||||
int nInt;
|
||||
unsigned short wMode;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
unsigned short wResult;
|
||||
unsigned short wAW1;
|
||||
unsigned short wAW2;
|
||||
} bc;
|
||||
struct
|
||||
{
|
||||
unsigned short wBase;
|
||||
unsigned short wResultX;
|
||||
} bcx;
|
||||
struct
|
||||
{
|
||||
unsigned short wStatus;
|
||||
unsigned short wCmd;
|
||||
} rt;
|
||||
struct
|
||||
{
|
||||
unsigned short wBase;
|
||||
unsigned short wResultX;
|
||||
} mt;
|
||||
struct
|
||||
{
|
||||
unsigned short wStatus;
|
||||
} mrt;
|
||||
struct
|
||||
{
|
||||
unsigned short wRequest;
|
||||
// DWORD dwTimer;
|
||||
} tmk;
|
||||
struct
|
||||
{
|
||||
unsigned short wData1;
|
||||
unsigned short wData2;
|
||||
} raw;
|
||||
};
|
||||
} TTmkEventData1;*/
|
||||
|
||||
#define TMK_DATA unsigned short
|
||||
typedef void *HANDLE;
|
||||
|
||||
@@ -67,12 +19,8 @@ public:
|
||||
//int WaitInt(TMK_DATA wCtrlCode);
|
||||
//void closeAll();
|
||||
void closeAllrt();
|
||||
//bool GetEvent(TTmkEventData1 *pEv, unsigned short Timeout);
|
||||
|
||||
protected:
|
||||
|
||||
bool GetEvent(unsigned short Timeout);
|
||||
int m_TmkIndex;
|
||||
//HANDLE m_hEvent;
|
||||
};
|
||||
|
||||
/*class BC_MIL:public MIL
|
||||
|
Reference in New Issue
Block a user