Added a printerOutputController to send commands to remote.

The idea is that this class can be subclassed. CL-541
This commit is contained in:
Jaime van Kessel 2017-11-17 16:25:44 +01:00
parent 700f7179f1
commit 3a8eef9768
4 changed files with 71 additions and 21 deletions

View file

@ -0,0 +1,21 @@
MYPY = False
if MYPY:
from cura.PrinterOutput.PrintJobOutputModel import PrintJobOutputModel
from cura.PrinterOutput.ExtruderOuputModel import ExtruderOuputModel
from cura.PrinterOutput.PrinterOutputModel import PrinterOutputModel
class PrinterOutputController:
def __init__(self):
pass
def setTargetHotendTemperature(self, printer: "PrinterOutputModel", extruder: "ExtruderOuputModel", temperature: int):
# TODO: implement
pass
def setTargetBedTemperature(self, printer: "PrinterOutputModel", temperature: int):
pass
def setJobState(self, job: "PrintJobOutputModel", state: str):
pass