mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-31 23:02:06 +00:00
ENH: clean codes about device
JIRA: [STUDIO-13609] Change-Id: I591de7033360b9570600006cfbce2148a8d031d5 (cherry picked from commit e9c774be8f4c89b8dafa14ef56913612fb68bd0c)
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#include <wx/animate.h>
|
||||
#include <wx/dynarray.h>
|
||||
|
||||
#include "slic3r/GUI/DeviceCore/DevExtruderSystem.h"
|
||||
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
@@ -43,11 +45,11 @@ protected:
|
||||
std::map<std::string, AmsItem*> m_ams_item_list;
|
||||
std::map<std::string, AMSExtImage*> m_ext_image_list;
|
||||
|
||||
ExtderData m_extder_data;
|
||||
std::string m_dev_id;
|
||||
std::vector<std::vector<std::string>> m_item_ids{ {}, {} };
|
||||
std::vector<std::pair<string, string>> pair_id;
|
||||
|
||||
int m_total_ext_count = 1;
|
||||
AMSextruder *m_extruder{nullptr};
|
||||
AMSRoadDownPart* m_down_road{ nullptr };
|
||||
|
||||
@@ -158,7 +160,7 @@ public:
|
||||
const std::string &printer_type,
|
||||
std::vector<AMSinfo> ams_info,
|
||||
std::vector<AMSinfo> ext_info,
|
||||
ExtderData data,
|
||||
DevExtderSystem data,
|
||||
std::string dev_id,
|
||||
bool is_reset = true,
|
||||
bool test = false);
|
||||
|
||||
Reference in New Issue
Block a user