|
|
|
#ifndef UTILS_H
|
|
|
|
#define UTILS_H
|
|
|
|
|
|
|
|
#include <QtCore>
|
|
|
|
/*************************************************************************************************/
|
|
|
|
enum apiResult : quint8
|
|
|
|
{
|
|
|
|
success,
|
|
|
|
alreadyStarted,
|
|
|
|
busy,
|
|
|
|
error
|
|
|
|
};
|
|
|
|
/*************************************************************************************************/
|
|
|
|
enum drxDeviceIfChannel : quint8
|
|
|
|
{
|
|
|
|
ifChannel11,
|
|
|
|
ifChannel12
|
|
|
|
|
|
|
|
};
|
|
|
|
/*************************************************************************************************/
|
|
|
|
enum honaReceivers : quint8
|
|
|
|
{
|
|
|
|
int123C,
|
|
|
|
intS,
|
|
|
|
resS,
|
|
|
|
int4, //Mode 4
|
|
|
|
res4, //Mode 4
|
|
|
|
signalPulse //Mode 4
|
|
|
|
};
|
|
|
|
/*************************************************************************************************/
|
|
|
|
enum recorderMode : quint8
|
|
|
|
{
|
|
|
|
signalChannel,
|
|
|
|
dualChannel
|
|
|
|
|
|
|
|
};
|
|
|
|
/*************************************************************************************************/
|
|
|
|
enum recorderStart : quint8
|
|
|
|
{
|
|
|
|
selfTestCounter= 1,
|
|
|
|
freeRunRecording = 2
|
|
|
|
};
|
|
|
|
/*************************************************************************************************/
|
|
|
|
enum honaPacketType : quint8
|
|
|
|
{
|
|
|
|
interrogationMode123C,
|
|
|
|
interrogationModeS56,
|
|
|
|
interrogationModeS112,
|
|
|
|
interrogationMode4,
|
|
|
|
|
|
|
|
responseMode123C,
|
|
|
|
responseModeS56,
|
|
|
|
responseModeS112,
|
|
|
|
|
|
|
|
responseMode4,
|
|
|
|
signalPulseMode4
|
|
|
|
|
|
|
|
};
|
|
|
|
/*************************************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // UTILS_H
|