mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Merge pull request #164 from biveraxe/ver4dev
Заставляем вирт кнопку отправлять целые значения
This commit is contained in:
@@ -25,7 +25,7 @@ class IoTItem {
|
||||
|
||||
String getSubtype();
|
||||
String getID();
|
||||
String getValue();
|
||||
virtual String getValue();
|
||||
|
||||
void setInterval(unsigned long interval);
|
||||
|
||||
|
||||
@@ -11,6 +11,10 @@ class VButton : public IoTItem {
|
||||
regEvent((String)(int)value.valD, "VButton");
|
||||
}
|
||||
|
||||
String getValue() {
|
||||
return (String)(int)value.valD;
|
||||
}
|
||||
|
||||
void doByInterval() { }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user