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
371 B
24 lines
371 B
4 years ago
|
#ifndef TEMPERATURE_H
|
||
|
#define TEMPERATURE_H
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
#include "model/hardware/core/Status.h"
|
||
|
|
||
|
class Temperature
|
||
|
{
|
||
|
private:
|
||
|
QString _name;
|
||
|
float _value;
|
||
|
Status _status;
|
||
|
|
||
|
public:
|
||
|
Temperature(QString name);
|
||
|
void Update();
|
||
|
QString getName();
|
||
|
float getValue();
|
||
|
Status getStatus();
|
||
|
};
|
||
|
|
||
|
#endif // TEMPERATURE_H
|