mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
switch in progress
This commit is contained in:
@@ -18,6 +18,7 @@ class LineParsing {
|
||||
String _c;
|
||||
String _inv;
|
||||
String _state;
|
||||
String _db;
|
||||
|
||||
public:
|
||||
LineParsing() :
|
||||
@@ -33,7 +34,8 @@ class LineParsing {
|
||||
_map{""},
|
||||
_c{""},
|
||||
_inv{""},
|
||||
_state{""}
|
||||
_state{""},
|
||||
_db{""}
|
||||
|
||||
{};
|
||||
|
||||
@@ -61,6 +63,9 @@ class LineParsing {
|
||||
if (arg.indexOf("st[") != -1) {
|
||||
_state = extractInner(arg);
|
||||
}
|
||||
if (arg.indexOf("db[") != -1) {
|
||||
_db = extractInner(arg);
|
||||
}
|
||||
}
|
||||
}
|
||||
createWidgetClass(_descr, _page, _order, _file, _key);
|
||||
@@ -107,6 +112,7 @@ class LineParsing {
|
||||
_c = "";
|
||||
_inv = "";
|
||||
_state = "";
|
||||
_db = "";
|
||||
}
|
||||
|
||||
String extractInnerDigit(String str) {
|
||||
|
||||
Reference in New Issue
Block a user