mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
добавление кнопок в элемент
This commit is contained in:
@@ -240,6 +240,13 @@ class LogingDaily : public IoTItem {
|
||||
int calculateMaxCount() {
|
||||
return 86400;
|
||||
}
|
||||
|
||||
void onModuleOrder(String &key, String &value) {
|
||||
if (key == "defvalue") {
|
||||
} else if (key == "reset") {
|
||||
}
|
||||
SerialPrint("i", F("LogingDaily"), "key " + key + ", value " + value);
|
||||
}
|
||||
};
|
||||
|
||||
void *getAPI_LogingDaily(String subtype, String param) {
|
||||
|
||||
@@ -15,7 +15,9 @@
|
||||
"logid": "t",
|
||||
"points": 365,
|
||||
"telegram": 0,
|
||||
"test": 0
|
||||
"test": 0,
|
||||
"btn-defvalue": 0,
|
||||
"btn-reset": "nil"
|
||||
}
|
||||
],
|
||||
"about": {
|
||||
|
||||
Reference in New Issue
Block a user