LibreVNA/Software/PC_Application/Calibration/receivercaldialog.h
2020-11-18 22:47:38 +01:00

20 lines
641 B
C++

#ifndef RECEIVERCALDIALOG_H
#define RECEIVERCALDIALOG_H
#include "amplitudecaldialog.h"
class ReceiverCalDialog : public AmplitudeCalDialog
{
Q_OBJECT
public:
ReceiverCalDialog(Device *dev);
protected:
Protocol::PacketType requestCommand() override { return Protocol::PacketType::RequestReceiverCal; }
Protocol::PacketType pointType() override { return Protocol::PacketType::ReceiverCalPoint; }
void SelectedPoint(double frequency, bool port2) override;
void AmplitudeChanged(CorrectionPoint &point, bool port2) override;
void UpdateAmplitude(CorrectionPoint& point) override;
};
#endif // RECEIVERCALDIALOG_H