Fix: bed leveling for UM+

CURA-4844
This commit is contained in:
Aleksei S 2018-03-29 11:53:31 +02:00
parent 70f867c4f1
commit 290adbd906
5 changed files with 57 additions and 2 deletions

View file

@ -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):