#ifndef PROCESS_H #define PROCESS_H #include #define head1 0x55 #define head2 0xAA class Process : public QObject { Q_OBJECT public: explicit Process(QObject *parent = nullptr); static QByteArray Packer(quint8 id, QByteArray msg); signals: }; #endif // PROCESS_H