CURA-4461 Read buildplate id from the printer and set the automatic

option
This commit is contained in:
Diego Prado Gesto 2018-01-11 13:03:35 +01:00
parent a2089c6afd
commit de98a62dc8
3 changed files with 50 additions and 29 deletions

View file

@ -583,6 +583,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
hotend_id = ""
self._setHotendId(index, hotend_id)
# TODO Set the buildplate id depending on the info from the printer. To be discussed...
bed_temperatures = self._json_printer_state["bed"]["temperature"]
self._setBedTemperature(bed_temperatures["current"])
self._updateTargetBedTemperature(bed_temperatures["target"])