摘要:
给对象添加一个 `__iter__` 函数: ```py file:[src/pojos.py] class Cover: def __init__(self, temp, accel_x, accel_y, accel_z, cover_status): self.temp = temp self 阅读全文
摘要:
获取表格当前有多少行 rowCount(),根据当前行累加一行。 file:[src/main.py] def open_his_file_signal(self, data: pd.DataFrame): for i in data.columns: curr_row_count = self.t 阅读全文
摘要:
创建线程 file:[src/main.py] from PyQt5 import QtCore from PyQt5.QtCore import * class ListDevicesThread(QtCore.QThread): signal = pyqtSignal(dict, name='l 阅读全文