- fixed power slider

This commit is contained in:
jens
2020-12-01 20:26:34 +01:00
parent 463c2415d2
commit 5a8409eec5
4 changed files with 22 additions and 19 deletions
+3
View File
@@ -73,6 +73,9 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow):
print("on_tempctrl_changed {}".format(msg))
if "Soll" in msg:
self.lcdNumber.display(str(msg['Soll']))
if self.slider_temp_soll_initial_update:
self.Slider_temp_soll.setValue(msg['Soll'])
self.slider_temp_soll_initial_update = False
def on_heater_changed(self, msg):
print("on_heater_changed {}".format(msg))