mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-02 17:58:22 -05:00
ENH:check if waiting for sending to end is supported
Change-Id: I297778c0e0593bd23b0614c043a3e9878ba61947
This commit is contained in:
1 parent
af5c58574a
commit
66eb52c018
3 files changed
+11
No files matched your search
@@ -3054,8 +3054,12 @@ int MachineObject::parse_json(std::string payload)
|
||||
this->set_print_state(jj["gcode_state"].get<std::string>());
|
||||
}
|
||||
if (jj.contains("job_id")) {
|
||||
is_support_wait_sending_finish = true;
|
||||
this->job_id_ = jj["job_id"].get<std::string>();
|
||||
}
|
||||
else {
|
||||
is_support_wait_sending_finish = false;
|
||||
}
|
||||
|
||||
if (jj.contains("queue_number")) {
|
||||
this->queue_number = jj["queue_number"].get<int>();
|
||||
|
||||
Reference in new issue
Block a user