mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
NEW: support clean print error
Change-Id: I0d0b6b5dae22bf5ee793d748d3afb5d45fbf744a
This commit is contained in:
parent
8675815fb3
commit
9606a04117
4 changed files with 24 additions and 4 deletions
|
@ -1459,6 +1459,17 @@ int MachineObject::command_pushing(std::string cmd)
|
|||
return -1;
|
||||
}
|
||||
|
||||
int MachineObject::command_clean_print_error(std::string subtask_id)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(info) << "command_clean_print_error, id = " << subtask_id;
|
||||
json j;
|
||||
j["print"]["command"] = "clean_print_error";
|
||||
j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
|
||||
j["print"]["subtask_id"] = subtask_id;
|
||||
|
||||
return this->publish_json(j.dump());
|
||||
}
|
||||
|
||||
int MachineObject::command_upgrade_confirm()
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(info) << "command_upgrade_confirm";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue