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

Change-Id: Id0172239d752508227729e81bee6c1a6ff4d3e9d
This commit is contained in:
chunmao.guo 2023-05-06 13:54:14 +08:00 committed by Lane.Wei
parent c142c8a31e
commit d8517991e4
6 changed files with 38 additions and 16 deletions

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()) {