You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include <QtGlobal>
|
|
#include <QList>
|
|
|
|
#include "LowLevel/Utils/Utils.h"
|
|
|
|
/***********************************************************************************************/
|
|
struct hiruSettings_t
|
|
{
|
|
recorderStart recordStard;
|
|
recorderMode recordMode;
|
|
quint32 recordChannel;
|
|
quint32 threshold = 0;
|
|
quint32 timeout = 1000;
|
|
quint32 count = 5;
|
|
};
|
|
|
|
/***********************************************************************************************/
|
|
struct hsruSettings_t
|
|
{
|
|
bool isReal = true;
|
|
quint32 honaInt123CTHR = 128;
|
|
quint32 honaRes123CTHR = 128;
|
|
quint32 honaIntSTHR = 20;
|
|
quint32 honaResSTHR = 20;
|
|
quint32 honaSPTHR = 20; //mode4
|
|
quint32 intM4_THR = 20; //mode4
|
|
quint32 resM4_THR = 20; //mode4
|
|
};
|
|
|
|
/***********************************************************************************************/
|
|
struct HonaSettings
|
|
{
|
|
hiruSettings_t hiruSettings;
|
|
hsruSettings_t hsruSettings;
|
|
};
|
|
|
|
/***********************************************************************************************/
|
|
|
|
#endif //SETTING_H
|
|
|