|
|
@ -226,20 +226,21 @@ class AreaTabWidget(QMainWindow):
|
|
|
|
return self.dataTypeDict[order]
|
|
|
|
return self.dataTypeDict[order]
|
|
|
|
|
|
|
|
|
|
|
|
def wirteValue(self, editBtn):
|
|
|
|
def wirteValue(self, editBtn):
|
|
|
|
deviceName = self.areaTabWidget.parent().parent().parent().parent().parent().windowTitle()
|
|
|
|
# deviceName = self.areaTabWidget.parent().parent().parent().parent().parent().windowTitle()
|
|
|
|
index = self.areaTabWidget.currentIndex()
|
|
|
|
# index = self.areaTabWidget.currentIndex()
|
|
|
|
valueList = []
|
|
|
|
valueList = []
|
|
|
|
|
|
|
|
|
|
|
|
if len(self.widgetList) > 0:
|
|
|
|
if len(self.widgetList) > 0:
|
|
|
|
for widgetLists in self.widgetList:
|
|
|
|
for widgetLists in self.widgetList:
|
|
|
|
for widgetList in widgetLists:
|
|
|
|
for widgetList in widgetLists:
|
|
|
|
|
|
|
|
if editBtn in widgetList:
|
|
|
|
|
|
|
|
widgetList[0].setText(widgetList[1].text())
|
|
|
|
|
|
|
|
|
|
|
|
if isinstance(widgetList[1], QLineEdit):
|
|
|
|
if isinstance(widgetList[1], QLineEdit):
|
|
|
|
valueList.append(int(widgetList[1].text()))
|
|
|
|
valueList.append(int(widgetList[1].text()))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def readValue(self):
|
|
|
|
def readValue(self):
|
|
|
|
deviceList = []
|
|
|
|
deviceList = []
|
|
|
|
areaIdList = []
|
|
|
|
areaIdList = []
|
|
|
|