mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 05:11:04 -07:00
NetworkedPrinterOutputDevice now requires address in constructor
CL-541
This commit is contained in:
parent
68e80a88bc
commit
1b8caa7a21
3 changed files with 11 additions and 5 deletions
|
|
@ -2,4 +2,7 @@ from cura.PrinterOutput.NetworkedPrinterOutputDevice import NetworkedPrinterOutp
|
|||
|
||||
class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
||||
def __init__(self, device_id, address, properties, parent = None):
|
||||
super().__init__(device_id = device_id, parent = parent)
|
||||
super().__init__(device_id = device_id, address = address, parent = parent)
|
||||
|
||||
def _update(self):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
from cura.PrinterOutput.NetworkedPrinterOutputDevice import NetworkedPrinterOutputDevice
|
||||
|
||||
class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
|
||||
def __init__(self, device_id, address, properties, parent = None):
|
||||
super().__init__(device_id = device_id, parent = parent)
|
||||
def __init__(self, device_id, address: str, properties, parent = None):
|
||||
super().__init__(device_id = device_id, address = address, parent = parent)
|
||||
|
||||
def _update(self):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue