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.
25 lines
543 B
25 lines
543 B
4 years ago
|
#ifndef IBOARD_H
|
||
|
#define IBOARD_H
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
/**
|
||
|
* @brief IBoard interface defention
|
||
|
* @details This is the interface for all low level boards in hardware
|
||
|
* (i.e. Relay, TRX, Power)
|
||
|
* @author Hessamoddin Hediyehloo(H-4nd-H)
|
||
|
* @date 2019/8/5(1398/5/14)
|
||
|
*/
|
||
|
class IBoard
|
||
|
{
|
||
|
public:
|
||
|
virtual ~IBoard(){}
|
||
|
virtual QString getName() = 0;
|
||
|
virtual QString getVersion() = 0;
|
||
|
virtual bool selfTest() = 0;
|
||
|
virtual bool updateInfo() = 0;
|
||
|
virtual bool updateStatus() = 0;
|
||
|
};
|
||
|
|
||
|
#endif // IBOARD_H
|