FIX:support show n3f ams in mapping popup

jira:[for n3f ams]

Change-Id: I619010de072df1635e1bb39b694c7a0e0a7c127a
(cherry picked from commit 46efe1542742fbc43e0f60ea385aadad39d08353)
This commit is contained in:
tao wang 2024-08-02 12:10:42 +08:00 committed by Noisyfox
parent 54d6f9f0de
commit fd5b6f88ab

View file

@ -467,7 +467,7 @@ void AmsMapingPopup::update_ams_data(std::map<std::string, Ams*> amsList)
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(this);
@ -531,6 +531,8 @@ void AmsMapingPopup::update_ams_data(std::map<std::string, Ams*> amsList)
//m_warning_text->Show(m_has_unmatch_filament);
}
else if(ams_type == 4){ //4:n3s
}
}
/*extra tray*/