Depend on temperature only

This commit is contained in:
atse 2023-08-25 12:14:06 +08:00
parent 19ffc160e3
commit 68ab3555cf
1 changed files with 1 additions and 1 deletions

View File

@ -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)