完善断电续打功能
This commit is contained in:
parent
b9770c3385
commit
d62caaee25
@ -788,7 +788,8 @@ gcode:
|
||||
initial_duration: 3.5
|
||||
gcode:
|
||||
{% set was_interrupted = printer.save_variables.variables.was_interrupted | string %}
|
||||
{% if was_interrupted == "True"%}
|
||||
{% set enable_recovery = printer.save_variables.variables.power_loss_recovery | default(Ture) | string %}
|
||||
{% if enable_recovery != "False" and was_interrupted == "True" %}
|
||||
RESPOND TYPE=command MSG="action:prompt_begin "
|
||||
RESPOND TYPE=command MSG="action:prompt_text The last print job was not completed continue printing?"
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button Continue|_RESUME_INTERRUPTED"
|
||||
|
@ -781,7 +781,8 @@ gcode:
|
||||
initial_duration: 3.5
|
||||
gcode:
|
||||
{% set was_interrupted = printer.save_variables.variables.was_interrupted | string %}
|
||||
{% if was_interrupted == "True"%}
|
||||
{% set enable_recovery = printer.save_variables.variables.power_loss_recovery | default(Ture) | string %}
|
||||
{% if enable_recovery != "False" and was_interrupted == "True" %}
|
||||
RESPOND TYPE=command MSG="action:prompt_begin "
|
||||
RESPOND TYPE=command MSG="action:prompt_text The last print job was not completed continue printing?"
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button Continue|_RESUME_INTERRUPTED"
|
||||
|
@ -947,7 +947,8 @@ gcode:
|
||||
initial_duration: 3.5
|
||||
gcode:
|
||||
{% set was_interrupted = printer.save_variables.variables.was_interrupted | string %}
|
||||
{% if was_interrupted == "True"%}
|
||||
{% set enable_recovery = printer.save_variables.variables.power_loss_recovery | default(Ture) | string %}
|
||||
{% if enable_recovery != "False" and was_interrupted == "True" %}
|
||||
RESPOND TYPE=command MSG="action:prompt_begin "
|
||||
RESPOND TYPE=command MSG="action:prompt_text The last print job was not completed continue printing?"
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button Continue|_RESUME_INTERRUPTED"
|
||||
|
0
scripts/clear_plr.sh
Normal file → Executable file
0
scripts/clear_plr.sh
Normal file → Executable file
0
scripts/plr.sh
Normal file → Executable file
0
scripts/plr.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user