From a221e1d9a82598c8dac59fd77cacecd4d1410913 Mon Sep 17 00:00:00 2001 From: "ADMINISTRATOR\\Administrator" <951937200@qq.com> Date: Thu, 6 Jun 2024 14:08:03 +0800 Subject: [PATCH] =?UTF-8?q?0606=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UI/BlockParameterModel.py | 2 +- UI/SearchAddressWidget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/BlockParameterModel.py b/UI/BlockParameterModel.py index b48e26a..68dcd06 100644 --- a/UI/BlockParameterModel.py +++ b/UI/BlockParameterModel.py @@ -1,6 +1,6 @@ import typing import re -from matplotlib.pyplot import box +# from matplotlib.pyplot import box import qtawesome from PyQt5 import QtGui,QtCore,QtWidgets from PyQt5.QtCore import QAbstractTableModel, QModelIndex, Qt, QVariant, QSize diff --git a/UI/SearchAddressWidget.py b/UI/SearchAddressWidget.py index d918f2b..ae99d2f 100644 --- a/UI/SearchAddressWidget.py +++ b/UI/SearchAddressWidget.py @@ -61,7 +61,7 @@ class SearchAddressWidget(QWidget): self.setWindowTitle('从站地址查找') self.test = DPV1Master('192.168.3.10', 502) - self.test.searchMaster(self.updateProgress) + self.test.searchSlave(self.updateProgress) self.cancelBtn.clicked.connect(self.test.closeThread) # self.timer = QTimer() # self.timer.timeout.connect(self.updateProgress)