feat: add getType
This commit is contained in:
parent
f01844bed8
commit
db3ce5025b
@ -39,6 +39,8 @@ virtual String read() = 0;
|
||||
*/
|
||||
bool isFull();
|
||||
|
||||
String getValType();
|
||||
|
||||
protected:
|
||||
|
||||
/**
|
||||
|
@ -15,3 +15,8 @@ bool Capteur::tar(int val){
|
||||
bool Capteur::isFull(){
|
||||
return this->full;
|
||||
}
|
||||
|
||||
|
||||
String Capteur::getValType(){
|
||||
return this->type;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user