Merge pull request #164 from biveraxe/ver4dev

Заставляем вирт кнопку отправлять целые значения
This commit is contained in:
2022-08-14 19:07:01 +03:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ class IoTItem {
String getSubtype();
String getID();
String getValue();
virtual String getValue();
void setInterval(unsigned long interval);

View File

@@ -11,6 +11,10 @@ class VButton : public IoTItem {
regEvent((String)(int)value.valD, "VButton");
}
String getValue() {
return (String)(int)value.valD;
}
void doByInterval() { }
};