mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
не рабочая версия!
This commit is contained in:
@@ -137,7 +137,7 @@ void mqttCallback(char* topic, uint8_t* payload, size_t length) {
|
||||
//отправка данных графиков
|
||||
for (std::list<IoTItem*>::iterator it = IoTItems.begin(); it != IoTItems.end(); ++it) {
|
||||
if ((*it)->getSubtype() == "Loging") {
|
||||
(*it)->setPublishDestination(1, -1);
|
||||
(*it)->setPublishDestination(TO_MQTT);
|
||||
(*it)->publishValue();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user