add header file
This commit is contained in:
parent
38b316018e
commit
8a7db4cd7d
23
data_config.h
Normal file
23
data_config.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#ifndef DATA_CONFIG_H
|
||||||
|
#define DATA_CONFIG_H
|
||||||
|
#include <QString>
|
||||||
|
#include <QPushButton>
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int slot;
|
||||||
|
int slot_type;
|
||||||
|
QString chan_display;
|
||||||
|
QString rack_type;
|
||||||
|
QPushButton* slot_btn;
|
||||||
|
}SlotConfig;
|
||||||
|
|
||||||
|
|
||||||
|
enum SlotType{
|
||||||
|
POWER = 10,
|
||||||
|
CONFIG = 20,
|
||||||
|
KEYPHASOR = 25,
|
||||||
|
RELAY = 30,
|
||||||
|
VIBRATE = 40,
|
||||||
|
RPM = 50
|
||||||
|
};
|
||||||
|
#endif // DATA_CONFIG_H
|
Loading…
x
Reference in New Issue
Block a user