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

# Form implementation generated from reading ui file 'ui_demo_1.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(733, 501)
        self.formGroupBox = QtWidgets.QGroupBox(Form)
        self.formGroupBox.setGeometry(QtCore.QRect(20, 20, 167, 241))
        self.formGroupBox.setObjectName("formGroupBox")
        self.formLayout = QtWidgets.QFormLayout(self.formGroupBox)
        self.formLayout.setContentsMargins(10, 10, 10, 10)
        self.formLayout.setSpacing(10)
        self.formLayout.setObjectName("formLayout")
        self.s1__lb_1 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_1.setObjectName("s1__lb_1")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.s1__lb_1)
        self.s1__box_1 = QtWidgets.QPushButton(self.formGroupBox)
        self.s1__box_1.setAutoRepeatInterval(100)
        self.s1__box_1.setDefault(True)
        self.s1__box_1.setObjectName("s1__box_1")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.s1__box_1)
        self.s1__lb_2 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_2.setObjectName("s1__lb_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.s1__lb_2)
        self.s1__box_2 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_2.setObjectName("s1__box_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.s1__box_2)
        self.state_label = QtWidgets.QLabel(self.formGroupBox)
        self.state_label.setText("")
        self.state_label.setTextFormat(QtCore.Qt.AutoText)
        self.state_label.setScaledContents(True)
        self.state_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.state_label.setObjectName("state_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.SpanningRole, self.state_label)
        self.s1__lb_3 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_3.setObjectName("s1__lb_3")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.s1__lb_3)
        self.s1__box_3 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_3.setObjectName("s1__box_3")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.s1__box_3)
        self.open_button = QtWidgets.QPushButton(self.formGroupBox)
        self.open_button.setObjectName("open_button")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.SpanningRole, self.open_button)
        self.close_button = QtWidgets.QPushButton(self.formGroupBox)
        self.close_button.setObjectName("close_button")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.SpanningRole, self.close_button)
        self.groupBox1 = QtWidgets.QGroupBox(Form)
        self.groupBox1.setGeometry(QtCore.QRect(200, 20, 451, 241))
        self.groupBox1.setObjectName("groupBox1")
        self.label = QtWidgets.QLabel(self.groupBox1)
        self.label.setGeometry(QtCore.QRect(20, 20, 54, 12))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.groupBox1)
        self.label_2.setGeometry(QtCore.QRect(20, 80, 54, 12))
        self.label_2.setObjectName("label_2")
        self.label_3 = QtWidgets.QLabel(self.groupBox1)
        self.label_3.setGeometry(QtCore.QRect(20, 140, 54, 12))
        self.label_3.setObjectName("label_3")
        self.silder1 = QtWidgets.QSlider(self.groupBox1)
        self.silder1.setGeometry(QtCore.QRect(120, 20, 291, 22))
        self.silder1.setMinimum(-10000)
        self.silder1.setMaximum(10000)
        self.silder1.setSingleStep(1000)
        self.silder1.setPageStep(1000)
        self.silder1.setProperty("value", 0)
        self.silder1.setSliderPosition(0)
        self.silder1.setOrientation(QtCore.Qt.Horizontal)
        self.silder1.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder1.setTickInterval(100)
        self.silder1.setObjectName("silder1")
        self.silder2 = QtWidgets.QSlider(self.groupBox1)
        self.silder2.setGeometry(QtCore.QRect(120, 80, 291, 22))
        self.silder2.setMinimum(-10000)
        self.silder2.setMaximum(10000)
        self.silder2.setSingleStep(1000)
        self.silder2.setProperty("value", 0)
        self.silder2.setSliderPosition(0)
        self.silder2.setOrientation(QtCore.Qt.Horizontal)
        self.silder2.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder2.setTickInterval(100)
        self.silder2.setObjectName("silder2")
        self.silder3 = QtWidgets.QSlider(self.groupBox1)
        self.silder3.setGeometry(QtCore.QRect(120, 130, 291, 22))
        self.silder3.setMinimum(-10000)
        self.silder3.setMaximum(10000)
        self.silder3.setSingleStep(1000)
        self.silder3.setProperty("value", 0)
        self.silder3.setSliderPosition(0)
        self.silder3.setOrientation(QtCore.Qt.Horizontal)
        self.silder3.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder3.setTickInterval(100)
        self.silder3.setObjectName("silder3")
        self.label_4 = QtWidgets.QLabel(self.groupBox1)
        self.label_4.setGeometry(QtCore.QRect(20, 210, 54, 12))
        self.label_4.setObjectName("label_4")
        self.zoom_add = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_add.setGeometry(QtCore.QRect(120, 200, 75, 23))
        self.zoom_add.setObjectName("zoom_add")
        self.zoom_stop = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_stop.setGeometry(QtCore.QRect(220, 200, 75, 23))
        self.zoom_stop.setObjectName("zoom_stop")
        self.zoom_sub = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_sub.setGeometry(QtCore.QRect(330, 200, 75, 23))
        self.zoom_sub.setObjectName("zoom_sub")
        self.groupBox2 = QtWidgets.QGroupBox(Form)
        self.groupBox2.setGeometry(QtCore.QRect(20, 270, 181, 201))
        self.groupBox2.setObjectName("groupBox2")
        self.select1 = QtWidgets.QPushButton(self.groupBox2)
        self.select1.setGeometry(QtCore.QRect(40, 20, 75, 23))
        self.select1.setObjectName("select1")
        self.select2 = QtWidgets.QPushButton(self.groupBox2)
        self.select2.setGeometry(QtCore.QRect(40, 70, 75, 23))
        self.select2.setObjectName("select2")
        self.select3 = QtWidgets.QPushButton(self.groupBox2)
        self.select3.setGeometry(QtCore.QRect(40, 120, 75, 23))
        self.select3.setObjectName("select3")
        self.select4 = QtWidgets.QPushButton(self.groupBox2)
        self.select4.setGeometry(QtCore.QRect(40, 170, 75, 23))
        self.select4.setObjectName("select4")
        self.groupBox4 = QtWidgets.QGroupBox(Form)
        self.groupBox4.setGeometry(QtCore.QRect(220, 270, 231, 201))
        self.groupBox4.setObjectName("groupBox4")
        self.k_photo = QtWidgets.QPushButton(self.groupBox4)
        self.k_photo.setGeometry(QtCore.QRect(10, 20, 75, 23))
        self.k_photo.setObjectName("k_photo")
        self.h_photo = QtWidgets.QPushButton(self.groupBox4)
        self.h_photo.setGeometry(QtCore.QRect(120, 20, 75, 23))
        self.h_photo.setObjectName("h_photo")
        self.k_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec1.setGeometry(QtCore.QRect(10, 80, 75, 23))
        self.k_rec1.setObjectName("k_rec1")
        self.k_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec2.setGeometry(QtCore.QRect(10, 150, 75, 23))
        self.k_rec2.setObjectName("k_rec2")
        self.h_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec1.setGeometry(QtCore.QRect(120, 80, 75, 23))
        self.h_rec1.setObjectName("h_rec1")
        self.h_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec2.setGeometry(QtCore.QRect(120, 150, 75, 23))
        self.h_rec2.setObjectName("h_rec2")

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.formGroupBox.setTitle(_translate("Form", "串口设置"))
        self.s1__lb_1.setText(_translate("Form", "串口检测："))
        self.s1__box_1.setText(_translate("Form", "检测串口"))
        self.s1__lb_2.setText(_translate("Form", "串口选择："))
        self.s1__lb_3.setText(_translate("Form", "波特率："))
        self.s1__box_3.setItemText(0, _translate("Form", "115200"))
        self.s1__box_3.setItemText(1, _translate("Form", "2400"))
        self.s1__box_3.setItemText(2, _translate("Form", "4800"))
        self.s1__box_3.setItemText(3, _translate("Form", "9600"))
        self.s1__box_3.setItemText(4, _translate("Form", "14400"))
        self.s1__box_3.setItemText(5, _translate("Form", "19200"))
        self.s1__box_3.setItemText(6, _translate("Form", "38400"))
        self.s1__box_3.setItemText(7, _translate("Form", "57600"))
        self.s1__box_3.setItemText(8, _translate("Form", "76800"))
        self.s1__box_3.setItemText(9, _translate("Form", "12800"))
        self.s1__box_3.setItemText(10, _translate("Form", "230400"))
        self.s1__box_3.setItemText(11, _translate("Form", "460800"))
        self.open_button.setText(_translate("Form", "打开串口"))
        self.close_button.setText(_translate("Form", "关闭串口"))
        self.groupBox1.setTitle(_translate("Form", "云台控制"))
        self.label.setText(_translate("Form", "PITCH"))
        self.label_2.setText(_translate("Form", "ROLL"))
        self.label_3.setText(_translate("Form", "YAW"))
        self.label_4.setText(_translate("Form", "ZOOM"))
        self.zoom_add.setText(_translate("Form", "ZOOM+"))
        self.zoom_stop.setText(_translate("Form", "STOP"))
        self.zoom_sub.setText(_translate("Form", "ZOOM-"))
        self.groupBox2.setTitle(_translate("Form", "视频选择"))
        self.select1.setText(_translate("Form", "HDMI"))
        self.select2.setText(_translate("Form", "INFRA"))
        self.select3.setText(_translate("Form", "HDMI_IN"))
        self.select4.setText(_translate("Form", "INFOR_HDMI"))
        self.groupBox4.setTitle(_translate("Form", "GroupBox"))
        self.k_photo.setText(_translate("Form", "可见光拍照"))
        self.h_photo.setText(_translate("Form", "红外拍照"))
        self.k_rec1.setText(_translate("Form", "可见光开"))
        self.k_rec2.setText(_translate("Form", "可将光关"))
        self.h_rec1.setText(_translate("Form", "红外开"))
        self.h_rec2.setText(_translate("Form", "红外关"))

