FIX: fix bugs of calibration

Change-Id: I2d0f57105bdda2abc3fc7b218122d4df5a3161da
This commit is contained in:
Stone Li 2023-07-04 10:50:02 +08:00 committed by Lane.Wei
parent 32892514ff
commit 28b56c2efb
8 changed files with 116 additions and 57 deletions

View file

@ -42,7 +42,7 @@ public:
void on_cali_job_finished(wxCommandEvent& event);
virtual void on_cali_job_finished() {}
virtual void on_cali_job_finished(wxString evt_data) {}
CalibrationWizardPageStep* get_curr_step() { return m_curr_step; }
@ -62,6 +62,8 @@ public:
bool save_preset(const std::string &old_preset_name, const std::string &new_preset_name, const std::map<std::string, ConfigOption *> &key_values, std::string& message);
virtual void cache_preset_info(MachineObject* obj, float nozzle_dia);
protected:
void on_cali_go_home();
@ -121,7 +123,7 @@ public:
void set_cali_method(CalibrationMethod method) override;
void on_cali_job_finished() override;
void on_cali_job_finished(wxString evt_data) override;
protected:
void create_pages();
@ -142,7 +144,7 @@ public:
MaxVolumetricSpeedWizard(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL);
~MaxVolumetricSpeedWizard() {};
void on_cali_job_finished() override;
void on_cali_job_finished(wxString evt_data) override;
protected:
void create_pages();