Merge branch 'feature_custom_gcode_commands'

This commit is contained in:
Ghostkeeper 2018-03-20 13:44:23 +01:00
commit f15eb4be2d
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
7 changed files with 142 additions and 6 deletions

View file

@ -15,6 +15,7 @@ class ClusterUM3PrinterOutputController(PrinterOutputController):
self.can_pre_heat_bed = False
self.can_pre_heat_hotends = False
self.can_control_manually = False
self.can_send_raw_gcode = False
def setJobState(self, job: "PrintJobOutputModel", state: str):
data = "{\"action\": \"%s\"}" % state

View file

@ -20,6 +20,7 @@ class LegacyUM3PrinterOutputController(PrinterOutputController):
self._preheat_printer = None
self.can_control_manually = False
self.can_send_raw_gcode = False
# Are we still waiting for a response about preheat?
# We need this so we can already update buttons, so it feels more snappy.