ef205af6a9c257d398ffd7af640bf83658821568
<mask token>


class Ui_Form(object):
    <mask token>
    <mask token>

<mask token>


class Ui_Form(object):
    <mask token>

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate('Form', 'Form'))
        self.formGroupBox.setTitle(_translate('Form', '串口设置'))
        self.s1__lb_1.setText(_translate('Form', '串口检测：'))
        self.s1__box_1.setText(_translate('Form', '检测串口'))
        self.s1__lb_2.setText(_translate('Form', '串口选择：'))
        self.s1__lb_3.setText(_translate('Form', '波特率：'))
        self.s1__box_3.setItemText(0, _translate('Form', '115200'))
        self.s1__box_3.setItemText(1, _translate('Form', '2400'))
        self.s1__box_3.setItemText(2, _translate('Form', '4800'))
        self.s1__box_3.setItemText(3, _translate('Form', '9600'))
        self.s1__box_3.setItemText(4, _translate('Form', '14400'))
        self.s1__box_3.setItemText(5, _translate('Form', '19200'))
        self.s1__box_3.setItemText(6, _translate('Form', '38400'))
        self.s1__box_3.setItemText(7, _translate('Form', '57600'))
        self.s1__box_3.setItemText(8, _translate('Form', '76800'))
        self.s1__box_3.setItemText(9, _translate('Form', '12800'))
        self.s1__box_3.setItemText(10, _translate('Form', '230400'))
        self.s1__box_3.setItemText(11, _translate('Form', '460800'))
        self.open_button.setText(_translate('Form', '打开串口'))
        self.close_button.setText(_translate('Form', '关闭串口'))
        self.groupBox1.setTitle(_translate('Form', '云台控制'))
        self.label.setText(_translate('Form', 'PITCH'))
        self.label_2.setText(_translate('Form', 'ROLL'))
        self.label_3.setText(_translate('Form', 'YAW'))
        self.label_4.setText(_translate('Form', 'ZOOM'))
        self.zoom_add.setText(_translate('Form', 'ZOOM+'))
        self.zoom_stop.setText(_translate('Form', 'STOP'))
        self.zoom_sub.setText(_translate('Form', 'ZOOM-'))
        self.groupBox2.setTitle(_translate('Form', '视频选择'))
        self.select1.setText(_translate('Form', 'HDMI'))
        self.select2.setText(_translate('Form', 'INFRA'))
        self.select3.setText(_translate('Form', 'HDMI_IN'))
        self.select4.setText(_translate('Form', 'INFOR_HDMI'))
        self.groupBox4.setTitle(_translate('Form', 'GroupBox'))
        self.k_photo.setText(_translate('Form', '可见光拍照'))
        self.h_photo.setText(_translate('Form', '红外拍照'))
        self.k_rec1.setText(_translate('Form', '可见光开'))
        self.k_rec2.setText(_translate('Form', '可将光关'))
        self.h_rec1.setText(_translate('Form', '红外开'))
        self.h_rec2.setText(_translate('Form', '红外关'))

