mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix: bed leveling for UM+
CURA-4844
This commit is contained in:
parent
70f867c4f1
commit
290adbd906
5 changed files with 57 additions and 2 deletions
|
@ -71,6 +71,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
|
||||
self._connection_state = ConnectionState.closed
|
||||
|
||||
self._firmware_name = None
|
||||
self._address = ""
|
||||
self._connection_text = ""
|
||||
self.printersChanged.connect(self._onPrintersChanged)
|
||||
|
@ -198,6 +199,18 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
# At this point there may be non-updated configurations
|
||||
self._updateUniqueConfigurations()
|
||||
|
||||
## Set the device firmware name
|
||||
#
|
||||
# \param name \type{str} The name of the firmware.
|
||||
def _setFirmwareName(self, name):
|
||||
self._firmware_name = name
|
||||
|
||||
## Get the name of device firmware
|
||||
#
|
||||
# This name can be used to define device type
|
||||
def getFirmwareName(self):
|
||||
return self._firmware_name
|
||||
|
||||
|
||||
## The current processing state of the backend.
|
||||
class ConnectionState(IntEnum):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue