- adde heatrate set, heatrate current (as commanded from Pid-T)
This commit is contained in:
+8
-4
@@ -91,10 +91,14 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||
self.Slider_temp_soll.setValue(submsg['Temp'])
|
||||
self.slider_temp_soll_initial_update = False
|
||||
if 'Rate' in submsg:
|
||||
self.lcdNumber_heatrate_soll.display(str(submsg['Rate']))
|
||||
if self.heatrate_soll_initial_update:
|
||||
self.heatrate_soll_initial_update = False
|
||||
self.doubleSpinBox_heatrate_soll.setValue(submsg['Rate'])
|
||||
subsubmsg = submsg['Rate']
|
||||
for subkey in subsubmsg:
|
||||
if "Current" in subkey:
|
||||
self.lcdNumber_heatrate_soll.display(str(subsubmsg['Current']))
|
||||
if "Set" in subkey:
|
||||
if self.heatrate_soll_initial_update:
|
||||
self.heatrate_soll_initial_update = False
|
||||
self.doubleSpinBox_heatrate_soll.setValue(subsubmsg['Set'])
|
||||
if "Ist" in key:
|
||||
submsg = msg['Ist']
|
||||
if 'Temp' in submsg:
|
||||
|
||||
Reference in New Issue
Block a user