<mask token>


class Ui_Form(object):

    def setupUi(self, Form):
        Form.setObjectName('Form')
        Form.resize(733, 501)
        self.formGroupBox = QtWidgets.QGroupBox(Form)
        self.formGroupBox.setGeometry(QtCore.QRect(20, 20, 167, 241))
        self.formGroupBox.setObjectName('formGroupBox')
        self.formLayout = QtWidgets.QFormLayout(self.formGroupBox)
        self.formLayout.setContentsMargins(10, 10, 10, 10)
        self.formLayout.setSpacing(10)
        self.formLayout.setObjectName('formLayout')
        self.s1__lb_1 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_1.setObjectName('s1__lb_1')
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.
            s1__lb_1)
        self.s1__box_1 = QtWidgets.QPushButton(self.formGroupBox)
        self.s1__box_1.setAutoRepeatInterval(100)
        self.s1__box_1.setDefault(True)
        self.s1__box_1.setObjectName('s1__box_1')
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.
            s1__box_1)
        self.s1__lb_2 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_2.setObjectName('s1__lb_2')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.
            s1__lb_2)
        self.s1__box_2 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_2.setObjectName('s1__box_2')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.
            s1__box_2)
        self.state_label = QtWidgets.QLabel(self.formGroupBox)
        self.state_label.setText('')
        self.state_label.setTextFormat(QtCore.Qt.AutoText)
        self.state_label.setScaledContents(True)
        self.state_label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.
            AlignTrailing | QtCore.Qt.AlignVCenter)
        self.state_label.setObjectName('state_label')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.SpanningRole,
            self.state_label)
        self.s1__lb_3 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_3.setObjectName('s1__lb_3')
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.
            s1__lb_3)
        self.s1__box_3 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_3.setObjectName('s1__box_3')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.
            s1__box_3)
        self.open_button = QtWidgets.QPushButton(self.formGroupBox)
        self.open_button.setObjectName('open_button')
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.SpanningRole,
            self.open_button)
        self.close_button = QtWidgets.QPushButton(self.formGroupBox)
        self.close_button.setObjectName('close_button')
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.SpanningRole,
            self.close_button)
        self.groupBox1 = QtWidgets.QGroupBox(Form)
        self.groupBox1.setGeometry(QtCore.QRect(200, 20, 451, 241))
        self.groupBox1.setObjectName('groupBox1')
        self.label = QtWidgets.QLabel(self.groupBox1)
        self.label.setGeometry(QtCore.QRect(20, 20, 54, 12))
        self.label.setObjectName('label')
        self.label_2 = QtWidgets.QLabel(self.groupBox1)
        self.label_2.setGeometry(QtCore.QRect(20, 80, 54, 12))
        self.label_2.setObjectName('label_2')
        self.label_3 = QtWidgets.QLabel(self.groupBox1)
        self.label_3.setGeometry(QtCore.QRect(20, 140, 54, 12))
        self.label_3.setObjectName('label_3')
        self.silder1 = QtWidgets.QSlider(self.groupBox1)
        self.silder1.setGeometry(QtCore.QRect(120, 20, 291, 22))
        self.silder1.setMinimum(-10000)
        self.silder1.setMaximum(10000)
        self.silder1.setSingleStep(1000)
        self.silder1.setPageStep(1000)
        self.silder1.setProperty('value', 0)
        self.silder1.setSliderPosition(0)
        self.silder1.setOrientation(QtCore.Qt.Horizontal)
        self.silder1.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder1.setTickInterval(100)
        self.silder1.setObjectName('silder1')
        self.silder2 = QtWidgets.QSlider(self.groupBox1)
        self.silder2.setGeometry(QtCore.QRect(120, 80, 291, 22))
        self.silder2.setMinimum(-10000)
        self.silder2.setMaximum(10000)
        self.silder2.setSingleStep(1000)
        self.silder2.setProperty('value', 0)
        self.silder2.setSliderPosition(0)
        self.silder2.setOrientation(QtCore.Qt.Horizontal)
        self.silder2.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder2.setTickInterval(100)
        self.silder2.setObjectName('silder2')
        self.silder3 = QtWidgets.QSlider(self.groupBox1)
        self.silder3.setGeometry(QtCore.QRect(120, 130, 291, 22))
        self.silder3.setMinimum(-10000)
        self.silder3.setMaximum(10000)
        self.silder3.setSingleStep(1000)
        self.silder3.setProperty('value', 0)
        self.silder3.setSliderPosition(0)
        self.silder3.setOrientation(QtCore.Qt.Horizontal)
        self.silder3.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder3.setTickInterval(100)
        self.silder3.setObjectName('silder3')
        self.label_4 = QtWidgets.QLabel(self.groupBox1)
        self.label_4.setGeometry(QtCore.QRect(20, 210, 54, 12))
        self.label_4.setObjectName('label_4')
        self.zoom_add = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_add.setGeometry(QtCore.QRect(120, 200, 75, 23))
        self.zoom_add.setObjectName('zoom_add')
        self.zoom_stop = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_stop.setGeometry(QtCore.QRect(220, 200, 75, 23))
        self.zoom_stop.setObjectName('zoom_stop')
        self.zoom_sub = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_sub.setGeometry(QtCore.QRect(330, 200, 75, 23))
        self.zoom_sub.setObjectName('zoom_sub')
        self.groupBox2 = QtWidgets.QGroupBox(Form)
        self.groupBox2.setGeometry(QtCore.QRect(20, 270, 181, 201))
        self.groupBox2.setObjectName('groupBox2')
        self.select1 = QtWidgets.QPushButton(self.groupBox2)
        self.select1.setGeometry(QtCore.QRect(40, 20, 75, 23))
        self.select1.setObjectName('select1')
        self.select2 = QtWidgets.QPushButton(self.groupBox2)
        self.select2.setGeometry(QtCore.QRect(40, 70, 75, 23))
        self.select2.setObjectName('select2')
        self.select3 = QtWidgets.QPushButton(self.groupBox2)
        self.select3.setGeometry(QtCore.QRect(40, 120, 75, 23))
        self.select3.setObjectName('select3')
        self.select4 = QtWidgets.QPushButton(self.groupBox2)
        self.select4.setGeometry(QtCore.QRect(40, 170, 75, 23))
        self.select4.setObjectName('select4')
        self.groupBox4 = QtWidgets.QGroupBox(Form)
        self.groupBox4.setGeometry(QtCore.QRect(220, 270, 231, 201))
        self.groupBox4.setObjectName('groupBox4')
        self.k_photo = QtWidgets.QPushButton(self.groupBox4)
        self.k_photo.setGeometry(QtCore.QRect(10, 20, 75, 23))
        self.k_photo.setObjectName('k_photo')
        self.h_photo = QtWidgets.QPushButton(self.groupBox4)
        self.h_photo.setGeometry(QtCore.QRect(120, 20, 75, 23))
        self.h_photo.setObjectName('h_photo')
        self.k_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec1.setGeometry(QtCore.QRect(10, 80, 75, 23))
        self.k_rec1.setObjectName('k_rec1')
        self.k_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec2.setGeometry(QtCore.QRect(10, 150, 75, 23))
        self.k_rec2.setObjectName('k_rec2')
        self.h_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec1.setGeometry(QtCore.QRect(120, 80, 75, 23))
        self.h_rec1.setObjectName('h_rec1')
        self.h_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec2.setGeometry(QtCore.QRect(120, 150, 75, 23))
        self.h_rec2.setObjectName('h_rec2')
        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate('Form', 'Form'))
        self.formGroupBox.setTitle(_translate('Form', '串口设置'))
        self.s1__lb_1.setText(_translate('Form', '串口检测：'))
        self.s1__box_1.setText(_translate('Form', '检测串口'))
        self.s1__lb_2.setText(_translate('Form', '串口选择：'))
        self.s1__lb_3.setText(_translate('Form', '波特率：'))
        self.s1__box_3.setItemText(0, _translate('Form', '115200'))
        self.s1__box_3.setItemText(1, _translate('Form', '2400'))
        self.s1__box_3.setItemText(2, _translate('Form', '4800'))
        self.s1__box_3.setItemText(3, _translate('Form', '9600'))
        self.s1__box_3.setItemText(4, _translate('Form', '14400'))
        self.s1__box_3.setItemText(5, _translate('Form', '19200'))
        self.s1__box_3.setItemText(6, _translate('Form', '38400'))
        self.s1__box_3.setItemText(7, _translate('Form', '57600'))
        self.s1__box_3.setItemText(8, _translate('Form', '76800'))
        self.s1__box_3.setItemText(9, _translate('Form', '12800'))
        self.s1__box_3.setItemText(10, _translate('Form', '230400'))
        self.s1__box_3.setItemText(11, _translate('Form', '460800'))
        self.open_button.setText(_translate('Form', '打开串口'))
        self.close_button.setText(_translate('Form', '关闭串口'))
        self.groupBox1.setTitle(_translate('Form', '云台控制'))
        self.label.setText(_translate('Form', 'PITCH'))
        self.label_2.setText(_translate('Form', 'ROLL'))
        self.label_3.setText(_translate('Form', 'YAW'))
        self.label_4.setText(_translate('Form', 'ZOOM'))
        self.zoom_add.setText(_translate('Form', 'ZOOM+'))
        self.zoom_stop.setText(_translate('Form', 'STOP'))
        self.zoom_sub.setText(_translate('Form', 'ZOOM-'))
        self.groupBox2.setTitle(_translate('Form', '视频选择'))
        self.select1.setText(_translate('Form', 'HDMI'))
        self.select2.setText(_translate('Form', 'INFRA'))
        self.select3.setText(_translate('Form', 'HDMI_IN'))
        self.select4.setText(_translate('Form', 'INFOR_HDMI'))
        self.groupBox4.setTitle(_translate('Form', 'GroupBox'))
        self.k_photo.setText(_translate('Form', '可见光拍照'))
        self.h_photo.setText(_translate('Form', '红外拍照'))
        self.k_rec1.setText(_translate('Form', '可见光开'))
        self.k_rec2.setText(_translate('Form', '可将光关'))
        self.h_rec1.setText(_translate('Form', '红外开'))
        self.h_rec2.setText(_translate('Form', '红外关'))

