forked from M-Labs/thermostat
Add i_set
This commit is contained in:
parent
9803a2d12b
commit
863352d620
|
@ -293,6 +293,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
channel = settings["channel"]
|
channel = settings["channel"]
|
||||||
with QSignalBlocker(params[channel]):
|
with QSignalBlocker(params[channel]):
|
||||||
params[channel].child("Temperature PID").setValue(settings["pid_engaged"])
|
params[channel].child("Temperature PID").setValue(settings["pid_engaged"])
|
||||||
|
if not settings["pid_engaged"]:
|
||||||
|
params[channel].child("Constant Current").setValue(settings["i_set"])
|
||||||
|
|
||||||
@pyqtSlot(list)
|
@pyqtSlot(list)
|
||||||
def update_thermistor(self, sh_data):
|
def update_thermistor(self, sh_data):
|
||||||
|
|
Loading…
Reference in New Issue