mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX:fixed some C13 features that are not supported
jira:STUDIO-4302 STUDIO-4301 STUDIO-4299 Change-Id: Icbf771e49341291e10b3a2465f92eddefd758598 (cherry picked from commit 1010b56eeeb30b78db17ee20d1682b2d56271f5b)
This commit is contained in:
parent
685624a1ef
commit
ecf1ff52b5
1 changed files with 57 additions and 36 deletions
|
@ -1457,6 +1457,8 @@ void MachineObject::parse_version_func()
|
||||||
auto rv1126_version = module_vers.find("rv1126");
|
auto rv1126_version = module_vers.find("rv1126");
|
||||||
if (get_printer_series() == PrinterSeries::SERIES_X1) {
|
if (get_printer_series() == PrinterSeries::SERIES_X1) {
|
||||||
if (ota_version != module_vers.end()) {
|
if (ota_version != module_vers.end()) {
|
||||||
|
|
||||||
|
if (printer_type != "C13") {
|
||||||
if (ota_version->second.sw_ver.compare("01.01.01.00") <= 0) {
|
if (ota_version->second.sw_ver.compare("01.01.01.00") <= 0) {
|
||||||
ams_support_remain = false;
|
ams_support_remain = false;
|
||||||
ams_support_auto_switch_filament_flag = false;
|
ams_support_auto_switch_filament_flag = false;
|
||||||
|
@ -1466,7 +1468,8 @@ void MachineObject::parse_version_func()
|
||||||
is_support_1080dpi = false;
|
is_support_1080dpi = false;
|
||||||
is_support_ai_monitoring = false;
|
is_support_ai_monitoring = false;
|
||||||
is_support_ams_humidity = false;
|
is_support_ams_humidity = false;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
ams_support_remain = true;
|
ams_support_remain = true;
|
||||||
ams_support_auto_switch_filament_flag = true;
|
ams_support_auto_switch_filament_flag = true;
|
||||||
is_xcam_buildplate_supported = true;
|
is_xcam_buildplate_supported = true;
|
||||||
|
@ -1500,6 +1503,24 @@ void MachineObject::parse_version_func()
|
||||||
: boost::algorithm::starts_with(local_rtsp_url, "rtsps") ? 2 : 3;
|
: boost::algorithm::starts_with(local_rtsp_url, "rtsps") ? 2 : 3;
|
||||||
file_proto = 2;
|
file_proto = 2;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
ams_support_remain = true;
|
||||||
|
ams_support_auto_switch_filament_flag = true;
|
||||||
|
is_xcam_buildplate_supported = true;
|
||||||
|
xcam_support_recovery_step_loss = true;
|
||||||
|
is_support_send_to_sdcard = true;
|
||||||
|
is_support_1080dpi = true;
|
||||||
|
is_support_ai_monitoring = true;
|
||||||
|
is_support_ams_humidity = true;
|
||||||
|
is_support_mqtt_alive = true;
|
||||||
|
local_use_ssl_for_mqtt = true;
|
||||||
|
is_support_remote_tunnel = true;
|
||||||
|
is_support_tunnel_mqtt = true;
|
||||||
|
local_camera_proto = local_rtsp_url.empty() ? -1 : local_rtsp_url == "disable" ? 0
|
||||||
|
: boost::algorithm::starts_with(local_rtsp_url, "rtsps") ? 2 : 3;
|
||||||
|
file_proto = 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (printer_type == "C11") {
|
} else if (printer_type == "C11") {
|
||||||
is_cloud_print_only = true;
|
is_cloud_print_only = true;
|
||||||
if (ota_version != module_vers.end()) {
|
if (ota_version != module_vers.end()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue