CloudOutputDevice scaffolding

This commit is contained in:
ChrisTerBeke 2018-11-19 20:08:05 +01:00
parent 2497325d60
commit 69ca7c0f89
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263
5 changed files with 152 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from cura.PrinterOutput.PrinterOutputController import PrinterOutputController
class CloudOutputController(PrinterOutputController):
def __init__(self, output_device):
super().__init__(output_device)
# The cloud connection only supports fetching the printer and queue status and adding a job to the queue.
# To let the UI know this we mark all features below as False.
self.can_pause = False
self.can_abort = False
self.can_pre_heat_bed = False
self.can_pre_heat_hotends = False
self.can_send_raw_gcode = False
self.can_control_manually = False
self.can_update_firmware = False