FIX:support show n3f ams in mapping popup

jira:[for n3f ams]

Change-Id: I619010de072df1635e1bb39b694c7a0e0a7c127a
This commit is contained in:
tao wang 2024-08-02 12:10:42 +08:00 committed by lane.wei
parent 8b2a94ed5f
commit 46efe15427
1 changed files with 3 additions and 1 deletions

View File

@ -648,7 +648,7 @@ void AmsMapingPopup::update(MachineObject* obj)
int ams_type = ams_iter->second->type;
int nozzle_id = ams_iter->second->nozzle;
if (ams_type == 1) {
if (ams_type >=1 || ams_type <= 3) { //1:ams 2:ams-lite 3:n3f
auto sizer_mapping_list = new wxBoxSizer(wxHORIZONTAL);
auto ams_mapping_item_container = new MappingContainer(nozzle_id == 0? m_right_marea_panel:m_left_marea_panel);
@ -707,6 +707,8 @@ void AmsMapingPopup::update(MachineObject* obj)
//m_warning_text->Show(m_has_unmatch_filament);
}
else if(ams_type == 4){ //4:n3s
}
}
Layout();