25 lines
590 B
C++
25 lines
590 B
C++
//
|
|
// Created by camer on 16/05/2020.
|
|
//
|
|
|
|
#ifndef PROJET_VICTORAVECUNK_DIGITALACTUATORRADIATOR_H
|
|
#define PROJET_VICTORAVECUNK_DIGITALACTUATORRADIATOR_H
|
|
|
|
|
|
#include "../DigitalDevice.h"
|
|
#include "../../../include/AnalogDevices/AnalogSensors/AnalogSensorTemperature.h"
|
|
|
|
class DigitalActuatorRadiator : public DigitalActuator {
|
|
private:
|
|
float threshold;
|
|
public:
|
|
DigitalActuatorRadiator(int temps, float threshold);
|
|
|
|
float getThreshold() const;
|
|
void setThreshold(float threshold);
|
|
void activate();
|
|
void Run();
|
|
};
|
|
|
|
|
|
#endif //PROJET_VICTORAVECUNK_DIGITALACTUATORRADIATOR_H
|