37 lines
599 B
C
37 lines
599 B
C
|
#ifndef VELOCITY_H
|
||
|
#define VELOCITY_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include "data_config.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class Velocity;
|
||
|
}
|
||
|
|
||
|
class Velocity : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit Velocity(int slot_no_,int channel_,bool active,QWidget *parent = nullptr);
|
||
|
~Velocity();
|
||
|
int slot_no;
|
||
|
int channel;
|
||
|
|
||
|
private slots:
|
||
|
void on_pushButton_confirm_clicked();
|
||
|
|
||
|
private:
|
||
|
Ui::Velocity *ui;
|
||
|
|
||
|
Filter filter[3];
|
||
|
Dealy delay;
|
||
|
Variables variables[4];
|
||
|
Alert_Variables alert_variables;
|
||
|
|
||
|
void readJsonFile(const QString &filePath);
|
||
|
void Init();
|
||
|
};
|
||
|
|
||
|
#endif // VELOCITY_H
|