#ifndef DATAPARSING_H #define DATAPARSING_H #include #include #include #include #include #include #include #include #include #include //通道组数据格式 typedef struct { QString Channelid; QString ChannelType; QMap> mapNametoData; }GroupData; class DataParsing : public QObject { Q_OBJECT public: explicit DataParsing(QObject *parent = nullptr); ~DataParsing(); void SetChannelSetting(const QString& str); QVector & getFeatureData(); signals: private: QJsonObject mJsonChannelSetting; QVector m_groupdata; //通道组数据 }; #endif // DATAPARSING_H