ENH:support setting nozzle data

jira:[none]

Change-Id: I75044d9b5529286e5c32a436a38d2e3c8fcf4d55
(cherry picked from commit 68b314eebd58c486cda79931c52a9bdcb72556a3)
This commit is contained in:
tao wang
2024-12-09 20:12:24 +08:00
committed by Noisyfox
parent 1f9d27d880
commit 0e5d3fd7b8
4 changed files with 40 additions and 25 deletions

View File

@@ -52,8 +52,8 @@ protected:
std::map<NozzleType, wxString> nozzle_type_map;
std::map<NozzleType, int> nozzle_type_selection_map;
//std::map<NozzleFlowType, wxString> nozzle_flow_map;
//std::map<NozzleFlowType, int> nozzle_flow_selection_map;
std::map<NozzleFlowType, wxString> nozzle_flow_map;
std::map<NozzleFlowType, int> nozzle_flow_selection_map;
std::map<int, float> nozzle_stainless_diameter_map;
std::map<int, float> nozzle_hard_diameter_map;
@@ -65,7 +65,7 @@ public:
void update_machine_obj(MachineObject* obj_);
bool Show(bool show) override;
};
class PrintOptionsDialog : public DPIDialog
{
@@ -108,7 +108,7 @@ public:
MachineObject *obj { nullptr };
std::vector<int> last_stage_list_info;
std::vector<int> last_stage_list_info;
int m_state{0};
void update_options(MachineObject *obj_);
void update_machine_obj(MachineObject *obj_);