mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Merge pull request #147 from biveraxe/ver4dev
Добавляем системную команду exit("причина") в сценарии для прерывания дальнейшего выполнения
This commit is contained in:
@@ -138,6 +138,12 @@ IoTItem* findIoTItem(String name) { // поиск элемента модуля
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
String getItemValue(String name) { // поиск плюс получение значения
|
||||
IoTItem* tmp = findIoTItem(name);
|
||||
if (tmp) return tmp->getValue();
|
||||
else return "";
|
||||
}
|
||||
|
||||
StaticJsonDocument<JSON_BUFFER_SIZE> docForExport;
|
||||
|
||||
StaticJsonDocument<JSON_BUFFER_SIZE>* getLocalItemsAsJSON() {
|
||||
|
||||
Reference in New Issue
Block a user