- fixed power slider
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user