from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):

    def setupUi(self, Form):
        Form.setObjectName('Form')
        Form.resize(733, 501)
        self.formGroupBox = QtWidgets.QGroupBox(Form)
        self.formGroupBox.setGeometry(QtCore.QRect(20, 20, 167, 241))
        self.formGroupBox.setObjectName('formGroupBox')
        self.formLayout = QtWidgets.QFormLayout(self.formGroupBox)
        self.formLayout.setContentsMargins(10, 10, 10, 10)
        self.formLayout.setSpacing(10)
        self.formLayout.setObjectName('formLayout')
        self.s1__lb_1 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_1.setObjectName('s1__lb_1')
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.
            s1__lb_1)
        self.s1__box_1 = QtWidgets.QPushButton(self.formGroupBox)
        self.s1__box_1.setAutoRepeatInterval(100)
        self.s1__box_1.setDefault(True)
        self.s1__box_1.setObjectName('s1__box_1')
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.
            s1__box_1)
        self.s1__lb_2 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_2.setObjectName('s1__lb_2')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.
            s1__lb_2)
        self.s1__box_2 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_2.setObjectName('s1__box_2')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.
            s1__box_2)
        self.state_label = QtWidgets.QLabel(self.formGroupBox)
        self.state_label.setText('')
        self.state_label.setTextFormat(QtCore.Qt.AutoText)
        self.state_label.setScaledContents(True)
        self.state_label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.
            AlignTrailing | QtCore.Qt.AlignVCenter)
        self.state_label.setObjectName('state_label')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.SpanningRole,
            self.state_label)
        self.s1__lb_3 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_3.setObjectName('s1__lb_3')
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.
            s1__lb_3)
        self.s1__box_3 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_3.setObjectName('s1__box_3')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.s1__box_3.addItem('')
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.
            s1__box_3)
        self.open_button = QtWidgets.QPushButton(self.formGroupBox)
        self.open_button.setObjectName('open_button')
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.SpanningRole,
            self.open_button)
        self.close_button = QtWidgets.QPushButton(self.formGroupBox)
        self.close_button.setObjectName('close_button')
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.SpanningRole,
            self.close_button)
        self.groupBox1 = QtWidgets.QGroupBox(Form)
        self.groupBox1.setGeometry(QtCore.QRect(200, 20, 451, 241))
        self.groupBox1.setObjectName('groupBox1')
        self.label = QtWidgets.QLabel(self.groupBox1)
        self.label.setGeometry(QtCore.QRect(20, 20, 54, 12))
        self.label.setObjectName('label')
        self.label_2 = QtWidgets.QLabel(self.groupBox1)
        self.label_2.setGeometry(QtCore.QRect(20, 80, 54, 12))
        self.label_2.setObjectName('label_2')
        self.label_3 = QtWidgets.QLabel(self.groupBox1)
        self.label_3.setGeometry(QtCore.QRect(20, 140, 54, 12))
        self.label_3.setObjectName('label_3')
        self.silder1 = QtWidgets.QSlider(self.groupBox1)
        self.silder1.setGeometry(QtCore.QRect(120, 20, 291, 22))
        self.silder1.setMinimum(-10000)
        self.silder1.setMaximum(10000)
        self.silder1.setSingleStep(1000)
        self.silder1.setPageStep(1000)
        self.silder1.setProperty('value', 0)
        self.silder1.setSliderPosition(0)
        self.silder1.setOrientation(QtCore.Qt.Horizontal)
        self.silder1.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder1.setTickInterval(100)
        self.silder1.setObjectName('silder1')
        self.silder2 = QtWidgets.QSlider(self.groupBox1)
        self.silder2.setGeometry(QtCore.QRect(120, 80, 291, 22))
        self.silder2.setMinimum(-10000)
        self.silder2.setMaximum(10000)
        self.silder2.setSingleStep(1000)
        self.silder2.setProperty('value', 0)
        self.silder2.setSliderPosition(0)
        self.silder2.setOrientation(QtCore.Qt.Horizontal)
        self.silder2.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder2.setTickInterval(100)
        self.silder2.setObjectName('silder2')
        self.silder3 = QtWidgets.QSlider(self.groupBox1)
        self.silder3.setGeometry(QtCore.QRect(120, 130, 291, 22))
        self.silder3.setMinimum(-10000)
        self.silder3.setMaximum(10000)
        self.silder3.setSingleStep(1000)
        self.silder3.setProperty('value', 0)
        self.silder3.setSliderPosition(0)
        self.silder3.setOrientation(QtCore.Qt.Horizontal)
        self.silder3.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder3.setTickInterval(100)
        self.silder3.setObjectName('silder3')
        self.label_4 = QtWidgets.QLabel(self.groupBox1)
        self.label_4.setGeometry(QtCore.QRect(20, 210, 54, 12))
        self.label_4.setObjectName('label_4')
        self.zoom_add = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_add.setGeometry(QtCore.QRect(120, 200, 75, 23))
        self.zoom_add.setObjectName('zoom_add')
        self.zoom_stop = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_stop.setGeometry(QtCore.QRect(220, 200, 75, 23))
        self.zoom_stop.setObjectName('zoom_stop')
        self.zoom_sub = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_sub.setGeometry(QtCore.QRect(330, 200, 75, 23))
        self.zoom_sub.setObjectName('zoom_sub')
        self.groupBox2 = QtWidgets.QGroupBox(Form)
        self.groupBox2.setGeometry(QtCore.QRect(20, 270, 181, 201))
        self.groupBox2.setObjectName('groupBox2')
        self.select1 = QtWidgets.QPushButton(self.groupBox2)
        self.select1.setGeometry(QtCore.QRect(40, 20, 75, 23))
        self.select1.setObjectName('select1')
        self.select2 = QtWidgets.QPushButton(self.groupBox2)
        self.select2.setGeometry(QtCore.QRect(40, 70, 75, 23))
        self.select2.setObjectName('select2')
        self.select3 = QtWidgets.QPushButton(self.groupBox2)
        self.select3.setGeometry(QtCore.QRect(40, 120, 75, 23))
        self.select3.setObjectName('select3')
        self.select4 = QtWidgets.QPushButton(self.groupBox2)
        self.select4.setGeometry(QtCore.QRect(40, 170, 75, 23))
        self.select4.setObjectName('select4')
        self.groupBox4 = QtWidgets.QGroupBox(Form)
        self.groupBox4.setGeometry(QtCore.QRect(220, 270, 231, 201))
        self.groupBox4.setObjectName('groupBox4')
        self.k_photo = QtWidgets.QPushButton(self.groupBox4)
        self.k_photo.setGeometry(QtCore.QRect(10, 20, 75, 23))
        self.k_photo.setObjectName('k_photo')
        self.h_photo = QtWidgets.QPushButton(self.groupBox4)
        self.h_photo.setGeometry(QtCore.QRect(120, 20, 75, 23))
        self.h_photo.setObjectName('h_photo')
        self.k_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec1.setGeometry(QtCore.QRect(10, 80, 75, 23))
        self.k_rec1.setObjectName('k_rec1')
        self.k_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec2.setGeometry(QtCore.QRect(10, 150, 75, 23))
        self.k_rec2.setObjectName('k_rec2')
        self.h_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec1.setGeometry(QtCore.QRect(120, 80, 75, 23))
        self.h_rec1.setObjectName('h_rec1')
        self.h_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec2.setGeometry(QtCore.QRect(120, 150, 75, 23))
        self.h_rec2.setObjectName('h_rec2')
        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate('Form', 'Form'))
        self.formGroupBox.setTitle(_translate('Form', '串口设置'))
        self.s1__lb_1.setText(_translate('Form', '串口检测：'))
        self.s1__box_1.setText(_translate('Form', '检测串口'))
        self.s1__lb_2.setText(_translate('Form', '串口选择：'))
        self.s1__lb_3.setText(_translate('Form', '波特率：'))
        self.s1__box_3.setItemText(0, _translate('Form', '115200'))
        self.s1__box_3.setItemText(1, _translate('Form', '2400'))
        self.s1__box_3.setItemText(2, _translate('Form', '4800'))
        self.s1__box_3.setItemText(3, _translate('Form', '9600'))
        self.s1__box_3.setItemText(4, _translate('Form', '14400'))
        self.s1__box_3.setItemText(5, _translate('Form', '19200'))
        self.s1__box_3.setItemText(6, _translate('Form', '38400'))
        self.s1__box_3.setItemText(7, _translate('Form', '57600'))
        self.s1__box_3.setItemText(8, _translate('Form', '76800'))
        self.s1__box_3.setItemText(9, _translate('Form', '12800'))
        self.s1__box_3.setItemText(10, _translate('Form', '230400'))
        self.s1__box_3.setItemText(11, _translate('Form', '460800'))
        self.open_button.setText(_translate('Form', '打开串口'))
        self.close_button.setText(_translate('Form', '关闭串口'))
        self.groupBox1.setTitle(_translate('Form', '云台控制'))
        self.label.setText(_translate('Form', 'PITCH'))
        self.label_2.setText(_translate('Form', 'ROLL'))
        self.label_3.setText(_translate('Form', 'YAW'))
        self.label_4.setText(_translate('Form', 'ZOOM'))
        self.zoom_add.setText(_translate('Form', 'ZOOM+'))
        self.zoom_stop.setText(_translate('Form', 'STOP'))
        self.zoom_sub.setText(_translate('Form', 'ZOOM-'))
        self.groupBox2.setTitle(_translate('Form', '视频选择'))
        self.select1.setText(_translate('Form', 'HDMI'))
        self.select2.setText(_translate('Form', 'INFRA'))
        self.select3.setText(_translate('Form', 'HDMI_IN'))
        self.select4.setText(_translate('Form', 'INFOR_HDMI'))
        self.groupBox4.setTitle(_translate('Form', 'GroupBox'))
        self.k_photo.setText(_translate('Form', '可见光拍照'))
        self.h_photo.setText(_translate('Form', '红外拍照'))
        self.k_rec1.setText(_translate('Form', '可见光开'))
        self.k_rec2.setText(_translate('Form', '可将光关'))
        self.h_rec1.setText(_translate('Form', '红外开'))
        self.h_rec2.setText(_translate('Form', '红外关'))

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

