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.
22 lines
390 B
22 lines
390 B
4 years ago
|
#ifndef BHARDWAREPACKET_H
|
||
|
#define BHARDWAREPACKET_H
|
||
|
|
||
|
#include "model/hardware/service/HardwarePacket.h"
|
||
|
|
||
|
class BHardwarePacket : public HardwarePacket
|
||
|
{
|
||
|
private:
|
||
|
quint16 _totalBLineNumber;
|
||
|
quint16 _bPointNumber;
|
||
|
QByteArray _data;
|
||
|
int _index;
|
||
|
|
||
|
public:
|
||
|
BHardwarePacket();
|
||
|
|
||
|
void decode(QByteArray buffer) override;
|
||
|
UsPacket getUsPacket(int fps) override;
|
||
|
};
|
||
|
|
||
|
#endif //BHARDWAREPACKET_H
|