From 28cf84c0c59c586bd300b6ef3e3303e079a6f4d3 Mon Sep 17 00:00:00 2001 From: Daniel TARTAVEL Date: Fri, 17 Oct 2025 19:20:51 +0200 Subject: [PATCH] debug --- src/pws2mqtt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pws2mqtt.cpp b/src/pws2mqtt.cpp index a998132..7617013 100644 --- a/src/pws2mqtt.cpp +++ b/src/pws2mqtt.cpp @@ -78,7 +78,7 @@ QList > forceVent {38, "Bonne brise", 1}, {49, "Vent frais", 3}, {61, "Grand vent", 4}, - {74, "Vent fort", 5}, + {74, "Vent fort", 4}, {88, "Vent violent", 5}, {117, "TempĂȘte", 5}, {1000, "Ouragan", 5} @@ -266,7 +266,7 @@ void Pws2mqtt::parseData(QList> queryList) { propertyList[name] = formatNotifString (propertyName[name].first, propertyName[name].second , QByteArray::number(propertiesValue["vent"])); } - setPriority(priority, windPriority); + priority = setPriority(priority, windPriority); attachment = this->outputPath; } @@ -305,7 +305,7 @@ void Pws2mqtt::parseData(QList> queryList) debug (DEBUGMACRO, name + " : " + QByteArray::number(propertyValue), DEBUG); if (compare (propertiesValue[name], propertyValue, ecart)) { - priority = setPriority (priority, 3); + //priority = setPriority (priority, 3); //debug (DEBUGMACRO, "Notif = #" + notif + "#", DEBUG); propertyList[name] = formatNotifString(propertyName[name].first, propertyName[name].second, QByteArray::number(propertyValue)); propertiesValue[name] = propertyValue;