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(); bool isFull();
String getValType();
protected: protected:
/** /**

View File

@ -15,3 +15,8 @@ bool Capteur::tar(int val){
bool Capteur::isFull(){ bool Capteur::isFull(){
return this->full; return this->full;
} }
String Capteur::getValType(){
return this->type;
}