23 lines
694 B
C
23 lines
694 B
C
![]() |
#ifndef SOURCECALDIALOG_H
|
||
|
#define SOURCECALDIALOG_H
|
||
|
|
||
|
#include "amplitudecaldialog.h"
|
||
|
#include "modehandler.h"
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
class SourceCalDialog : public AmplitudeCalDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
SourceCalDialog(Device *dev, ModeHandler *handler);
|
||
|
protected:
|
||
|
Protocol::PacketType requestCommand() override { return Protocol::PacketType::RequestSourceCal; }
|
||
|
Protocol::PacketType pointType() override { return Protocol::PacketType::SourceCalPoint; }
|
||
|
void SelectedPoint(double frequency, bool port2) override;
|
||
|
void AmplitudeChanged(CorrectionPoint &point, bool port2) override;
|
||
|
void UpdateAmplitude(CorrectionPoint& point) override;
|
||
|
};
|
||
|
|
||
|
#endif // SOURCECALDIALOG_H
|