mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 22:52:19 +03:00
Корректируем алгоритм работы с наследными setValue в модулях
This commit is contained in:
@@ -70,7 +70,7 @@ class ButtonIn : public IoTItem {
|
||||
|
||||
void setValue(IoTValue Value, bool generateEvent = true) {
|
||||
value = Value;
|
||||
regEvent((String)(int)value.valD, "ButtonIn");
|
||||
if (generateEvent) regEvent((String)(int)value.valD, "ButtonIn");
|
||||
}
|
||||
|
||||
String getValue() {
|
||||
|
||||
Reference in New Issue
Block a user