Заставляем все кнопки отправлять только целые значения по статусу

This commit is contained in:
2022-08-14 21:55:56 +03:00
parent 1fcec9ba80
commit 9ea209669f
2 changed files with 8 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ class ButtonIn : public IoTItem {
regEvent((String)(int)value.valD, "ButtonIn");
}
String getValue() {
return (String)(int)value.valD;
}
~ButtonIn() {};
};