Убираем нумерацию папок модулей

This commit is contained in:
2022-08-11 21:54:31 +03:00
parent 67004284c4
commit 34c33692f5
70 changed files with 520 additions and 520 deletions

View File

@@ -0,0 +1,29 @@
#include "Global.h"
#include "classes/IoTItem.h"
class Variable : public IoTItem {
private:
public:
Variable(String parameters): IoTItem(parameters) {
}
// особенность данного модуля - просто хранение значения для сценария, нет событий
// void setValue(IoTValue Value) {
// value = Value;
// }
void doByInterval() {
}
};
void* getAPI_Variable(String subtype, String param) {
if (subtype == F("Variable")) {
return new Variable(param);
} else {
return nullptr;
}
}

View File

@@ -0,0 +1,73 @@
{
"menuSection": "Виртуальные элементы",
"configItem": [{
"name": "Кнопка",
"type": "Reading",
"subtype": "Variable",
"id": "vbtn",
"widget": "",
"page": "",
"descr": "",
"int": "0",
"val": "0"
},
{
"name": "Окно ввода цифры",
"type": "Reading",
"subtype": "Variable",
"id": "dedit",
"widget": "",
"page": "",
"descr": "",
"int": "0",
"val": "0"
},
{
"name": "Окно ввода времени",
"type": "Reading",
"subtype": "Variable",
"id": "tedit",
"widget": "",
"page": "",
"descr": "",
"int": "0",
"val": "0"
},
{
"name": "Переменная",
"type": "Reading",
"subtype": "Variable",
"id": "var",
"widget": "",
"page": "",
"descr": "",
"int": "0",
"val": "0"
}],
"about": {
"authorName": "Ilya Belyakov",
"authorContact": "https://t.me/Biveraxe",
"authorGit": "https://github.com/biveraxe",
"specialThanks": "",
"moduleName": "Variable",
"moduleVersion": "1.0",
"moduleDesc": "Специальный системный модуль для использования переменных в процессе автоматизации как элементов конфигурации.",
"propInfo": {
"int": "Не используется",
"val": "Не используется"
}
},
"defActive": true,
"devices": {
"esp32_4mb": [],
"esp8266_4mb": []
}
}