переписаны графики

This commit is contained in:
Dmitry Borisenko
2022-09-08 00:27:38 +02:00
parent 5acd080fe0
commit 12ef79c558
10 changed files with 240 additions and 139 deletions

View File

@@ -33,7 +33,8 @@ IoTItem::IoTItem(String parameters) {
_map2 = selectFromMarkerToMarker(map, ",", 1).toInt();
_map3 = selectFromMarkerToMarker(map, ",", 2).toInt();
_map4 = selectFromMarkerToMarker(map, ",", 3).toInt();
} else _map1 = _map2 = _map3 = _map4 = 0;
} else
_map1 = _map2 = _map3 = _map4 = 0;
}
//луп выполняющий переодическое дерганье
@@ -65,7 +66,8 @@ String IoTItem::getValue() {
return value.valS = buf;
} else
return (String)value.valD;
} else return value.valS;
} else
return value.valS;
}
//установить
@@ -128,6 +130,8 @@ String IoTItem::getSubtype() {
void IoTItem::sendChart(bool mqtt) {}
void IoTItem::cleanData() {}
String IoTItem::getID() {
return _id;
};