26 lines
298 B
C++
26 lines
298 B
C++
#ifndef PROCESS_H
|
|
#define PROCESS_H
|
|
|
|
#include <QObject>
|
|
|
|
#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
|