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.
32 lines
710 B
32 lines
710 B
#ifndef POWERBOARD_H
|
|
#define POWERBOARD_H
|
|
|
|
#include "model/hardware/core/IBoard.h"
|
|
#include "model/hardware/core/PowerBoardStatus.h"
|
|
|
|
/**
|
|
* @brief Power board
|
|
* @details This class is reflecting the actual power board hardware
|
|
* @author Hessamoddin Hediyehloo(H-4nd-H)
|
|
* @date 2019/8/5(1398/5/14)
|
|
*/
|
|
class PowerBoard : public IBoard
|
|
{
|
|
private:
|
|
QString _name;
|
|
QString _version;
|
|
quint32 _baseAddress;
|
|
|
|
public:
|
|
PowerBoard();
|
|
~PowerBoard();
|
|
virtual QString getName();
|
|
virtual QString getVersion();
|
|
virtual bool selfTest();
|
|
virtual bool updateInfo();
|
|
virtual bool updateStatus();
|
|
|
|
PowerBoardStatus* Status;
|
|
};
|
|
|
|
#endif // POWERBOARD_H
|
|
|