您的位置:首页 > 游戏 > 手游 > 零售户订烟电商网站_三大oa办公软件_企业qq邮箱_今日头条热搜榜

零售户订烟电商网站_三大oa办公软件_企业qq邮箱_今日头条热搜榜

2024/12/28 9:06:37 来源:https://blog.csdn.net/weixin_48256553/article/details/144768289  浏览:    关键词:零售户订烟电商网站_三大oa办公软件_企业qq邮箱_今日头条热搜榜
零售户订烟电商网站_三大oa办公软件_企业qq邮箱_今日头条热搜榜

 UDP网络读卡器Python示例代码。

主页UI设计界面:

UI代码:

from PyQt5 import QtCore, QtGui, QtWidgetsclass Ui_Frame(object):def setupUi(self, Frame):Frame.setObjectName("Frame")Frame.resize(1082, 685)font = QtGui.QFont()font.setFamily("宋体")Frame.setFont(font)self.PBSearch = QtWidgets.QPushButton(Frame)self.PBSearch.setGeometry(QtCore.QRect(10, 10, 140, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSearch.setFont(font)self.PBSearch.setObjectName("PBSearch")self.CBIP = QtWidgets.QComboBox(Frame)self.CBIP.setGeometry(QtCore.QRect(338, 10, 180, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.CBIP.setFont(font)self.CBIP.setObjectName("CBIP")self.tableWidget = QtWidgets.QTableWidget(Frame)self.tableWidget.setGeometry(QtCore.QRect(10, 50, 1061, 111))font = QtGui.QFont()font.setFamily("宋体")self.tableWidget.setFont(font)self.tableWidget.setObjectName("tableWidget")self.tableWidget.setColumnCount(16)self.tableWidget.setRowCount(0)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(0, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(1, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(2, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(3, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(4, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(5, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(6, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(7, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(8, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(9, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(10, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(11, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(12, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(13, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(14, item)item = QtWidgets.QTableWidgetItem()self.tableWidget.setHorizontalHeaderItem(15, item)self.PBEditpara = QtWidgets.QPushButton(Frame)self.PBEditpara.setGeometry(QtCore.QRect(890, 10, 181, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBEditpara.setFont(font)self.PBEditpara.setObjectName("PBEditpara")self.PBSendDispBeep = QtWidgets.QPushButton(Frame)self.PBSendDispBeep.setGeometry(QtCore.QRect(10, 206, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSendDispBeep.setFont(font)self.PBSendDispBeep.setObjectName("PBSendDispBeep")self.PBSendDispTTS = QtWidgets.QPushButton(Frame)self.PBSendDispTTS.setGeometry(QtCore.QRect(10, 296, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSendDispTTS.setFont(font)self.PBSendDispTTS.setObjectName("PBSendDispTTS")self.CBbeep = QtWidgets.QComboBox(Frame)self.CBbeep.setGeometry(QtCore.QRect(300, 206, 111, 31))font = QtGui.QFont()font.setFamily("宋体")self.CBbeep.setFont(font)self.CBbeep.setObjectName("CBbeep")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.CBbeep.addItem("")self.textEdit = QtWidgets.QTextEdit(Frame)self.textEdit.setGeometry(QtCore.QRect(518, 276, 551, 30))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(11)self.textEdit.setFont(font)self.textEdit.setObjectName("textEdit")self.PBSendDispSpk = QtWidgets.QPushButton(Frame)self.PBSendDispSpk.setGeometry(QtCore.QRect(10, 266, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSendDispSpk.setFont(font)self.PBSendDispSpk.setObjectName("PBSendDispSpk")self.CBspeak = QtWidgets.QComboBox(Frame)self.CBspeak.setGeometry(QtCore.QRect(517, 206, 160, 31))font = QtGui.QFont()font.setFamily("宋体")self.CBspeak.setFont(font)self.CBspeak.setObjectName("CBspeak")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.CBspeak.addItem("")self.label = QtWidgets.QLabel(Frame)self.label.setGeometry(QtCore.QRect(241, 216, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label.setFont(font)self.label.setObjectName("label")self.label_2 = QtWidgets.QLabel(Frame)self.label_2.setGeometry(QtCore.QRect(456, 216, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_2.setFont(font)self.label_2.setObjectName("label_2")self.label_3 = QtWidgets.QLabel(Frame)self.label_3.setGeometry(QtCore.QRect(456, 286, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_3.setFont(font)self.label_3.setObjectName("label_3")self.PBReadCard = QtWidgets.QPushButton(Frame)self.PBReadCard.setGeometry(QtCore.QRect(10, 335, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBReadCard.setFont(font)self.PBReadCard.setObjectName("PBReadCard")self.PBWriteCard = QtWidgets.QPushButton(Frame)self.PBWriteCard.setGeometry(QtCore.QRect(10, 365, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBWriteCard.setFont(font)self.PBWriteCard.setObjectName("PBWriteCard")self.PBChangeKey = QtWidgets.QPushButton(Frame)self.PBChangeKey.setGeometry(QtCore.QRect(10, 395, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBChangeKey.setFont(font)self.PBChangeKey.setObjectName("PBChangeKey")self.PBSwitchOn = QtWidgets.QPushButton(Frame)self.PBSwitchOn.setGeometry(QtCore.QRect(10, 236, 131, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSwitchOn.setFont(font)self.PBSwitchOn.setObjectName("PBSwitchOn")self.PBSwitchOff = QtWidgets.QPushButton(Frame)self.PBSwitchOff.setGeometry(QtCore.QRect(140, 236, 91, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSwitchOff.setFont(font)self.PBSwitchOff.setObjectName("PBSwitchOff")self.PBClear = QtWidgets.QPushButton(Frame)self.PBClear.setGeometry(QtCore.QRect(10, 445, 220, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBClear.setFont(font)self.PBClear.setObjectName("PBClear")self.label_4 = QtWidgets.QLabel(Frame)self.label_4.setGeometry(QtCore.QRect(240, 286, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_4.setFont(font)self.label_4.setObjectName("label_4")self.spinBox = QtWidgets.QSpinBox(Frame)self.spinBox.setGeometry(QtCore.QRect(300, 276, 91, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.spinBox.setFont(font)self.spinBox.setMaximum(255)self.spinBox.setObjectName("spinBox")self.label_5 = QtWidgets.QLabel(Frame)self.label_5.setGeometry(QtCore.QRect(713, 216, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_5.setFont(font)self.label_5.setObjectName("label_5")self.textEdit_2 = QtWidgets.QTextEdit(Frame)self.textEdit_2.setGeometry(QtCore.QRect(771, 206, 300, 30))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(11)self.textEdit_2.setFont(font)self.textEdit_2.setObjectName("textEdit_2")self.CBSwitch = QtWidgets.QComboBox(Frame)self.CBSwitch.setGeometry(QtCore.QRect(300, 241, 111, 31))font = QtGui.QFont()font.setFamily("宋体")self.CBSwitch.setFont(font)self.CBSwitch.setObjectName("CBSwitch")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.CBSwitch.addItem("")self.label_6 = QtWidgets.QLabel(Frame)self.label_6.setGeometry(QtCore.QRect(241, 251, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_6.setFont(font)self.label_6.setObjectName("label_6")self.label_7 = QtWidgets.QLabel(Frame)self.label_7.setGeometry(QtCore.QRect(455, 251, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_7.setFont(font)self.label_7.setObjectName("label_7")self.spinBox_2 = QtWidgets.QSpinBox(Frame)self.spinBox_2.setGeometry(QtCore.QRect(518, 241, 91, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.spinBox_2.setFont(font)self.spinBox_2.setMaximum(65535)self.spinBox_2.setObjectName("spinBox_2")self.spinBox_3 = QtWidgets.QSpinBox(Frame)self.spinBox_3.setGeometry(QtCore.QRect(772, 240, 91, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.spinBox_3.setFont(font)self.spinBox_3.setMaximum(25)self.spinBox_3.setObjectName("spinBox_3")self.label_8 = QtWidgets.QLabel(Frame)self.label_8.setGeometry(QtCore.QRect(709, 250, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_8.setFont(font)self.label_8.setObjectName("label_8")self.label_9 = QtWidgets.QLabel(Frame)self.label_9.setGeometry(QtCore.QRect(240, 340, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_9.setFont(font)self.label_9.setObjectName("label_9")self.textEdit_3 = QtWidgets.QTextEdit(Frame)self.textEdit_3.setGeometry(QtCore.QRect(300, 330, 111, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.textEdit_3.setFont(font)self.textEdit_3.setObjectName("textEdit_3")self.label_10 = QtWidgets.QLabel(Frame)self.label_10.setGeometry(QtCore.QRect(459, 340, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_10.setFont(font)self.label_10.setObjectName("label_10")self.CBPage = QtWidgets.QComboBox(Frame)self.CBPage.setGeometry(QtCore.QRect(520, 330, 111, 31))font = QtGui.QFont()font.setFamily("宋体")self.CBPage.setFont(font)self.CBPage.setObjectName("CBPage")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBPage.addItem("")self.CBauth = QtWidgets.QComboBox(Frame)self.CBauth.setGeometry(QtCore.QRect(742, 330, 111, 31))font = QtGui.QFont()font.setFamily("宋体")self.CBauth.setFont(font)self.CBauth.setObjectName("CBauth")self.CBauth.addItem("")self.CBauth.addItem("")self.label_11 = QtWidgets.QLabel(Frame)self.label_11.setGeometry(QtCore.QRect(660, 340, 81, 16))font = QtGui.QFont()font.setFamily("宋体")self.label_11.setFont(font)self.label_11.setObjectName("label_11")self.label_12 = QtWidgets.QLabel(Frame)self.label_12.setGeometry(QtCore.QRect(880, 340, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_12.setFont(font)self.label_12.setObjectName("label_12")self.textEdit_4 = QtWidgets.QTextEdit(Frame)self.textEdit_4.setGeometry(QtCore.QRect(940, 330, 131, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.textEdit_4.setFont(font)self.textEdit_4.setObjectName("textEdit_4")self.label_13 = QtWidgets.QLabel(Frame)self.label_13.setGeometry(QtCore.QRect(240, 373, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_13.setFont(font)self.label_13.setObjectName("label_13")self.textEdit_5 = QtWidgets.QTextEdit(Frame)self.textEdit_5.setGeometry(QtCore.QRect(300, 365, 771, 41))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(10)self.textEdit_5.setFont(font)self.textEdit_5.setObjectName("textEdit_5")self.label_14 = QtWidgets.QLabel(Frame)self.label_14.setGeometry(QtCore.QRect(250, 420, 54, 12))font = QtGui.QFont()font.setFamily("宋体")self.label_14.setFont(font)self.label_14.setObjectName("label_14")self.textEdit_6 = QtWidgets.QTextEdit(Frame)self.textEdit_6.setGeometry(QtCore.QRect(300, 410, 361, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(10)self.textEdit_6.setFont(font)self.textEdit_6.setObjectName("textEdit_6")self.TEPort = QtWidgets.QTextEdit(Frame)self.TEPort.setGeometry(QtCore.QRect(601, 10, 71, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.TEPort.setFont(font)self.TEPort.setObjectName("TEPort")self.label_15 = QtWidgets.QLabel(Frame)self.label_15.setGeometry(QtCore.QRect(10, 170, 110, 20))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.label_15.setFont(font)self.label_15.setObjectName("label_15")self.textEdit_7 = QtWidgets.QTextEdit(Frame)self.textEdit_7.setGeometry(QtCore.QRect(126, 164, 201, 30))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.textEdit_7.setFont(font)self.textEdit_7.setObjectName("textEdit_7")self.listWidget = QtWidgets.QListWidget(Frame)self.listWidget.setGeometry(QtCore.QRect(10, 480, 1061, 160))font = QtGui.QFont()font.setFamily("宋体")self.listWidget.setFont(font)self.listWidget.setObjectName("listWidget")self.ChangeKey = QtWidgets.QComboBox(Frame)self.ChangeKey.setGeometry(QtCore.QRect(670, 410, 130, 31))font = QtGui.QFont()font.setFamily("宋体")self.ChangeKey.setFont(font)self.ChangeKey.setObjectName("ChangeKey")self.ChangeKey.addItem("")self.ChangeKey.addItem("")self.ChangeKey.addItem("")self.ChangeKey.addItem("")self.label_16 = QtWidgets.QLabel(Frame)self.label_16.setGeometry(QtCore.QRect(350, 170, 41, 20))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.label_16.setFont(font)self.label_16.setObjectName("label_16")self.textEdit_8 = QtWidgets.QTextEdit(Frame)self.textEdit_8.setGeometry(QtCore.QRect(400, 164, 71, 31))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(12)self.textEdit_8.setFont(font)self.textEdit_8.setObjectName("textEdit_8")self.label_17 = QtWidgets.QLabel(Frame)self.label_17.setGeometry(QtCore.QRect(168, 21, 161, 21))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(10)self.label_17.setFont(font)self.label_17.setObjectName("label_17")self.label_18 = QtWidgets.QLabel(Frame)self.label_18.setGeometry(QtCore.QRect(535, 22, 61, 16))font = QtGui.QFont()font.setFamily("宋体")font.setPointSize(10)self.label_18.setFont(font)self.label_18.setObjectName("label_18")self.PBSetRW = QtWidgets.QPushButton(Frame)self.PBSetRW.setGeometry(QtCore.QRect(842, 410, 230, 31))font = QtGui.QFont()font.setFamily("宋体")self.PBSetRW.setFont(font)self.PBSetRW.setObjectName("PBSetRW")self.label_19 = QtWidgets.QLabel(Frame)self.label_19.setGeometry(QtCore.QRect(746, 166, 330, 20))font = QtGui.QFont()font.setFamily("宋体")self.label_19.setFont(font)self.label_19.setObjectName("label_19")self.PBWifiSet = QtWidgets.QPushButton(Frame)self.PBWifiSet.setGeometry(QtCore.QRect(300, 445, 130, 31))self.PBWifiSet.setObjectName("PBWifiSet")self.textEdit_9 = QtWidgets.QTextEdit(Frame)self.textEdit_9.setGeometry(QtCore.QRect(10, 643, 1061, 40))self.textEdit_9.setObjectName("textEdit_9")self.PBGetmodel = QtWidgets.QPushButton(Frame)self.PBGetmodel.setGeometry(QtCore.QRect(515, 164, 160, 31))self.PBGetmodel.setObjectName("PBGetmodel")self.PB15693RW = QtWidgets.QPushButton(Frame)self.PB15693RW.setGeometry(QtCore.QRect(430, 445, 130, 31))self.PB15693RW.setObjectName("PB15693RW")self.retranslateUi(Frame)QtCore.QMetaObject.connectSlotsByName(Frame)def retranslateUi(self, Frame):_translate = QtCore.QCoreApplication.translateFrame.setWindowTitle(_translate("Frame", "Frame"))self.PBSearch.setText(_translate("Frame", "搜索所有在线设备"))item = self.tableWidget.horizontalHeaderItem(0)item.setText(_translate("Frame", "设备编号"))item = self.tableWidget.horizontalHeaderItem(1)item.setText(_translate("Frame", "设备IP"))item = self.tableWidget.horizontalHeaderItem(2)item.setText(_translate("Frame", "子网掩码"))item = self.tableWidget.horizontalHeaderItem(3)item.setText(_translate("Frame", "通讯端口"))item = self.tableWidget.horizontalHeaderItem(4)item.setText(_translate("Frame", "设备网关"))item = self.tableWidget.horizontalHeaderItem(5)item.setText(_translate("Frame", "网关MAC"))item = self.tableWidget.horizontalHeaderItem(6)item.setText(_translate("Frame", "目标服务器IP"))item = self.tableWidget.horizontalHeaderItem(7)item.setText(_translate("Frame", "服务器MAC"))item = self.tableWidget.horizontalHeaderItem(8)item.setText(_translate("Frame", "搜索标志"))item = self.tableWidget.horizontalHeaderItem(9)item.setText(_translate("Frame", "参数"))item = self.tableWidget.horizontalHeaderItem(10)item.setText(_translate("Frame", "出厂序号"))item = self.tableWidget.horizontalHeaderItem(11)item.setText(_translate("Frame", "STC系列 设备MAC"))item = self.tableWidget.horizontalHeaderItem(12)item.setText(_translate("Frame", "唯一硬件序号"))item = self.tableWidget.horizontalHeaderItem(13)item.setText(_translate("Frame", "CH系列 设备MAC"))item = self.tableWidget.horizontalHeaderItem(14)item.setText(_translate("Frame", "版本型号"))item = self.tableWidget.horizontalHeaderItem(15)item.setText(_translate("Frame", "固件日期"))self.PBEditpara.setText(_translate("Frame", "修改选定设备的网络参数"))self.PBSendDispBeep.setText(_translate("Frame", "驱动设备显示文字及蜂鸣响声"))self.PBSendDispTTS.setText(_translate("Frame", "驱动设备显示文字+TTS语音+继电器"))self.CBbeep.setItemText(0, _translate("Frame", "短滴一声"))self.CBbeep.setItemText(1, _translate("Frame", "短滴两声"))self.CBbeep.setItemText(2, _translate("Frame", "短滴三声"))self.CBbeep.setItemText(3, _translate("Frame", "长鸣一声"))self.CBbeep.setItemText(4, _translate("Frame", "长鸣两声"))self.CBbeep.setItemText(5, _translate("Frame", "长鸣三声"))self.CBbeep.setItemText(6, _translate("Frame", "一长一短"))self.CBbeep.setItemText(7, _translate("Frame", "一长两短"))self.CBbeep.setItemText(8, _translate("Frame", "一长三短"))self.CBbeep.setItemText(9, _translate("Frame", "两长一短"))self.CBbeep.setItemText(10, _translate("Frame", "两长两短"))self.CBbeep.setItemText(11, _translate("Frame", "两长三短"))self.textEdit.setPlaceholderText(_translate("Frame", "欢迎您使用我们的网络读卡器!"))self.PBSendDispSpk.setText(_translate("Frame", "驱动设备显示文字+组合语音+继电器"))self.CBspeak.setItemText(0, _translate("Frame", "0  零"))self.CBspeak.setItemText(1, _translate("Frame", "1  壹"))self.CBspeak.setItemText(2, _translate("Frame", "2  贰"))self.CBspeak.setItemText(3, _translate("Frame", "3  叁"))self.CBspeak.setItemText(4, _translate("Frame", "4  肆"))self.CBspeak.setItemText(5, _translate("Frame", "5  伍"))self.CBspeak.setItemText(6, _translate("Frame", "6  陆"))self.CBspeak.setItemText(7, _translate("Frame", "7  柒"))self.CBspeak.setItemText(8, _translate("Frame", "8  捌"))self.CBspeak.setItemText(9, _translate("Frame", "9  玖"))self.CBspeak.setItemText(10, _translate("Frame", "10 拾"))self.CBspeak.setItemText(11, _translate("Frame", "11 佰"))self.CBspeak.setItemText(12, _translate("Frame", "12 仟"))self.CBspeak.setItemText(13, _translate("Frame", "13 万"))self.CBspeak.setItemText(14, _translate("Frame", "14 点"))self.CBspeak.setItemText(15, _translate("Frame", "15 分"))self.CBspeak.setItemText(16, _translate("Frame", "16 角"))self.CBspeak.setItemText(17, _translate("Frame", "17 元"))self.CBspeak.setItemText(18, _translate("Frame", "18 设备故障,请看屏幕提示"))self.CBspeak.setItemText(19, _translate("Frame", "19 无效卡"))self.CBspeak.setItemText(20, _translate("Frame", "20 非本单位卡"))self.CBspeak.setItemText(21, _translate("Frame", "21 此卡类型不许可"))self.CBspeak.setItemText(22, _translate("Frame", "22 此卡已挂失"))self.CBspeak.setItemText(23, _translate("Frame", "23 卡已过期"))self.CBspeak.setItemText(24, _translate("Frame", "24 剩余次数"))self.CBspeak.setItemText(25, _translate("Frame", "25 余额不足"))self.CBspeak.setItemText(26, _translate("Frame", "26 次数不足"))self.CBspeak.setItemText(27, _translate("Frame", "27 密码错误"))self.CBspeak.setItemText(28, _translate("Frame", "28 记录已满"))self.CBspeak.setItemText(29, _translate("Frame", "29 本餐"))self.CBspeak.setItemText(30, _translate("Frame", "30 当天"))self.CBspeak.setItemText(31, _translate("Frame", "31 累计消费已超出"))self.CBspeak.setItemText(32, _translate("Frame", "32 累计次数已超出"))self.CBspeak.setItemText(33, _translate("Frame", "33 卡号"))self.CBspeak.setItemText(34, _translate("Frame", "34 机号"))self.CBspeak.setItemText(35, _translate("Frame", "35 余额"))self.CBspeak.setItemText(36, _translate("Frame", "36 本次消费"))self.CBspeak.setItemText(37, _translate("Frame", "37 本次加款"))self.CBspeak.setItemText(38, _translate("Frame", "38 不允许在此时段刷卡"))self.CBspeak.setItemText(39, _translate("Frame", "39 消费"))self.CBspeak.setItemText(40, _translate("Frame", "40 充值"))self.CBspeak.setItemText(41, _translate("Frame", "41 成功"))self.CBspeak.setItemText(42, _translate("Frame", "42 失败"))self.CBspeak.setItemText(43, _translate("Frame", "43 请输入密码"))self.CBspeak.setItemText(44, _translate("Frame", "44 请重新刷卡"))self.CBspeak.setItemText(45, _translate("Frame", "45 取餐"))self.CBspeak.setItemText(46, _translate("Frame", "46 没有订餐"))self.CBspeak.setItemText(47, _translate("Frame", "47 早上好"))self.CBspeak.setItemText(48, _translate("Frame", "48 中午好"))self.CBspeak.setItemText(49, _translate("Frame", "49 下午好"))self.CBspeak.setItemText(50, _translate("Frame", "50 晚上好"))self.CBspeak.setItemText(51, _translate("Frame", "51 已充值"))self.CBspeak.setItemText(52, _translate("Frame", "52 已取餐"))self.CBspeak.setItemText(53, _translate("Frame", "53 谢谢"))self.CBspeak.setItemText(54, _translate("Frame", "54 已消费"))self.CBspeak.setItemText(55, _translate("Frame", "55 刷卡"))self.CBspeak.setItemText(56, _translate("Frame", "56 订餐"))self.CBspeak.setItemText(57, _translate("Frame", "57 次"))self.label.setText(_translate("Frame", "蜂鸣响声:"))self.label_2.setText(_translate("Frame", "组合语音:"))self.label_3.setText(_translate("Frame", "显示文字:"))self.PBReadCard.setText(_translate("Frame", "驱动读写器读取指定扇区数据"))self.PBWriteCard.setText(_translate("Frame", "驱动读写器写数据到指定扇区"))self.PBChangeKey.setText(_translate("Frame", "驱动读写器更改指定扇区密码"))self.PBSwitchOn.setText(_translate("Frame", "驱动设备开启继电器"))self.PBSwitchOff.setText(_translate("Frame", "关闭继电器"))self.PBClear.setText(_translate("Frame", "清空以下 端口通讯数据报文"))self.label_4.setText(_translate("Frame", "显示延时:"))self.label_5.setText(_translate("Frame", "TTS语音:"))self.textEdit_2.setPlaceholderText(_translate("Frame", "欢迎您使用我们的网络读卡器!"))self.CBSwitch.setItemText(0, _translate("Frame", "全部继电器"))self.CBSwitch.setItemText(1, _translate("Frame", "1 号继电器"))self.CBSwitch.setItemText(2, _translate("Frame", "2 号继电器"))self.CBSwitch.setItemText(3, _translate("Frame", "3 号继电器"))self.CBSwitch.setItemText(4, _translate("Frame", "4 号继电器"))self.CBSwitch.setItemText(5, _translate("Frame", "5 号继电器"))self.CBSwitch.setItemText(6, _translate("Frame", "6 号继电器"))self.CBSwitch.setItemText(7, _translate("Frame", "7 号继电器"))self.CBSwitch.setItemText(8, _translate("Frame", "8 号继电器"))self.label_6.setText(_translate("Frame", "继电器号:"))self.label_7.setText(_translate("Frame", "开启延时:"))self.label_8.setText(_translate("Frame", "语音音量:"))self.label_9.setText(_translate("Frame", "IC卡卡号:"))self.textEdit_3.setPlaceholderText(_translate("Frame", "00000000"))self.label_10.setText(_translate("Frame", "选择扇区:"))self.CBPage.setItemText(0, _translate("Frame", "第  0 扇区"))self.CBPage.setItemText(1, _translate("Frame", "第  1 扇区"))self.CBPage.setItemText(2, _translate("Frame", "第  2 扇区"))self.CBPage.setItemText(3, _translate("Frame", "第  3 扇区"))self.CBPage.setItemText(4, _translate("Frame", "第  4 扇区"))self.CBPage.setItemText(5, _translate("Frame", "第  5 扇区"))self.CBPage.setItemText(6, _translate("Frame", "第  6 扇区"))self.CBPage.setItemText(7, _translate("Frame", "第  7 扇区"))self.CBPage.setItemText(8, _translate("Frame", "第  8 扇区"))self.CBPage.setItemText(9, _translate("Frame", "第  9 扇区"))self.CBPage.setItemText(10, _translate("Frame", "第 10 扇区"))self.CBPage.setItemText(11, _translate("Frame", "第 11 扇区"))self.CBPage.setItemText(12, _translate("Frame", "第 12 扇区"))self.CBPage.setItemText(13, _translate("Frame", "第 13 扇区"))self.CBPage.setItemText(14, _translate("Frame", "第 14 扇区"))self.CBPage.setItemText(15, _translate("Frame", "第 15 扇区"))self.CBauth.setItemText(0, _translate("Frame", "A 密码"))self.CBauth.setItemText(1, _translate("Frame", "B 密码"))self.label_11.setText(_translate("Frame", "密码认证类型:"))self.label_12.setText(_translate("Frame", "卡片密码:"))self.textEdit_4.setPlaceholderText(_translate("Frame", "FFFFFFFFFFFF"))self.label_13.setText(_translate("Frame", "扇区数据:"))self.textEdit_5.setPlaceholderText(_translate("Frame", "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"))self.label_14.setText(_translate("Frame", "新密码:"))self.textEdit_6.setPlaceholderText(_translate("Frame", "FF FF FF FF FF FF FF 07 80 69 FF FF FF FF FF FF"))self.TEPort.setPlaceholderText(_translate("Frame", "39169"))self.label_15.setText(_translate("Frame", "设备IP及端口:"))self.textEdit_7.setPlaceholderText(_translate("Frame", "192.168.1.228:39169"))self.ChangeKey.setItemText(0, _translate("Frame", "只修改A密码"))self.ChangeKey.setItemText(1, _translate("Frame", "修改A密码及控制字"))self.ChangeKey.setItemText(2, _translate("Frame", "修改A、B密码"))self.ChangeKey.setItemText(3, _translate("Frame", "修改A、B密码及控制字"))self.label_16.setText(_translate("Frame", "机号:"))self.textEdit_8.setPlaceholderText(_translate("Frame", "00000"))self.label_17.setText(_translate("Frame", "请选择与读卡器连接的网卡:"))self.label_18.setText(_translate("Frame", "通讯端口:"))self.PBSetRW.setText(_translate("Frame", "IC读写器设置主动读扇区及认证密钥"))self.label_19.setText(_translate("Frame", "在线设备参数信息栏,可双击选择在线设备再向其发送指令"))self.PBWifiSet.setText(_translate("Frame", "设置WIFI热点参数"))self.PBGetmodel.setText(_translate("Frame", "获取版本型号固件日期"))self.PB15693RW.setText(_translate("Frame", "15693卡读写测试"))if __name__ == "__main__":import sysapp = QtWidgets.QApplication(sys.argv)Frame = QtWidgets.QFrame()ui = Ui_Frame()ui.setupUi(Frame)Frame.show()sys.exit(app.exec_())

 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com