FIX: [STUDIO-2767] retry with remote tunnel when local failed

Change-Id: Id0172239d752508227729e81bee6c1a6ff4d3e9d
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2023-07-07 17:25:51 +08:00
1 parent c142c8a31e
commit d8517991e4
6 files changed
+38 -16

No files matched your search

+7
View File
@@ -2325,6 +2325,13 @@ bool MachineObject::is_support_print_with_timelapse()
return true;
}
bool MachineObject::is_camera_busy_off()
{
if (printer_type == "C11")
return is_in_prepare() || is_in_upgrading();
return false;
}
int MachineObject::publish_json(std::string json_str, int qos)
{
if (is_lan_mode_printer()) {