debug
This commit is contained in:
@@ -78,7 +78,7 @@ QList <QList <QVariant>> forceVent
|
|||||||
{38, "Bonne brise", 1},
|
{38, "Bonne brise", 1},
|
||||||
{49, "Vent frais", 3},
|
{49, "Vent frais", 3},
|
||||||
{61, "Grand vent", 4},
|
{61, "Grand vent", 4},
|
||||||
{74, "Vent fort", 5},
|
{74, "Vent fort", 4},
|
||||||
{88, "Vent violent", 5},
|
{88, "Vent violent", 5},
|
||||||
{117, "Tempête", 5},
|
{117, "Tempête", 5},
|
||||||
{1000, "Ouragan", 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"]));
|
propertyList[name] = formatNotifString (propertyName[name].first, propertyName[name].second , QByteArray::number(propertiesValue["vent"]));
|
||||||
}
|
}
|
||||||
setPriority(priority, windPriority);
|
priority = setPriority(priority, windPriority);
|
||||||
|
|
||||||
attachment = this->outputPath;
|
attachment = this->outputPath;
|
||||||
}
|
}
|
||||||
@@ -305,7 +305,7 @@ void Pws2mqtt::parseData(QList<std::pair<QString, QString>> queryList)
|
|||||||
debug (DEBUGMACRO, name + " : " + QByteArray::number(propertyValue), DEBUG);
|
debug (DEBUGMACRO, name + " : " + QByteArray::number(propertyValue), DEBUG);
|
||||||
if (compare (propertiesValue[name], propertyValue, ecart))
|
if (compare (propertiesValue[name], propertyValue, ecart))
|
||||||
{
|
{
|
||||||
priority = setPriority (priority, 3);
|
//priority = setPriority (priority, 3);
|
||||||
//debug (DEBUGMACRO, "Notif = #" + notif + "#", DEBUG);
|
//debug (DEBUGMACRO, "Notif = #" + notif + "#", DEBUG);
|
||||||
propertyList[name] = formatNotifString(propertyName[name].first, propertyName[name].second, QByteArray::number(propertyValue));
|
propertyList[name] = formatNotifString(propertyName[name].first, propertyName[name].second, QByteArray::number(propertyValue));
|
||||||
propertiesValue[name] = propertyValue;
|
propertiesValue[name] = propertyValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user