#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