fixed bc mode v2

This commit is contained in:
2025-08-29 14:02:18 +03:00
parent 603fec6fc3
commit 7ef4616a00
4 changed files with 103 additions and 212 deletions

54
bcmil.h
View File

@@ -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