feat: création classe abstraite capteur
This commit is contained in:
17
IOT/lib/Capteur/src/Capteur.cpp
Normal file
17
IOT/lib/Capteur/src/Capteur.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#include "../include/Capteur.h"
|
||||
|
||||
|
||||
|
||||
Capteur::Capteur(String type, String fullVall){
|
||||
this->type = type;
|
||||
this->fullVall = fullVall;
|
||||
}
|
||||
|
||||
bool Capteur::tar(int val){
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool Capteur::isFull(){
|
||||
return this->full;
|
||||
}
|
Reference in New Issue
Block a user