mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 20:02:17 +00:00
FIX: access the ext
jira: [STUDIO-10970] Change-Id: I65889835a4ced2d0d3547cacc505d6e1d874497e (cherry picked from commit 7bc1108a2ecd8f00ba057034e74f9d1b8eac135f)
This commit is contained in:
@@ -53,6 +53,9 @@
|
||||
#define VIRTUAL_TRAY_MAIN_ID 255
|
||||
#define VIRTUAL_TRAY_DEPUTY_ID 254
|
||||
|
||||
#define VIRTUAL_AMS_MAIN_ID_STR "255"
|
||||
#define VIRTUAL_AMS_DEPUTY_ID_STR "254"
|
||||
|
||||
#define START_SEQ_ID 20000
|
||||
#define END_SEQ_ID 30000
|
||||
|
||||
@@ -1315,6 +1318,11 @@ public:
|
||||
/*vi slot data*/
|
||||
std::vector<AmsTray> vt_slot;
|
||||
AmsTray parse_vt_tray(json vtray);
|
||||
|
||||
/*get ams slot info*/
|
||||
bool contains_tray(const std::string &ams_id, const std::string &tray_id) const;
|
||||
AmsTray get_tray(const std::string &ams_id, const std::string &tray_id) const;/*use contains_tray() check first*/
|
||||
|
||||
/*for parse new info*/
|
||||
bool check_enable_np(const json& print) const;
|
||||
void parse_new_info(json print);
|
||||
|
||||
Reference in New Issue
Block a user