#ifndef NTPSERVERSTATUSDTO_H
#define NTPSERVERSTATUSDTO_H

#include <QObject>
#include "DeviceFrameBaseDto.h"

class NtpServerStatusDto : public DeviceFrameBaseDto
{
    Q_OBJECT
public:
    explicit NtpServerStatusDto(QObject * parent = nullptr);

    QString devStatus;
    QString freqInType;
    QString oppsValid;
    QString bdcValid;
    QString dclsValid;
    QString dclsInType;
    QString dclsOutType;
    QString refType;
    QString refStatus;
    QString sysTime;
    QList<QString> outValid;
    QList<QString> tmSrcPrio;

    QString freqInTypeStr;
    QString dclsInTypeStr;
    QString dclsOutTypeStr;
    QString refTypeStr;
    QString refStatusStr;

    QJsonObject toJSON() override;
};

#endif // NTPSERVERSTATUSDTO_H
