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.
35 lines
576 B
35 lines
576 B
4 years ago
|
#ifndef TRXBOARD_H
|
||
|
#define TRXBOARD_H
|
||
|
|
||
|
#include "model/hardware/device/SonoDevice.h"
|
||
|
#include "model/hardware/service/HardwarePacketEngine.h"
|
||
|
|
||
|
class HwBoard
|
||
|
{
|
||
|
private:
|
||
|
QString _name;
|
||
|
QString _version;
|
||
|
|
||
|
SonoDevice _device;
|
||
|
int _swCounter;
|
||
|
int _hwCounter;
|
||
|
bool _run;
|
||
|
|
||
|
public:
|
||
|
HardwarePacketEngine packetEngine;
|
||
|
|
||
|
HwBoard();
|
||
|
QString getName();
|
||
|
QString getVersion();
|
||
|
bool selfTest();
|
||
|
bool updateInfo();
|
||
|
bool updateStatus();
|
||
|
void readData();
|
||
|
void init();
|
||
|
void start();
|
||
|
void stop();
|
||
|
void programSlave();
|
||
|
};
|
||
|
|
||
|
#endif //TRXBOARD_H
|