mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
Исправляем ошибку с перегрузкой setValue у дочерних классов
This commit is contained in:
@@ -68,7 +68,7 @@ class ButtonIn : public IoTItem {
|
||||
_lastButtonState = _reading;
|
||||
}
|
||||
|
||||
void setValue(IoTValue Value) {
|
||||
void setValue(IoTValue Value, bool generateEvent = true) {
|
||||
value = Value;
|
||||
regEvent((String)(int)value.valD, "ButtonIn");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user