Functionality properties (canPause, canPreHeatBed, etc) are now in the Controller.

It's actually up to the controller to say something about this, so this location makes more sense

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-21 16:59:17 +01:00
parent 0fe91db636
commit f987e6d977
3 changed files with 20 additions and 11 deletions

View file

@ -9,7 +9,10 @@ if MYPY:
class PrinterOutputController:
def __init__(self):
pass
self.can_pause = True
self.can_abort = True
self.can_pre_heat_bed = True
self.can_control_manually = True
def setTargetHotendTemperature(self, printer: "PrinterOutputModel", extruder: "ExtruderOuputModel", temperature: int):
# TODO: implement