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

# Form implementation generated from reading ui file 'main_windows.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(900, 600)
        Form.setMinimumSize(QtCore.QSize(900, 600))
        Form.setMaximumSize(QtCore.QSize(900, 600))
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox_3 = QtWidgets.QGroupBox(Form)
        self.groupBox_3.setMinimumSize(QtCore.QSize(882, 231))
        self.groupBox_3.setMaximumSize(QtCore.QSize(882, 231))
        font = QtGui.QFont()
        font.setFamily("微软雅黑 Light")
        font.setPointSize(14)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setObjectName("groupBox_3")
        self.label_4 = QtWidgets.QLabel(self.groupBox_3)
        self.label_4.setGeometry(QtCore.QRect(20, 30, 191, 31))
        self.label_4.setObjectName("label_4")
        self.spinBox_pwm_wendu1 = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinBox_pwm_wendu1.setGeometry(QtCore.QRect(170, 80, 42, 22))
        self.spinBox_pwm_wendu1.setObjectName("spinBox_pwm_wendu1")
        self.spinBox_pwm_wendu2 = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinBox_pwm_wendu2.setGeometry(QtCore.QRect(170, 120, 42, 22))
        self.spinBox_pwm_wendu2.setObjectName("spinBox_pwm_wendu2")
        self.spinBox_pwm_wendu3 = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinBox_pwm_wendu3.setGeometry(QtCore.QRect(170, 160, 42, 22))
        self.spinBox_pwm_wendu3.setObjectName("spinBox_pwm_wendu3")
        self.spinBox_pwm_3 = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinBox_pwm_3.setGeometry(QtCore.QRect(430, 160, 51, 22))
        self.spinBox_pwm_3.setMinimum(10)
        self.spinBox_pwm_3.setMaximum(100)
        self.spinBox_pwm_3.setObjectName("spinBox_pwm_3")
        self.spinBox_pwm_1 = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinBox_pwm_1.setGeometry(QtCore.QRect(430, 80, 51, 22))
        self.spinBox_pwm_1.setMinimum(0)
        self.spinBox_pwm_1.setMaximum(100)
        self.spinBox_pwm_1.setObjectName("spinBox_pwm_1")
        self.spinBox_pwm_2 = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinBox_pwm_2.setGeometry(QtCore.QRect(430, 120, 51, 22))
        self.spinBox_pwm_2.setMinimum(10)
        self.spinBox_pwm_2.setMaximum(100)
        self.spinBox_pwm_2.setObjectName("spinBox_pwm_2")
        self.label_5 = QtWidgets.QLabel(self.groupBox_3)
        self.label_5.setGeometry(QtCore.QRect(60, 80, 71, 21))
        self.label_5.setObjectName("label_5")
        self.label_6 = QtWidgets.QLabel(self.groupBox_3)
        self.label_6.setGeometry(QtCore.QRect(60, 120, 71, 21))
        self.label_6.setObjectName("label_6")
        self.label_7 = QtWidgets.QLabel(self.groupBox_3)
        self.label_7.setGeometry(QtCore.QRect(60, 160, 71, 21))
        self.label_7.setObjectName("label_7")
        self.label_8 = QtWidgets.QLabel(self.groupBox_3)
        self.label_8.setGeometry(QtCore.QRect(220, 70, 31, 41))
        font = QtGui.QFont()
        font.setFamily("Yu Gothic UI Semibold")
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName("label_8")
        self.label_9 = QtWidgets.QLabel(self.groupBox_3)
        self.label_9.setGeometry(QtCore.QRect(220, 110, 31, 41))
        font = QtGui.QFont()
        font.setFamily("Yu Gothic UI Semibold")
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_9.setFont(font)
        self.label_9.setObjectName("label_9")
        self.label_10 = QtWidgets.QLabel(self.groupBox_3)
        self.label_10.setGeometry(QtCore.QRect(220, 150, 31, 41))
        font = QtGui.QFont()
        font.setFamily("Yu Gothic UI Semibold")
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setObjectName("label_10")
        self.label_11 = QtWidgets.QLabel(self.groupBox_3)
        self.label_11.setGeometry(QtCore.QRect(330, 70, 71, 41))
        self.label_11.setObjectName("label_11")
        self.label_12 = QtWidgets.QLabel(self.groupBox_3)
        self.label_12.setGeometry(QtCore.QRect(330, 110, 71, 41))
        self.label_12.setObjectName("label_12")
        self.label_13 = QtWidgets.QLabel(self.groupBox_3)
        self.label_13.setGeometry(QtCore.QRect(330, 150, 71, 41))
        self.label_13.setObjectName("label_13")
        self.horizontalSlider = QtWidgets.QSlider(self.groupBox_3)
        self.horizontalSlider.setGeometry(QtCore.QRect(520, 80, 341, 22))
        self.horizontalSlider.setMinimum(0)
        self.horizontalSlider.setMaximum(100)
        self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.horizontalSlider_2 = QtWidgets.QSlider(self.groupBox_3)
        self.horizontalSlider_2.setGeometry(QtCore.QRect(520, 120, 341, 22))
        self.horizontalSlider_2.setMinimum(10)
        self.horizontalSlider_2.setMaximum(100)
        self.horizontalSlider_2.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_2.setObjectName("horizontalSlider_2")
        self.horizontalSlider_3 = QtWidgets.QSlider(self.groupBox_3)
        self.horizontalSlider_3.setGeometry(QtCore.QRect(520, 160, 341, 22))
        self.horizontalSlider_3.setMinimum(10)
        self.horizontalSlider_3.setMaximum(100)
        self.horizontalSlider_3.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_3.setObjectName("horizontalSlider_3")
        self.pwm_save = QtWidgets.QPushButton(self.groupBox_3)
        self.pwm_save.setGeometry(QtCore.QRect(750, 30, 111, 31))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.pwm_save.setFont(font)
        self.pwm_save.setObjectName("pwm_save")
        self.gridLayout.addWidget(self.groupBox_3, 1, 0, 1, 2)
        self.box_show_wendu = QtWidgets.QGroupBox(Form)
        self.box_show_wendu.setMinimumSize(QtCore.QSize(438, 291))
        self.box_show_wendu.setMaximumSize(QtCore.QSize(438, 291))
        font = QtGui.QFont()
        font.setFamily("微软雅黑 Light")
        font.setPointSize(14)
        font.setBold(False)
        font.setWeight(50)
        self.box_show_wendu.setFont(font)
        self.box_show_wendu.setObjectName("box_show_wendu")
        self.show_wendu = QtWidgets.QLCDNumber(self.box_show_wendu)
        self.show_wendu.setGeometry(QtCore.QRect(20, 70, 241, 161))
        self.show_wendu.setDigitCount(3)
        self.show_wendu.setSegmentStyle(QtWidgets.QLCDNumber.Filled)
        self.show_wendu.setProperty("value", 233.0)
        self.show_wendu.setProperty("intValue", 233)
        self.show_wendu.setObjectName("show_wendu")
        self.label_3 = QtWidgets.QLabel(self.box_show_wendu)
        self.label_3.setGeometry(QtCore.QRect(280, 40, 121, 211))
        font = QtGui.QFont()
        font.setFamily("Yu Gothic UI Semibold")
        font.setPointSize(90)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.box_show_wendu, 0, 0, 1, 1)
        self.box_control = QtWidgets.QGroupBox(Form)
        self.box_control.setMinimumSize(QtCore.QSize(438, 291))
        self.box_control.setMaximumSize(QtCore.QSize(438, 291))
        font = QtGui.QFont()
        font.setFamily("微软雅黑 Light")
        font.setPointSize(14)
        self.box_control.setFont(font)
        self.box_control.setObjectName("box_control")
        self.label = QtWidgets.QLabel(self.box_control)
        self.label.setGeometry(QtCore.QRect(80, 40, 171, 41))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.label_show_zhuangtai = QtWidgets.QLabel(self.box_control)
        self.label_show_zhuangtai.setGeometry(QtCore.QRect(290, 40, 101, 41))
        self.label_show_zhuangtai.setMouseTracking(False)
        self.label_show_zhuangtai.setTabletTracking(False)
        self.label_show_zhuangtai.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_show_zhuangtai.setAutoFillBackground(True)
        self.label_show_zhuangtai.setObjectName("label_show_zhuangtai")
        self.label_2 = QtWidgets.QLabel(self.box_control)
        self.label_2.setGeometry(QtCore.QRect(190, 100, 71, 51))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(24)
        font.setBold(False)
        font.setWeight(50)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.bt_on = QtWidgets.QPushButton(self.box_control)
        self.bt_on.setGeometry(QtCore.QRect(20, 180, 191, 91))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.bt_on.setFont(font)
        self.bt_on.setCheckable(True)
        self.bt_on.setObjectName("bt_on")
        self.bt_off = QtWidgets.QPushButton(self.box_control)
        self.bt_off.setGeometry(QtCore.QRect(230, 180, 191, 91))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setBold(True)
        font.setWeight(75)
        self.bt_off.setFont(font)
        self.bt_off.setCheckable(True)
        self.bt_off.setObjectName("bt_off")
        self.gridLayout.addWidget(self.box_control, 0, 1, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.label_14 = QtWidgets.QLabel(self.groupBox)
        self.label_14.setGeometry(QtCore.QRect(20, 20, 101, 16))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(11)
        self.label_14.setFont(font)
        self.label_14.setObjectName("label_14")
        self.label_15 = QtWidgets.QLabel(self.groupBox)
        self.label_15.setGeometry(QtCore.QRect(430, 20, 41, 16))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(11)
        self.label_15.setFont(font)
        self.label_15.setObjectName("label_15")
        self.mqtt_service = QtWidgets.QLineEdit(self.groupBox)
        self.mqtt_service.setGeometry(QtCore.QRect(120, 20, 291, 20))
        self.mqtt_service.setObjectName("mqtt_service")
        self.mqtt_port = QtWidgets.QLineEdit(self.groupBox)
        self.mqtt_port.setGeometry(QtCore.QRect(480, 20, 201, 20))
        self.mqtt_port.setObjectName("mqtt_port")
        self.pushButton = QtWidgets.QPushButton(self.groupBox)
        self.pushButton.setGeometry(QtCore.QRect(710, 10, 141, 31))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(12)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 2)

        self.retranslateUi(Form)
        self.spinBox_pwm_1.valueChanged['int'].connect(self.horizontalSlider.setValue)
        self.horizontalSlider.valueChanged['int'].connect(self.spinBox_pwm_1.setValue)
        self.spinBox_pwm_2.valueChanged['int'].connect(self.horizontalSlider_2.setValue)
        self.horizontalSlider_2.valueChanged['int'].connect(self.spinBox_pwm_2.setValue)
        self.spinBox_pwm_3.valueChanged['int'].connect(self.horizontalSlider_3.setValue)
        self.horizontalSlider_3.valueChanged['int'].connect(self.spinBox_pwm_3.setValue)
        QtCore.QMetaObject.connectSlotsByName(Form)


    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "水冷外机控制中心"))
        self.groupBox_3.setTitle(_translate("Form", "PWM控制"))
        self.label_4.setText(_translate("Form", "温度与对应占空比设置"))
        self.label_5.setText(_translate("Form", "温度一"))
        self.label_6.setText(_translate("Form", "温度二"))
        self.label_7.setText(_translate("Form", "温度三"))
        self.label_8.setText(_translate("Form", "℃"))
        self.label_9.setText(_translate("Form", "℃"))
        self.label_10.setText(_translate("Form", "℃"))
        self.label_11.setText(_translate("Form", "占空比1"))
        self.label_12.setText(_translate("Form", "占空比2"))
        self.label_13.setText(_translate("Form", "占空比3"))
        self.pwm_save.setText(_translate("Form", "保存PWM设置"))
        self.box_show_wendu.setTitle(_translate("Form", "进水温度"))
        self.label_3.setText(_translate("Form", "℃"))
        self.box_control.setTitle(_translate("Form", "水泵控制"))
        self.label.setText(_translate("Form", "水冷外机目前状态："))
        self.label_show_zhuangtai.setText(_translate("Form", 'Mqtt连接中'))
        self.label_2.setText(_translate("Form", "控制"))
        self.bt_on.setText(_translate("Form", "开/ON"))
        self.bt_off.setText(_translate("Form", "关/OFF"))
        self.groupBox.setTitle(_translate("Form", "MQTT"))
        self.label_14.setText(_translate("Form", "MQTT服务器"))
        self.label_15.setText(_translate("Form", "端口"))
        self.pushButton.setText(_translate("Form", "保存"))
