ENH: add more status during printing
JIRA: STUDIO-5195 Change-Id: I85b3107839c6e2fdecbc10d90a876463e284468c Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
2d43174f10
commit
86a50da944
|
@ -28,7 +28,7 @@ float string_to_float(const std::string& str_value) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int PRINTING_STAGE_COUNT = 32;
|
const int PRINTING_STAGE_COUNT = 36;
|
||||||
std::string PRINTING_STAGE_STR[PRINTING_STAGE_COUNT] = {
|
std::string PRINTING_STAGE_STR[PRINTING_STAGE_COUNT] = {
|
||||||
"printing",
|
"printing",
|
||||||
"bed_leveling",
|
"bed_leveling",
|
||||||
|
@ -61,7 +61,11 @@ std::string PRINTING_STAGE_STR[PRINTING_STAGE_COUNT] = {
|
||||||
"chamber_temperature_control_error_pause",
|
"chamber_temperature_control_error_pause",
|
||||||
"chamber_cooling",
|
"chamber_cooling",
|
||||||
"user_insert_gcode_pause",
|
"user_insert_gcode_pause",
|
||||||
"motor_noise_showoff"
|
"motor_noise_showoff",
|
||||||
|
"nozzle_filament_covered_detected_pause",
|
||||||
|
"cutter_error_pause",
|
||||||
|
"first_layer_error_pause",
|
||||||
|
"nozzle_clog_pause"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -136,6 +140,14 @@ wxString get_stage_string(int stage)
|
||||||
return _L("Paused by the Gcode inserted by user");
|
return _L("Paused by the Gcode inserted by user");
|
||||||
case 31:
|
case 31:
|
||||||
return _L("Motor noise showoff");
|
return _L("Motor noise showoff");
|
||||||
|
case 32:
|
||||||
|
return _L("Nozzle filament covered detected pause");
|
||||||
|
case 33:
|
||||||
|
return _L("Cutter error pause");
|
||||||
|
case 34:
|
||||||
|
return _L("First layer error pause");
|
||||||
|
case 35:
|
||||||
|
return _L("Nozzle clog pause");
|
||||||
default:
|
default:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue