// // Created by camer on 16/05/2020. // #ifndef PROJET_VICTORAVECUNK_DIGITALACTUATORELECTROVANNE_H #define PROJET_VICTORAVECUNK_DIGITALACTUATORELECTROVANNE_H #include "../DigitalDevice.h" class DigitalActuatorElectrovanne : public DigitalActuator{ private: float thresholdHigh, thresholdLow; public: DigitalActuatorElectrovanne(int temps, float threshold, float thresholdLow); float getThresholdHigh() const; void setThresholdHigh(float threshold); float getThresholdLow() const; void setThresholdLow(float thresholdLow); void activate(); void run(); }; #endif //PROJET_VICTORAVECUNK_DIGITALACTUATORELECTROVANNE_H