This commit is contained in:
2025-10-17 19:20:51 +02:00
parent 91259485ba
commit 28cf84c0c5

View File

@@ -78,7 +78,7 @@ QList <QList <QVariant>> 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<std::pair<QString, QString>> 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<std::pair<QString, QString>> 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;