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.
25 lines
506 B
25 lines
506 B
4 years ago
|
#ifndef COMMANDCONTROL_H
|
||
|
#define COMMANDCONTROL_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include "model/ultrasoundModule/type/ECommandType.h"
|
||
|
|
||
|
typedef struct RecieverContent_t
|
||
|
{
|
||
|
QString reciever;
|
||
|
QList<QVariant> content;
|
||
|
}RecieverContent_t;
|
||
|
|
||
|
typedef struct CommandControl_t
|
||
|
{
|
||
|
ECommandType::eCommandType commandType;
|
||
|
RecieverContent_t recieverInfo;
|
||
|
int value;
|
||
|
int timeTag;
|
||
|
}CommandControl_t;
|
||
|
|
||
|
Q_DECLARE_METATYPE(CommandControl_t)
|
||
|
Q_DECLARE_METATYPE(QList<CommandControl_t>)
|
||
|
|
||
|
#endif //COMMANDCONTROL_H
|