NEW: support clean print error

Change-Id: I0d0b6b5dae22bf5ee793d748d3afb5d45fbf744a
This commit is contained in:
Stone Li authored and Lane.Wei committed 2023-04-17 15:39:02 +08:00
1 parent 8675815fb3
commit 9606a04117
4 files changed
+24 -4

No files matched your search

+11
View File
@@ -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";