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.
27 lines
477 B
27 lines
477 B
|
5 years ago
|
#ifndef SSMPROBELASTCONFIG_H
|
||
|
|
#define SSMPROBELASTCONFIG_H
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
#include <QMetaType>
|
||
|
|
|
||
|
|
#include "model/databaseManager/dto/ProbeProperties/DbmLastConfig.h"
|
||
|
|
|
||
|
|
struct SsmProbeLastConfig_t
|
||
|
|
{
|
||
|
|
quint32 id;
|
||
|
|
quint32 slot;
|
||
|
|
quint32 presetId;
|
||
|
|
quint32 folderId;
|
||
|
|
|
||
|
|
void init(DbmDtoLastConfig config)
|
||
|
|
{
|
||
|
|
id = config.Probe_id;
|
||
|
|
presetId = config.Preset_id;
|
||
|
|
folderId = config.Application_id;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
Q_DECLARE_METATYPE(SsmProbeLastConfig_t);
|
||
|
|
|
||
|
|
#endif //SSMPROBELASTCONFIG_H
|