loading

摘要: 给对象添加一个 `__iter__` 函数: ```py file:[src/pojos.py] class Cover: def __init__(self, temp, accel_x, accel_y, accel_z, cover_status): self.temp = temp self 阅读全文
posted @ 2023-06-21 14:34 Himmelbleu 阅读(5) 评论(0) 推荐(1) 编辑
摘要: 获取表格当前有多少行 rowCount(),根据当前行累加一行。 file:[src/main.py] def open_his_file_signal(self, data: pd.DataFrame): for i in data.columns: curr_row_count = self.t 阅读全文
posted @ 2023-06-21 14:30 Himmelbleu 阅读(10) 评论(0) 推荐(1) 编辑
摘要: 创建线程 file:[src/main.py] from PyQt5 import QtCore from PyQt5.QtCore import * class ListDevicesThread(QtCore.QThread): signal = pyqtSignal(dict, name='l 阅读全文
posted @ 2023-06-21 14:26 Himmelbleu 阅读(192) 评论(0) 推荐(1) 编辑