forked from M-Labs/thermostat
Depend on temperature only
This commit is contained in:
parent
19ffc160e3
commit
68ab3555cf
|
@ -611,7 +611,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
iset = report[channel]['i_set']
|
iset = report[channel]['i_set']
|
||||||
time = report[channel]['time']
|
time = report[channel]['time']
|
||||||
|
|
||||||
if temperature is not None and current is not None and iset is not None:
|
if temperature is not None:
|
||||||
getattr(self, f'ch{channel}_t_connector').cb_append_data_point(temperature, time)
|
getattr(self, f'ch{channel}_t_connector').cb_append_data_point(temperature, time)
|
||||||
getattr(self, f'ch{channel}_i_connector').cb_append_data_point(current, time)
|
getattr(self, f'ch{channel}_i_connector').cb_append_data_point(current, time)
|
||||||
getattr(self, f'ch{channel}_iset_connector').cb_append_data_point(iset, time)
|
getattr(self, f'ch{channel}_iset_connector').cb_append_data_point(iset, time)
|
||||||
|
|
Loading…
Reference in New Issue