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
326 B
25 lines
326 B
4 years ago
|
#ifndef FAN_H
|
||
|
#define FAN_H
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
#include "model/hardware/core/Status.h"
|
||
|
|
||
|
class Fan
|
||
|
{
|
||
|
private:
|
||
|
QString _name;
|
||
|
uint32_t _rpm;
|
||
|
bool _lock;
|
||
|
|
||
|
public:
|
||
|
Fan(QString name);
|
||
|
void Update();
|
||
|
QString getName();
|
||
|
uint32_t getRpm();
|
||
|
bool isLock();
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // FAN_H
|