# Form implementation generated from reading ui file 'ui_demo_1.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(733, 501)
        self.formGroupBox = QtWidgets.QGroupBox(Form)
        self.formGroupBox.setGeometry(QtCore.QRect(20, 20, 167, 241))
        self.formGroupBox.setObjectName("formGroupBox")
        self.formLayout = QtWidgets.QFormLayout(self.formGroupBox)
        self.formLayout.setContentsMargins(10, 10, 10, 10)
        self.formLayout.setSpacing(10)
        self.formLayout.setObjectName("formLayout")
        self.s1__lb_1 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_1.setObjectName("s1__lb_1")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.s1__lb_1)
        self.s1__box_1 = QtWidgets.QPushButton(self.formGroupBox)
        self.s1__box_1.setAutoRepeatInterval(100)
        self.s1__box_1.setDefault(True)
        self.s1__box_1.setObjectName("s1__box_1")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.s1__box_1)
        self.s1__lb_2 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_2.setObjectName("s1__lb_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.s1__lb_2)
        self.s1__box_2 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_2.setObjectName("s1__box_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.s1__box_2)
        self.state_label = QtWidgets.QLabel(self.formGroupBox)
        self.state_label.setText("")
        self.state_label.setTextFormat(QtCore.Qt.AutoText)
        self.state_label.setScaledContents(True)
        self.state_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.state_label.setObjectName("state_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.SpanningRole, self.state_label)
        self.s1__lb_3 = QtWidgets.QLabel(self.formGroupBox)
        self.s1__lb_3.setObjectName("s1__lb_3")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.s1__lb_3)
        self.s1__box_3 = QtWidgets.QComboBox(self.formGroupBox)
        self.s1__box_3.setObjectName("s1__box_3")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.s1__box_3.addItem("")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.s1__box_3)
        self.open_button = QtWidgets.QPushButton(self.formGroupBox)
        self.open_button.setObjectName("open_button")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.SpanningRole, self.open_button)
        self.close_button = QtWidgets.QPushButton(self.formGroupBox)
        self.close_button.setObjectName("close_button")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.SpanningRole, self.close_button)
        self.groupBox1 = QtWidgets.QGroupBox(Form)
        self.groupBox1.setGeometry(QtCore.QRect(200, 20, 451, 241))
        self.groupBox1.setObjectName("groupBox1")
        self.label = QtWidgets.QLabel(self.groupBox1)
        self.label.setGeometry(QtCore.QRect(20, 20, 54, 12))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.groupBox1)
        self.label_2.setGeometry(QtCore.QRect(20, 80, 54, 12))
        self.label_2.setObjectName("label_2")
        self.label_3 = QtWidgets.QLabel(self.groupBox1)
        self.label_3.setGeometry(QtCore.QRect(20, 140, 54, 12))
        self.label_3.setObjectName("label_3")
        self.silder1 = QtWidgets.QSlider(self.groupBox1)
        self.silder1.setGeometry(QtCore.QRect(120, 20, 291, 22))
        self.silder1.setMinimum(-10000)
        self.silder1.setMaximum(10000)
        self.silder1.setSingleStep(1000)
        self.silder1.setPageStep(1000)
        self.silder1.setProperty("value", 0)
        self.silder1.setSliderPosition(0)
        self.silder1.setOrientation(QtCore.Qt.Horizontal)
        self.silder1.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder1.setTickInterval(100)
        self.silder1.setObjectName("silder1")
        self.silder2 = QtWidgets.QSlider(self.groupBox1)
        self.silder2.setGeometry(QtCore.QRect(120, 80, 291, 22))
        self.silder2.setMinimum(-10000)
        self.silder2.setMaximum(10000)
        self.silder2.setSingleStep(1000)
        self.silder2.setProperty("value", 0)
        self.silder2.setSliderPosition(0)
        self.silder2.setOrientation(QtCore.Qt.Horizontal)
        self.silder2.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder2.setTickInterval(100)
        self.silder2.setObjectName("silder2")
        self.silder3 = QtWidgets.QSlider(self.groupBox1)
        self.silder3.setGeometry(QtCore.QRect(120, 130, 291, 22))
        self.silder3.setMinimum(-10000)
        self.silder3.setMaximum(10000)
        self.silder3.setSingleStep(1000)
        self.silder3.setProperty("value", 0)
        self.silder3.setSliderPosition(0)
        self.silder3.setOrientation(QtCore.Qt.Horizontal)
        self.silder3.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.silder3.setTickInterval(100)
        self.silder3.setObjectName("silder3")
        self.label_4 = QtWidgets.QLabel(self.groupBox1)
        self.label_4.setGeometry(QtCore.QRect(20, 210, 54, 12))
        self.label_4.setObjectName("label_4")
        self.zoom_add = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_add.setGeometry(QtCore.QRect(120, 200, 75, 23))
        self.zoom_add.setObjectName("zoom_add")
        self.zoom_stop = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_stop.setGeometry(QtCore.QRect(220, 200, 75, 23))
        self.zoom_stop.setObjectName("zoom_stop")
        self.zoom_sub = QtWidgets.QPushButton(self.groupBox1)
        self.zoom_sub.setGeometry(QtCore.QRect(330, 200, 75, 23))
        self.zoom_sub.setObjectName("zoom_sub")
        self.groupBox2 = QtWidgets.QGroupBox(Form)
        self.groupBox2.setGeometry(QtCore.QRect(20, 270, 181, 201))
        self.groupBox2.setObjectName("groupBox2")
        self.select1 = QtWidgets.QPushButton(self.groupBox2)
        self.select1.setGeometry(QtCore.QRect(40, 20, 75, 23))
        self.select1.setObjectName("select1")
        self.select2 = QtWidgets.QPushButton(self.groupBox2)
        self.select2.setGeometry(QtCore.QRect(40, 70, 75, 23))
        self.select2.setObjectName("select2")
        self.select3 = QtWidgets.QPushButton(self.groupBox2)
        self.select3.setGeometry(QtCore.QRect(40, 120, 75, 23))
        self.select3.setObjectName("select3")
        self.select4 = QtWidgets.QPushButton(self.groupBox2)
        self.select4.setGeometry(QtCore.QRect(40, 170, 75, 23))
        self.select4.setObjectName("select4")
        self.groupBox4 = QtWidgets.QGroupBox(Form)
        self.groupBox4.setGeometry(QtCore.QRect(220, 270, 231, 201))
        self.groupBox4.setObjectName("groupBox4")
        self.k_photo = QtWidgets.QPushButton(self.groupBox4)
        self.k_photo.setGeometry(QtCore.QRect(10, 20, 75, 23))
        self.k_photo.setObjectName("k_photo")
        self.h_photo = QtWidgets.QPushButton(self.groupBox4)
        self.h_photo.setGeometry(QtCore.QRect(120, 20, 75, 23))
        self.h_photo.setObjectName("h_photo")
        self.k_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec1.setGeometry(QtCore.QRect(10, 80, 75, 23))
        self.k_rec1.setObjectName("k_rec1")
        self.k_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.k_rec2.setGeometry(QtCore.QRect(10, 150, 75, 23))
        self.k_rec2.setObjectName("k_rec2")
        self.h_rec1 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec1.setGeometry(QtCore.QRect(120, 80, 75, 23))
        self.h_rec1.setObjectName("h_rec1")
        self.h_rec2 = QtWidgets.QPushButton(self.groupBox4)
        self.h_rec2.setGeometry(QtCore.QRect(120, 150, 75, 23))
        self.h_rec2.setObjectName("h_rec2")

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.formGroupBox.setTitle(_translate("Form", "串口设置"))
        self.s1__lb_1.setText(_translate("Form", "串口检测："))
        self.s1__box_1.setText(_translate("Form", "检测串口"))
        self.s1__lb_2.setText(_translate("Form", "串口选择："))
        self.s1__lb_3.setText(_translate("Form", "波特率："))
        self.s1__box_3.setItemText(0, _translate("Form", "115200"))
        self.s1__box_3.setItemText(1, _translate("Form", "2400"))
        self.s1__box_3.setItemText(2, _translate("Form", "4800"))
        self.s1__box_3.setItemText(3, _translate("Form", "9600"))
        self.s1__box_3.setItemText(4, _translate("Form", "14400"))
        self.s1__box_3.setItemText(5, _translate("Form", "19200"))
        self.s1__box_3.setItemText(6, _translate("Form", "38400"))
        self.s1__box_3.setItemText(7, _translate("Form", "57600"))
        self.s1__box_3.setItemText(8, _translate("Form", "76800"))
        self.s1__box_3.setItemText(9, _translate("Form", "12800"))
        self.s1__box_3.setItemText(10, _translate("Form", "230400"))
        self.s1__box_3.setItemText(11, _translate("Form", "460800"))
        self.open_button.setText(_translate("Form", "打开串口"))
        self.close_button.setText(_translate("Form", "关闭串口"))
        self.groupBox1.setTitle(_translate("Form", "云台控制"))
        self.label.setText(_translate("Form", "PITCH"))
        self.label_2.setText(_translate("Form", "ROLL"))
        self.label_3.setText(_translate("Form", "YAW"))
        self.label_4.setText(_translate("Form", "ZOOM"))
        self.zoom_add.setText(_translate("Form", "ZOOM+"))
        self.zoom_stop.setText(_translate("Form", "STOP"))
        self.zoom_sub.setText(_translate("Form", "ZOOM-"))
        self.groupBox2.setTitle(_translate("Form", "视频选择"))
        self.select1.setText(_translate("Form", "HDMI"))
        self.select2.setText(_translate("Form", "INFRA"))
        self.select3.setText(_translate("Form", "HDMI_IN"))
        self.select4.setText(_translate("Form", "INFOR_HDMI"))
        self.groupBox4.setTitle(_translate("Form", "GroupBox"))
        self.k_photo.setText(_translate("Form", "可见光拍照"))
        self.h_photo.setText(_translate("Form", "红外拍照"))
        self.k_rec1.setText(_translate("Form", "可见光开"))
        self.k_rec2.setText(_translate("Form", "可将光关"))
        self.h_rec1.setText(_translate("Form", "红外开"))
        self.h_rec2.setText(_translate("Form", "红外关"))
