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.
24 lines
326 B
24 lines
326 B
#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
|
|
|