#pragma once

#include <QString>
#include <QHash>
#include <QJsonValue>

#include "core/models/DOMMessage.h"

namespace softbus::core::models
{

struct EnrichedMessage
{
    QString sourceMessageId;
    QString logicalName;
    QString unit;
    DOMValue engineeringValue{0.0};
    DataQuality quality{DataQuality::BAD};
    bool alarm{false};
    QHash<QString, QJsonValue> attributes;
    std::vector<QString> traceLog;
};

} // namespace softbus::core::models

