# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'cls_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(852, 701)
        self.groupBox = QtWidgets.QGroupBox(Dialog)
        self.groupBox.setGeometry(QtCore.QRect(20, 10, 181, 231))
        self.groupBox.setObjectName("groupBox")
        self.formLayoutWidget_3 = QtWidgets.QWidget(self.groupBox)
        self.formLayoutWidget_3.setGeometry(QtCore.QRect(10, 20, 161, 32))
        self.formLayoutWidget_3.setObjectName("formLayoutWidget_3")
        self.formLayout_3 = QtWidgets.QFormLayout(self.formLayoutWidget_3)
        self.formLayout_3.setContentsMargins(0, 0, 0, 0)
        self.formLayout_3.setObjectName("formLayout_3")
        self.ComboBox_3 = QtWidgets.QComboBox(self.formLayoutWidget_3)
        self.ComboBox_3.setMinimumSize(QtCore.QSize(100, 30))
        self.ComboBox_3.setMaximumSize(QtCore.QSize(100, 20))
        self.ComboBox_3.setStyleSheet("font: 10pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.ComboBox_3.setObjectName("ComboBox_3")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.ComboBox_3)
        self.Label_3 = QtWidgets.QLabel(self.formLayoutWidget_3)
        self.Label_3.setMinimumSize(QtCore.QSize(50, 30))
        self.Label_3.setMaximumSize(QtCore.QSize(50, 30))
        self.Label_3.setStyleSheet("font: 9pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.Label_3.setObjectName("Label_3")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Label_3)
        self.formLayoutWidget_2 = QtWidgets.QWidget(self.groupBox)
        self.formLayoutWidget_2.setGeometry(QtCore.QRect(10, 50, 266, 32))
        self.formLayoutWidget_2.setObjectName("formLayoutWidget_2")
        self.formLayout_2 = QtWidgets.QFormLayout(self.formLayoutWidget_2)
        self.formLayout_2.setContentsMargins(0, 0, 0, 0)
        self.formLayout_2.setObjectName("formLayout_2")
        self.Label_2 = QtWidgets.QLabel(self.formLayoutWidget_2)
        self.Label_2.setMinimumSize(QtCore.QSize(50, 30))
        self.Label_2.setMaximumSize(QtCore.QSize(50, 30))
        self.Label_2.setStyleSheet("font: 9pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.Label_2.setObjectName("Label_2")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Label_2)
        self.ComboBox_2 = QtWidgets.QComboBox(self.formLayoutWidget_2)
        self.ComboBox_2.setMinimumSize(QtCore.QSize(100, 30))
        self.ComboBox_2.setMaximumSize(QtCore.QSize(100, 20))
        self.ComboBox_2.setStyleSheet("font: 10pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.ComboBox_2.setObjectName("ComboBox_2")
        self.ComboBox_2.addItem("")
        self.ComboBox_2.addItem("")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.ComboBox_2)
        self.formLayoutWidget_5 = QtWidgets.QWidget(self.groupBox)
        self.formLayoutWidget_5.setGeometry(QtCore.QRect(10, 80, 201, 68))
        self.formLayoutWidget_5.setObjectName("formLayoutWidget_5")
        self.formLayout_5 = QtWidgets.QFormLayout(self.formLayoutWidget_5)
        self.formLayout_5.setContentsMargins(0, 0, 0, 0)
        self.formLayout_5.setObjectName("formLayout_5")
        self.ComboBox_5 = QtWidgets.QComboBox(self.formLayoutWidget_5)
        self.ComboBox_5.setMinimumSize(QtCore.QSize(100, 30))
        self.ComboBox_5.setMaximumSize(QtCore.QSize(100, 20))
        self.ComboBox_5.setStyleSheet("font: 10pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.ComboBox_5.setObjectName("ComboBox_5")
        self.ComboBox_5.addItem("")
        self.ComboBox_5.addItem("")
        self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.ComboBox_5)
        self.Label_5 = QtWidgets.QLabel(self.formLayoutWidget_5)
        self.Label_5.setMinimumSize(QtCore.QSize(50, 30))
        self.Label_5.setMaximumSize(QtCore.QSize(50, 30))
        self.Label_5.setStyleSheet("font: 9pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.Label_5.setObjectName("Label_5")
        self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Label_5)
        self.formLayoutWidget_6 = QtWidgets.QWidget(self.groupBox)
        self.formLayoutWidget_6.setGeometry(QtCore.QRect(10, 108, 201, 50))
        self.formLayoutWidget_6.setObjectName("formLayoutWidget_6")
        self.formLayout_6 = QtWidgets.QFormLayout(self.formLayoutWidget_6)
        self.formLayout_6.setContentsMargins(0, 0, 0, 0)
        self.formLayout_6.setObjectName("formLayout_6")
        self.Label_6 = QtWidgets.QLabel(self.formLayoutWidget_6)
        self.Label_6.setMinimumSize(QtCore.QSize(50, 30))
        self.Label_6.setMaximumSize(QtCore.QSize(50, 30))
        self.Label_6.setStyleSheet("font: 9pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.Label_6.setObjectName("Label_6")
        self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Label_6)
        self.ComboBox_6 = QtWidgets.QComboBox(self.formLayoutWidget_6)
        self.ComboBox_6.setMinimumSize(QtCore.QSize(100, 30))
        self.ComboBox_6.setMaximumSize(QtCore.QSize(100, 20))
        self.ComboBox_6.setStyleSheet("font: 10pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.ComboBox_6.setObjectName("ComboBox_6")
        self.ComboBox_6.addItem("")
        self.ComboBox_6.addItem("")
        self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.ComboBox_6)
        self.formLayoutWidget_4 = QtWidgets.QWidget(self.groupBox)
        self.formLayoutWidget_4.setGeometry(QtCore.QRect(10, 136, 201, 41))
        self.formLayoutWidget_4.setObjectName("formLayoutWidget_4")
        self.formLayout_4 = QtWidgets.QFormLayout(self.formLayoutWidget_4)
        self.formLayout_4.setContentsMargins(0, 0, 0, 0)
        self.formLayout_4.setObjectName("formLayout_4")
        self.ComboBox_4 = QtWidgets.QComboBox(self.formLayoutWidget_4)
        self.ComboBox_4.setMinimumSize(QtCore.QSize(100, 30))
        self.ComboBox_4.setMaximumSize(QtCore.QSize(100, 20))
        self.ComboBox_4.setStyleSheet("font: 10pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.ComboBox_4.setObjectName("ComboBox_4")
        self.ComboBox_4.addItem("")
        self.ComboBox_4.addItem("")
        self.ComboBox_4.addItem("")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.ComboBox_4)
        self.Label_4 = QtWidgets.QLabel(self.formLayoutWidget_4)
        self.Label_4.setMinimumSize(QtCore.QSize(50, 30))
        self.Label_4.setMaximumSize(QtCore.QSize(50, 30))
        self.Label_4.setStyleSheet("font: 9pt \"04b_08\";\n"
"font: 10pt \"宋体\";\n"
"")
        self.Label_4.setObjectName("Label_4")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Label_4)
        self.pushButton = QtWidgets.QPushButton(self.groupBox)
        self.pushButton.setGeometry(QtCore.QRect(10, 180, 161, 41))
        self.pushButton.setObjectName("pushButton")
        self.groupBox_2 = QtWidgets.QGroupBox(Dialog)
        self.groupBox_2.setGeometry(QtCore.QRect(20, 500, 181, 161))
        self.groupBox_2.setObjectName("groupBox_2")
        self.radioButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.radioButton.setGeometry(QtCore.QRect(20, 30, 61, 17))
        self.radioButton.setTabletTracking(False)
        self.radioButton.setToolTip("")
        self.radioButton.setChecked(True)
        self.radioButton.setObjectName("radioButton")
        self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox_2)
        self.radioButton_2.setGeometry(QtCore.QRect(100, 30, 61, 17))
        self.radioButton_2.setObjectName("radioButton_2")
        self.checkBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox.setGeometry(QtCore.QRect(20, 60, 111, 17))
        self.checkBox.setObjectName("checkBox")
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_2.setGeometry(QtCore.QRect(20, 90, 71, 17))
        self.checkBox_2.setObjectName("checkBox_2")
        self.lineEdit = QtWidgets.QLineEdit(self.groupBox_2)
        self.lineEdit.setGeometry(QtCore.QRect(90, 90, 71, 20))
        self.lineEdit.setObjectName("lineEdit")
        self.commandLinkButton = QtWidgets.QCommandLinkButton(self.groupBox_2)
        self.commandLinkButton.setGeometry(QtCore.QRect(90, 120, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.commandLinkButton.setFont(font)
        icon = QtGui.QIcon.fromTheme("空")
        self.commandLinkButton.setIcon(icon)
        self.commandLinkButton.setObjectName("commandLinkButton")
        self.groupBox_5 = QtWidgets.QGroupBox(Dialog)
        self.groupBox_5.setGeometry(QtCore.QRect(230, 10, 621, 481))
        self.groupBox_5.setObjectName("groupBox_5")
        self.ReadBrowser = QtWidgets.QTextBrowser(self.groupBox_5)
        self.ReadBrowser.setGeometry(QtCore.QRect(10, 20, 601, 451))
        self.ReadBrowser.setObjectName("ReadBrowser")
        self.groupBox_6 = QtWidgets.QGroupBox(Dialog)
        self.groupBox_6.setGeometry(QtCore.QRect(230, 500, 621, 161))
        self.groupBox_6.setObjectName("groupBox_6")
        self.plainTextEdit = QtWidgets.QPlainTextEdit(self.groupBox_6)
        self.plainTextEdit.setGeometry(QtCore.QRect(10, 20, 521, 131))
        self.plainTextEdit.setObjectName("plainTextEdit")
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_6)
        self.pushButton_3.setGeometry(QtCore.QRect(530, 20, 81, 131))
        self.pushButton_3.setObjectName("pushButton_3")
        self.commandLinkButton_3 = QtWidgets.QCommandLinkButton(Dialog)
        self.commandLinkButton_3.setGeometry(QtCore.QRect(760, 664, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.commandLinkButton_3.setFont(font)
        icon = QtGui.QIcon.fromTheme("空")
        self.commandLinkButton_3.setIcon(icon)
        self.commandLinkButton_3.setObjectName("commandLinkButton_3")
        self.groupBox_7 = QtWidgets.QGroupBox(Dialog)
        self.groupBox_7.setGeometry(QtCore.QRect(20, 260, 181, 161))
        self.groupBox_7.setObjectName("groupBox_7")
        self.radioButton_3 = QtWidgets.QRadioButton(self.groupBox_7)
        self.radioButton_3.setGeometry(QtCore.QRect(20, 30, 61, 17))
        self.radioButton_3.setTabletTracking(False)
        self.radioButton_3.setToolTip("")
        self.radioButton_3.setChecked(True)
        self.radioButton_3.setObjectName("radioButton_3")
        self.radioButton_4 = QtWidgets.QRadioButton(self.groupBox_7)
        self.radioButton_4.setGeometry(QtCore.QRect(100, 30, 61, 17))
        self.radioButton_4.setObjectName("radioButton_4")
        self.commandLinkButton_2 = QtWidgets.QCommandLinkButton(self.groupBox_7)
        self.commandLinkButton_2.setGeometry(QtCore.QRect(80, 120, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.commandLinkButton_2.setFont(font)
        icon = QtGui.QIcon.fromTheme("空")
        self.commandLinkButton_2.setIcon(icon)
        self.commandLinkButton_2.setObjectName("commandLinkButton_2")
        self.lineEdit_2 = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_2.setGeometry(QtCore.QRect(580, 670, 81, 20))
        self.lineEdit_2.setReadOnly(True)
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.lineEdit_3 = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_3.setGeometry(QtCore.QRect(680, 670, 81, 20))
        self.lineEdit_3.setReadOnly(True)
        self.lineEdit_3.setObjectName("lineEdit_3")
        self.commandLinkButton_4 = QtWidgets.QCommandLinkButton(Dialog)
        self.commandLinkButton_4.setGeometry(QtCore.QRect(240, 666, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.commandLinkButton_4.setFont(font)
        icon = QtGui.QIcon.fromTheme("空")
        self.commandLinkButton_4.setIcon(icon)
        self.commandLinkButton_4.setObjectName("commandLinkButton_4")

        self.retranslateUi(Dialog)
        self.commandLinkButton.clicked.connect(self.plainTextEdit.clear)
        self.commandLinkButton_2.clicked.connect(self.ReadBrowser.clear)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.pushButton, self.pushButton_3)
        Dialog.setTabOrder(self.pushButton_3, self.ComboBox_2)
        Dialog.setTabOrder(self.ComboBox_2, self.ComboBox_3)
        Dialog.setTabOrder(self.ComboBox_3, self.ComboBox_4)
        Dialog.setTabOrder(self.ComboBox_4, self.ComboBox_5)
        Dialog.setTabOrder(self.ComboBox_5, self.ComboBox_6)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.groupBox.setTitle(_translate("Dialog", "串口区"))
        self.ComboBox_3.setToolTip(_translate("Dialog", "<html><head/><body><p align=\"center\"><br/></p></body></html>"))
        self.Label_3.setText(_translate("Dialog", "串口号："))
        self.Label_2.setText(_translate("Dialog", "波特率："))
        self.ComboBox_2.setToolTip(_translate("Dialog", "<html><head/><body><p align=\"center\"><br/></p></body></html>"))
        self.ComboBox_2.setItemText(0, _translate("Dialog", "9600"))
        self.ComboBox_2.setItemText(1, _translate("Dialog", "115200"))
        self.ComboBox_5.setToolTip(_translate("Dialog", "<html><head/><body><p align=\"center\"><br/></p></body></html>"))
        self.ComboBox_5.setItemText(0, _translate("Dialog", "8"))
        self.ComboBox_5.setItemText(1, _translate("Dialog", "7"))
        self.Label_5.setText(_translate("Dialog", "数据位"))
        self.Label_6.setText(_translate("Dialog", "停止位"))
        self.ComboBox_6.setToolTip(_translate("Dialog", "<html><head/><body><p align=\"center\"><br/></p></body></html>"))
        self.ComboBox_6.setItemText(0, _translate("Dialog", "1"))
        self.ComboBox_6.setItemText(1, _translate("Dialog", "2"))
        self.ComboBox_4.setToolTip(_translate("Dialog", "<html><head/><body><p align=\"center\"><br/></p></body></html>"))
        self.ComboBox_4.setItemText(0, _translate("Dialog", "NONE"))
        self.ComboBox_4.setItemText(1, _translate("Dialog", "ODD"))
        self.ComboBox_4.setItemText(2, _translate("Dialog", "EVEN"))
        self.Label_4.setText(_translate("Dialog", "校验位："))
        self.pushButton.setText(_translate("Dialog", "打开串口"))
        self.groupBox_2.setTitle(_translate("Dialog", "发送设置"))
        self.radioButton.setText(_translate("Dialog", "ASCII"))
        self.radioButton_2.setText(_translate("Dialog", "Hex"))
        self.checkBox.setText(_translate("Dialog", "数据自动回车"))
        self.checkBox_2.setText(_translate("Dialog", "循环发送"))
        self.commandLinkButton.setText(_translate("Dialog", "清除发送区"))
        self.groupBox_5.setTitle(_translate("Dialog", "数据接收区"))
        self.groupBox_6.setTitle(_translate("Dialog", "数据输入区"))
        self.pushButton_3.setText(_translate("Dialog", "发送"))
        self.commandLinkButton_3.setText(_translate("Dialog", "复位计数"))
        self.groupBox_7.setTitle(_translate("Dialog", "接收设置"))
        self.radioButton_3.setText(_translate("Dialog", "ASCII"))
        self.radioButton_4.setText(_translate("Dialog", "Hex"))
        self.commandLinkButton_2.setText(_translate("Dialog", "清除接收区"))
        self.commandLinkButton_4.setText(_translate("Dialog", "清除窗口"))
