#ifndef SIGNALGENERATORSETTING_H
#define SIGNALGENERATORSETTING_H

#include <QObject>

#include "DeviceFrameBaseDto.h"

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

    qint8 leapSecondSet;
    qint8 singleSynchSet;
    QString dateSet;
    qlonglong secondWidthSet;
    qint8 bacRatioSet;
    float bacRangeSet;
    qlonglong oppsPhaseShiftSet;
    QString leapTimestampSet;
    QString mjdDateSet;
    QString timeSet;

    void fromJSON(QJsonObject command);
};

#endif // SIGNALGENERATORSETTING_H
