feat: add getType

This commit is contained in:
Clement 2023-05-02 11:32:26 +02:00
parent f01844bed8
commit db3ce5025b
2 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,8 @@ virtual String read() = 0;
*/
bool isFull();
String getValType();
protected:
/**

View File

@ -14,4 +14,9 @@ bool Capteur::tar(int val){
bool Capteur::isFull(){
return this->full;
}
String Capteur::getValType(){
return this->type;
}