add header file

This commit is contained in:
zhangsheng 2025-02-15 11:50:15 +08:00
parent 38b316018e
commit 8a7db4cd7d

23
data_config.h Normal file
View 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