Add custom command methods to output device and controller

This commit is contained in:
ChrisTerBeke 2018-01-25 22:40:30 +01:00
parent 8c7f8fa1fa
commit 80b589344f
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263
3 changed files with 14 additions and 4 deletions

View file

@ -39,8 +39,11 @@ class PrinterOutputController:
def moveHead(self, printer: "PrinterOutputModel", x, y, z, speed):
Logger.log("w", "Move head not implemented in controller")
def homeBed(self, printer):
def homeBed(self, printer: "PrinterOutputModel"):
Logger.log("w", "Home bed not implemented in controller")
def homeHead(self, printer):
Logger.log("w", "Home head not implemented in controller")
def homeHead(self, printer: "PrinterOutputModel"):
Logger.log("w", "Home head not implemented in controller")
def sendCustomCommand(self, printer: "PrinterOutputModel", command: str):
Logger.log("w", "Custom command not implemented in controller")