mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
Заставляем все кнопки отправлять только целые значения по статусу
This commit is contained in:
@@ -70,6 +70,10 @@ class ButtonIn : public IoTItem {
|
||||
regEvent((String)(int)value.valD, "ButtonIn");
|
||||
}
|
||||
|
||||
String getValue() {
|
||||
return (String)(int)value.valD;
|
||||
}
|
||||
|
||||
~ButtonIn() {};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user