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

# Form implementation generated from reading ui file 'g:\PyQt\JY_test\main.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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1274, 2174)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.frame_main = QtWidgets.QFrame(self.centralwidget)
        self.frame_main.setGeometry(QtCore.QRect(0, 0, 1250, 530))
        self.frame_main.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_main.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_main.setObjectName("frame_main")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.frame_main)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_19 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_19.setFont(font)
        self.label_19.setObjectName("label_19")
        self.gridLayout.addWidget(self.label_19, 5, 15, 1, 3)
        self.line_10 = QtWidgets.QFrame(self.frame_main)
        self.line_10.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_10.setObjectName("line_10")
        self.gridLayout.addWidget(self.line_10, 11, 4, 1, 1)
        self.line_7 = QtWidgets.QFrame(self.frame_main)
        self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName("line_7")
        self.gridLayout.addWidget(self.line_7, 5, 14, 5, 1)
        self.label_12 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_12.setFont(font)
        self.label_12.setObjectName("label_12")
        self.gridLayout.addWidget(self.label_12, 5, 0, 1, 2)
        self.label_9 = QtWidgets.QLabel(self.frame_main)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 0, 12, 1, 2)
        self.btn_6KM_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_6KM_off.setObjectName("btn_6KM_off")
        self.gridLayout.addWidget(self.btn_6KM_off, 7, 16, 1, 2)
        self.PV_P_val = QtWidgets.QLineEdit(self.frame_main)
        self.PV_P_val.setObjectName("PV_P_val")
        self.gridLayout.addWidget(self.PV_P_val, 8, 9, 1, 1)
        self.label_28 = QtWidgets.QLabel(self.frame_main)
        self.label_28.setObjectName("label_28")
        self.gridLayout.addWidget(self.label_28, 11, 7, 1, 1)
        self.load1_current_val = QtWidgets.QLineEdit(self.frame_main)
        self.load1_current_val.setObjectName("load1_current_val")
        self.gridLayout.addWidget(self.load1_current_val, 6, 12, 1, 2)
        self.label_11 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_11.setFont(font)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 5, 7, 1, 3)
        self.line_12 = QtWidgets.QFrame(self.frame_main)
        self.line_12.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_12.setObjectName("line_12")
        self.gridLayout.addWidget(self.line_12, 11, 12, 1, 1)
        self.line_3 = QtWidgets.QFrame(self.frame_main)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout.addWidget(self.line_3, 4, 0, 1, 21)
        self.line_8 = QtWidgets.QFrame(self.frame_main)
        self.line_8.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName("line_8")
        self.gridLayout.addWidget(self.line_8, 5, 18, 5, 1)
        self.label_24 = QtWidgets.QLabel(self.frame_main)
        self.label_24.setObjectName("label_24")
        self.gridLayout.addWidget(self.label_24, 8, 19, 1, 1)
        self.btn_8QF_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_8QF_off.setObjectName("btn_8QF_off")
        self.gridLayout.addWidget(self.btn_8QF_off, 7, 1, 1, 1)
        self.btn_city_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_city_on.setObjectName("btn_city_on")
        self.gridLayout.addWidget(self.btn_city_on, 0, 3, 1, 1)
        self.load2_P_val = QtWidgets.QLineEdit(self.frame_main)
        self.load2_P_val.setObjectName("load2_P_val")
        self.gridLayout.addWidget(self.load2_P_val, 8, 16, 1, 2)
        self.line_4 = QtWidgets.QFrame(self.frame_main)
        self.line_4.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridLayout.addWidget(self.line_4, 5, 2, 5, 1)
        self.line_13 = QtWidgets.QFrame(self.frame_main)
        self.line_13.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_13.setObjectName("line_13")
        self.gridLayout.addWidget(self.line_13, 11, 16, 1, 1)
        self.label = QtWidgets.QLabel(self.frame_main)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 8, 11, 1, 1)
        self.PV_signal_led = QtWidgets.QLabel(self.frame_main)
        self.PV_signal_led.setText("")
        self.PV_signal_led.setPixmap(QtGui.QPixmap("g:\\PyQt\\JY_test\\image/red_pic.png"))
        self.PV_signal_led.setObjectName("PV_signal_led")
        self.gridLayout.addWidget(self.PV_signal_led, 11, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.frame_main)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 0, 5, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(10)
        self.label_17.setFont(font)
        self.label_17.setObjectName("label_17")
        self.gridLayout.addWidget(self.label_17, 13, 0, 1, 1)
        self.label_18 = QtWidgets.QLabel(self.frame_main)
        self.label_18.setObjectName("label_18")
        self.gridLayout.addWidget(self.label_18, 6, 11, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.frame_main)
        self.label_15.setObjectName("label_15")
        self.gridLayout.addWidget(self.label_15, 9, 19, 1, 1)
        self.PV_Q_val = QtWidgets.QLineEdit(self.frame_main)
        self.PV_Q_val.setObjectName("PV_Q_val")
        self.gridLayout.addWidget(self.PV_Q_val, 9, 9, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.frame_main)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 1, 5, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 3, 5, 1, 1)
        self.label_26 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(10)
        self.label_26.setFont(font)
        self.label_26.setObjectName("label_26")
        self.gridLayout.addWidget(self.label_26, 11, 0, 1, 1)
        self.label_25 = QtWidgets.QLabel(self.frame_main)
        self.label_25.setObjectName("label_25")
        self.gridLayout.addWidget(self.label_25, 9, 15, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.frame_main)
        self.label_27.setObjectName("label_27")
        self.gridLayout.addWidget(self.label_27, 11, 3, 1, 1)
        self.label_14 = QtWidgets.QLabel(self.frame_main)
        self.label_14.setObjectName("label_14")
        self.gridLayout.addWidget(self.label_14, 8, 7, 1, 1)
        self.city_P_val = QtWidgets.QLineEdit(self.frame_main)
        self.city_P_val.setObjectName("city_P_val")
        self.gridLayout.addWidget(self.city_P_val, 0, 7, 1, 1)
        self.line_6 = QtWidgets.QFrame(self.frame_main)
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName("line_6")
        self.gridLayout.addWidget(self.line_6, 5, 10, 5, 1)
        self.load3_P_val = QtWidgets.QLineEdit(self.frame_main)
        self.load3_P_val.setObjectName("load3_P_val")
        self.gridLayout.addWidget(self.load3_P_val, 8, 20, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.frame_main)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 9, 11, 1, 1)
        self.line_9 = QtWidgets.QFrame(self.frame_main)
        self.line_9.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_9.setObjectName("line_9")
        self.gridLayout.addWidget(self.line_9, 12, 0, 1, 21)
        self.btn_6KM_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_6KM_on.setObjectName("btn_6KM_on")
        self.gridLayout.addWidget(self.btn_6KM_on, 7, 15, 1, 1)
        self.label_29 = QtWidgets.QLabel(self.frame_main)
        self.label_29.setObjectName("label_29")
        self.gridLayout.addWidget(self.label_29, 11, 11, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(18)
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 0, 0, 1, 2)
        self.load1_P_val = QtWidgets.QLineEdit(self.frame_main)
        self.load1_P_val.setObjectName("load1_P_val")
        self.gridLayout.addWidget(self.load1_P_val, 8, 12, 1, 2)
        self.load3_current_val = QtWidgets.QLineEdit(self.frame_main)
        self.load3_current_val.setObjectName("load3_current_val")
        self.gridLayout.addWidget(self.load3_current_val, 6, 20, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.frame_main)
        self.label_21.setObjectName("label_21")
        self.gridLayout.addWidget(self.label_21, 6, 15, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_20.setFont(font)
        self.label_20.setObjectName("label_20")
        self.gridLayout.addWidget(self.label_20, 5, 19, 1, 2)
        self.controller_signal_led = QtWidgets.QLabel(self.frame_main)
        self.controller_signal_led.setText("")
        self.controller_signal_led.setPixmap(QtGui.QPixmap("g:\\PyQt\\JY_test\\image/red_pic.png"))
        self.controller_signal_led.setObjectName("controller_signal_led")
        self.gridLayout.addWidget(self.controller_signal_led, 11, 17, 1, 1)
        self.city_Q_val = QtWidgets.QLineEdit(self.frame_main)
        self.city_Q_val.setObjectName("city_Q_val")
        self.gridLayout.addWidget(self.city_Q_val, 1, 7, 1, 1)
        self.line_5 = QtWidgets.QFrame(self.frame_main)
        self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.gridLayout.addWidget(self.line_5, 5, 6, 5, 1)
        self.label_3 = QtWidgets.QLabel(self.frame_main)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 9, 7, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.frame_main)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 1, 12, 1, 2)
        self.label_30 = QtWidgets.QLabel(self.frame_main)
        self.label_30.setObjectName("label_30")
        self.gridLayout.addWidget(self.label_30, 11, 15, 1, 1)
        self.btn_2KM_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_2KM_on.setObjectName("btn_2KM_on")
        self.gridLayout.addWidget(self.btn_2KM_on, 3, 7, 1, 1)
        self.load2_Q_val = QtWidgets.QLineEdit(self.frame_main)
        self.load2_Q_val.setObjectName("load2_Q_val")
        self.gridLayout.addWidget(self.load2_Q_val, 9, 16, 1, 2)
        self.btn_9QF_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_9QF_off.setObjectName("btn_9QF_off")
        self.gridLayout.addWidget(self.btn_9QF_off, 7, 5, 1, 1)
        self.btn_8QF_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_8QF_on.setObjectName("btn_8QF_on")
        self.gridLayout.addWidget(self.btn_8QF_on, 7, 0, 1, 1)
        self.load1_Q_val = QtWidgets.QLineEdit(self.frame_main)
        self.load1_Q_val.setObjectName("load1_Q_val")
        self.gridLayout.addWidget(self.load1_Q_val, 9, 12, 1, 2)
        self.label_16 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_16.setFont(font)
        self.label_16.setObjectName("label_16")
        self.gridLayout.addWidget(self.label_16, 5, 11, 1, 3)
        self.btn_diesel_manual = QtWidgets.QPushButton(self.frame_main)
        self.btn_diesel_manual.setObjectName("btn_diesel_manual")
        self.gridLayout.addWidget(self.btn_diesel_manual, 13, 5, 1, 1)
        self.btn_7KM_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_7KM_off.setObjectName("btn_7KM_off")
        self.gridLayout.addWidget(self.btn_7KM_off, 7, 20, 1, 1)
        self.city_current_val = QtWidgets.QLineEdit(self.frame_main)
        self.city_current_val.setObjectName("city_current_val")
        self.gridLayout.addWidget(self.city_current_val, 1, 15, 1, 1)
        self.btn_diesel_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_diesel_off.setObjectName("btn_diesel_off")
        self.gridLayout.addWidget(self.btn_diesel_off, 13, 3, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.frame_main)
        self.label_23.setObjectName("label_23")
        self.gridLayout.addWidget(self.label_23, 8, 15, 1, 1)
        self.load3_Q_val = QtWidgets.QLineEdit(self.frame_main)
        self.load3_Q_val.setObjectName("load3_Q_val")
        self.gridLayout.addWidget(self.load3_Q_val, 9, 20, 1, 1)
        self.btn_diesel_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_diesel_on.setObjectName("btn_diesel_on")
        self.gridLayout.addWidget(self.btn_diesel_on, 13, 1, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.frame_main)
        self.label_31.setObjectName("label_31")
        self.gridLayout.addWidget(self.label_31, 11, 19, 1, 1)
        self.btn_diesel_open = QtWidgets.QPushButton(self.frame_main)
        self.btn_diesel_open.setObjectName("btn_diesel_open")
        self.gridLayout.addWidget(self.btn_diesel_open, 13, 9, 1, 1)
        self.btn_7KM_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_7KM_on.setObjectName("btn_7KM_on")
        self.gridLayout.addWidget(self.btn_7KM_on, 7, 19, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.frame_main)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 10, 0, 1, 21)
        self.BMS_signal_led = QtWidgets.QLabel(self.frame_main)
        self.BMS_signal_led.setText("")
        self.BMS_signal_led.setPixmap(QtGui.QPixmap("g:\\PyQt\\JY_test\\image/red_pic.png"))
        self.BMS_signal_led.setObjectName("BMS_signal_led")
        self.gridLayout.addWidget(self.BMS_signal_led, 11, 13, 1, 1)
        self.btn_3KM_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_3KM_on.setObjectName("btn_3KM_on")
        self.gridLayout.addWidget(self.btn_3KM_on, 7, 7, 1, 1)
        self.PCS_signal_led = QtWidgets.QLabel(self.frame_main)
        self.PCS_signal_led.setText("")
        self.PCS_signal_led.setPixmap(QtGui.QPixmap("g:\\PyQt\\JY_test\\image/red_pic.png"))
        self.PCS_signal_led.setObjectName("PCS_signal_led")
        self.gridLayout.addWidget(self.PCS_signal_led, 11, 5, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.frame_main)
        self.label_22.setObjectName("label_22")
        self.gridLayout.addWidget(self.label_22, 6, 19, 1, 1)
        self.btn_5KM_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_5KM_off.setObjectName("btn_5KM_off")
        self.gridLayout.addWidget(self.btn_5KM_off, 7, 12, 1, 2)
        self.btn_9QF_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_9QF_on.setObjectName("btn_9QF_on")
        self.gridLayout.addWidget(self.btn_9QF_on, 7, 3, 1, 1)
        self.btn_5KM_on = QtWidgets.QPushButton(self.frame_main)
        self.btn_5KM_on.setObjectName("btn_5KM_on")
        self.gridLayout.addWidget(self.btn_5KM_on, 7, 11, 1, 1)
        self.city_voltage_val = QtWidgets.QLineEdit(self.frame_main)
        self.city_voltage_val.setObjectName("city_voltage_val")
        self.gridLayout.addWidget(self.city_voltage_val, 0, 15, 1, 1)
        self.line_11 = QtWidgets.QFrame(self.frame_main)
        self.line_11.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_11.setObjectName("line_11")
        self.gridLayout.addWidget(self.line_11, 11, 8, 1, 1)
        self.btn_2KM_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_2KM_off.setObjectName("btn_2KM_off")
        self.gridLayout.addWidget(self.btn_2KM_off, 3, 9, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.frame_main)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 6, 7, 1, 1)
        self.diesel_signal_led = QtWidgets.QLabel(self.frame_main)
        self.diesel_signal_led.setText("")
        self.diesel_signal_led.setPixmap(QtGui.QPixmap("g:\\PyQt\\JY_test\\image/red_pic.png"))
        self.diesel_signal_led.setObjectName("diesel_signal_led")
        self.gridLayout.addWidget(self.diesel_signal_led, 11, 9, 1, 1)
        self.btn_city_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_city_off.setObjectName("btn_city_off")
        self.gridLayout.addWidget(self.btn_city_off, 1, 3, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.frame_main)
        font = QtGui.QFont()
        font.setFamily("黑体")
        font.setPointSize(14)
        self.label_13.setFont(font)
        self.label_13.setObjectName("label_13")
        self.gridLayout.addWidget(self.label_13, 5, 3, 1, 3)
        self.btn_diesel_close = QtWidgets.QPushButton(self.frame_main)
        self.btn_diesel_close.setObjectName("btn_diesel_close")
        self.gridLayout.addWidget(self.btn_diesel_close, 13, 7, 1, 1)
        self.load2_current_val = QtWidgets.QLineEdit(self.frame_main)
        self.load2_current_val.setObjectName("load2_current_val")
        self.gridLayout.addWidget(self.load2_current_val, 6, 16, 1, 2)
        self.btn_3KM_off = QtWidgets.QPushButton(self.frame_main)
        self.btn_3KM_off.setObjectName("btn_3KM_off")
        self.gridLayout.addWidget(self.btn_3KM_off, 7, 9, 1, 1)
        self.PV_current_val = QtWidgets.QLineEdit(self.frame_main)
        self.PV_current_val.setObjectName("PV_current_val")
        self.gridLayout.addWidget(self.PV_current_val, 6, 9, 1, 1)
        self.line = QtWidgets.QFrame(self.frame_main)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 2, 0, 1, 21)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.frame_PV = QtWidgets.QFrame(self.centralwidget)
        self.frame_PV.setGeometry(QtCore.QRect(10, 529, 1250, 530))
        self.frame_PV.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_PV.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_PV.setObjectName("frame_PV")
        self.frame = QtWidgets.QFrame(self.frame_PV)
        self.frame.setGeometry(QtCore.QRect(40, 30, 321, 341))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.label_32 = QtWidgets.QLabel(self.frame)
        self.label_32.setGeometry(QtCore.QRect(20, 140, 111, 21))
        self.label_32.setObjectName("label_32")
        self.PV_VAL_4 = QtWidgets.QLineEdit(self.frame)
        self.PV_VAL_4.setGeometry(QtCore.QRect(180, 140, 113, 21))
        self.PV_VAL_4.setObjectName("PV_VAL_4")
        self.label_33 = QtWidgets.QLabel(self.frame)
        self.label_33.setGeometry(QtCore.QRect(20, 180, 111, 21))
        self.label_33.setObjectName("label_33")
        self.PV_VAL_5 = QtWidgets.QLineEdit(self.frame)
        self.PV_VAL_5.setGeometry(QtCore.QRect(180, 180, 113, 21))
        self.PV_VAL_5.setObjectName("PV_VAL_5")
        self.label_34 = QtWidgets.QLabel(self.frame)
        self.label_34.setGeometry(QtCore.QRect(20, 220, 161, 21))
        self.label_34.setObjectName("label_34")
        self.PV_VAL_6 = QtWidgets.QLineEdit(self.frame)
        self.PV_VAL_6.setGeometry(QtCore.QRect(180, 220, 113, 21))
        self.PV_VAL_6.setObjectName("PV_VAL_6")
        self.label_35 = QtWidgets.QLabel(self.frame)
        self.label_35.setGeometry(QtCore.QRect(20, 100, 111, 21))
        self.label_35.setObjectName("label_35")
        self.label_36 = QtWidgets.QLabel(self.frame)
        self.label_36.setGeometry(QtCore.QRect(20, 60, 111, 21))
        self.label_36.setObjectName("label_36")
        self.label_37 = QtWidgets.QLabel(self.frame)
        self.label_37.setGeometry(QtCore.QRect(20, 20, 111, 16))
        self.label_37.setObjectName("label_37")
        self.PV_VAL_3 = QtWidgets.QLineEdit(self.frame)
        self.PV_VAL_3.setGeometry(QtCore.QRect(180, 100, 113, 21))
        self.PV_VAL_3.setObjectName("PV_VAL_3")
        self.PV_VAL_2 = QtWidgets.QLineEdit(self.frame)
        self.PV_VAL_2.setGeometry(QtCore.QRect(180, 60, 113, 21))
        self.PV_VAL_2.setObjectName("PV_VAL_2")
        self.PV_VAL_1 = QtWidgets.QLineEdit(self.frame)
        self.PV_VAL_1.setGeometry(QtCore.QRect(180, 20, 113, 21))
        self.PV_VAL_1.setObjectName("PV_VAL_1")
        self.frame_2 = QtWidgets.QFrame(self.frame_PV)
        self.frame_2.setGeometry(QtCore.QRect(390, 30, 351, 351))
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.label_39 = QtWidgets.QLabel(self.frame_2)
        self.label_39.setGeometry(QtCore.QRect(40, 60, 121, 16))
        self.label_39.setObjectName("label_39")
        self.label_40 = QtWidgets.QLabel(self.frame_2)
        self.label_40.setGeometry(QtCore.QRect(40, 120, 121, 16))
        self.label_40.setObjectName("label_40")
        self.label_41 = QtWidgets.QLabel(self.frame_2)
        self.label_41.setGeometry(QtCore.QRect(40, 180, 121, 16))
        self.label_41.setObjectName("label_41")
        self.PV_VAL_7 = QtWidgets.QLineEdit(self.frame_2)
        self.PV_VAL_7.setGeometry(QtCore.QRect(200, 60, 113, 21))
        self.PV_VAL_7.setObjectName("PV_VAL_7")
        self.PV_VAL_8 = QtWidgets.QLineEdit(self.frame_2)
        self.PV_VAL_8.setGeometry(QtCore.QRect(200, 120, 113, 21))
        self.PV_VAL_8.setObjectName("PV_VAL_8")
        self.PV_VAL_9 = QtWidgets.QLineEdit(self.frame_2)
        self.PV_VAL_9.setGeometry(QtCore.QRect(200, 180, 113, 21))
        self.PV_VAL_9.setObjectName("PV_VAL_9")
        self.frame_3 = QtWidgets.QFrame(self.frame_PV)
        self.frame_3.setGeometry(QtCore.QRect(790, 30, 431, 471))
        self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.label_42 = QtWidgets.QLabel(self.frame_3)
        self.label_42.setGeometry(QtCore.QRect(20, 10, 72, 15))
        self.label_42.setObjectName("label_42")
        self.PV_MISTAKE = QtWidgets.QTextEdit(self.frame_3)
        self.PV_MISTAKE.setGeometry(QtCore.QRect(20, 30, 391, 411))
        self.PV_MISTAKE.setObjectName("PV_MISTAKE")
        self.frame_diesel = QtWidgets.QFrame(self.centralwidget)
        self.frame_diesel.setGeometry(QtCore.QRect(0, 1050, 1250, 530))
        self.frame_diesel.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_diesel.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_diesel.setObjectName("frame_diesel")
        self.frame_4 = QtWidgets.QFrame(self.frame_diesel)
        self.frame_4.setGeometry(QtCore.QRect(40, 30, 321, 481))
        self.frame_4.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_4.setObjectName("frame_4")
        self.label_43 = QtWidgets.QLabel(self.frame_4)
        self.label_43.setGeometry(QtCore.QRect(20, 260, 111, 21))
        self.label_43.setObjectName("label_43")
        self.DIESEL_VAL_6 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_6.setGeometry(QtCore.QRect(180, 220, 113, 21))
        self.DIESEL_VAL_6.setObjectName("DIESEL_VAL_6")
        self.label_44 = QtWidgets.QLabel(self.frame_4)
        self.label_44.setGeometry(QtCore.QRect(20, 300, 111, 21))
        self.label_44.setObjectName("label_44")
        self.DIESEL_VAL_7 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_7.setGeometry(QtCore.QRect(180, 260, 113, 21))
        self.DIESEL_VAL_7.setObjectName("DIESEL_VAL_7")
        self.label_45 = QtWidgets.QLabel(self.frame_4)
        self.label_45.setGeometry(QtCore.QRect(20, 340, 161, 21))
        self.label_45.setObjectName("label_45")
        self.DIESEL_VAL_8 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_8.setGeometry(QtCore.QRect(180, 300, 113, 21))
        self.DIESEL_VAL_8.setObjectName("DIESEL_VAL_8")
        self.label_46 = QtWidgets.QLabel(self.frame_4)
        self.label_46.setGeometry(QtCore.QRect(20, 220, 111, 21))
        self.label_46.setObjectName("label_46")
        self.label_47 = QtWidgets.QLabel(self.frame_4)
        self.label_47.setGeometry(QtCore.QRect(20, 180, 111, 21))
        self.label_47.setObjectName("label_47")
        self.label_48 = QtWidgets.QLabel(self.frame_4)
        self.label_48.setGeometry(QtCore.QRect(20, 100, 111, 16))
        self.label_48.setObjectName("label_48")
        self.DIESEL_VAL_5 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_5.setGeometry(QtCore.QRect(180, 180, 113, 21))
        self.DIESEL_VAL_5.setObjectName("DIESEL_VAL_5")
        self.DIESEL_VAL_4 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_4.setGeometry(QtCore.QRect(180, 140, 113, 21))
        self.DIESEL_VAL_4.setObjectName("DIESEL_VAL_4")
        self.DIESEL_VAL_2 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_2.setGeometry(QtCore.QRect(180, 60, 113, 21))
        self.DIESEL_VAL_2.setObjectName("DIESEL_VAL_2")
        self.label_49 = QtWidgets.QLabel(self.frame_4)
        self.label_49.setGeometry(QtCore.QRect(20, 140, 111, 16))
        self.label_49.setObjectName("label_49")
        self.label_54 = QtWidgets.QLabel(self.frame_4)
        self.label_54.setGeometry(QtCore.QRect(20, 20, 111, 16))
        self.label_54.setObjectName("label_54")
        self.DIESEL_VAL_3 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_3.setGeometry(QtCore.QRect(180, 100, 113, 21))
        self.DIESEL_VAL_3.setObjectName("DIESEL_VAL_3")
        self.label_56 = QtWidgets.QLabel(self.frame_4)
        self.label_56.setGeometry(QtCore.QRect(20, 380, 161, 21))
        self.label_56.setObjectName("label_56")
        self.DIESEL_VAL_9 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_9.setGeometry(QtCore.QRect(180, 340, 113, 21))
        self.DIESEL_VAL_9.setObjectName("DIESEL_VAL_9")
        self.label_63 = QtWidgets.QLabel(self.frame_4)
        self.label_63.setGeometry(QtCore.QRect(20, 60, 111, 16))
        self.label_63.setObjectName("label_63")
        self.DIESEL_VAL_10 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_10.setGeometry(QtCore.QRect(180, 380, 113, 21))
        self.DIESEL_VAL_10.setObjectName("DIESEL_VAL_10")
        self.label_64 = QtWidgets.QLabel(self.frame_4)
        self.label_64.setGeometry(QtCore.QRect(20, 420, 161, 21))
        self.label_64.setObjectName("label_64")
        self.DIESEL_VAL_11 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_11.setGeometry(QtCore.QRect(180, 420, 113, 21))
        self.DIESEL_VAL_11.setObjectName("DIESEL_VAL_11")
        self.DIESEL_VAL_1 = QtWidgets.QLineEdit(self.frame_4)
        self.DIESEL_VAL_1.setGeometry(QtCore.QRect(180, 20, 113, 21))
        self.DIESEL_VAL_1.setObjectName("DIESEL_VAL_1")
        self.frame_5 = QtWidgets.QFrame(self.frame_diesel)
        self.frame_5.setGeometry(QtCore.QRect(390, 30, 351, 481))
        self.frame_5.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_5.setObjectName("frame_5")
        self.label_50 = QtWidgets.QLabel(self.frame_5)
        self.label_50.setGeometry(QtCore.QRect(40, 60, 121, 16))
        self.label_50.setObjectName("label_50")
        self.label_51 = QtWidgets.QLabel(self.frame_5)
        self.label_51.setGeometry(QtCore.QRect(40, 140, 121, 16))
        self.label_51.setObjectName("label_51")
        self.label_52 = QtWidgets.QLabel(self.frame_5)
        self.label_52.setGeometry(QtCore.QRect(40, 180, 121, 16))
        self.label_52.setObjectName("label_52")
        self.DIESEL_VAL_13 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_13.setGeometry(QtCore.QRect(200, 60, 113, 21))
        self.DIESEL_VAL_13.setObjectName("DIESEL_VAL_13")
        self.DIESEL_VAL_15 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_15.setGeometry(QtCore.QRect(200, 140, 113, 21))
        self.DIESEL_VAL_15.setObjectName("DIESEL_VAL_15")
        self.DIESEL_VAL_16 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_16.setGeometry(QtCore.QRect(200, 180, 113, 21))
        self.DIESEL_VAL_16.setObjectName("DIESEL_VAL_16")
        self.label_57 = QtWidgets.QLabel(self.frame_5)
        self.label_57.setGeometry(QtCore.QRect(40, 20, 121, 16))
        self.label_57.setObjectName("label_57")
        self.DIESEL_VAL_12 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_12.setGeometry(QtCore.QRect(200, 20, 113, 21))
        self.DIESEL_VAL_12.setObjectName("DIESEL_VAL_12")
        self.label_58 = QtWidgets.QLabel(self.frame_5)
        self.label_58.setGeometry(QtCore.QRect(40, 100, 121, 16))
        self.label_58.setObjectName("label_58")
        self.DIESEL_VAL_14 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_14.setGeometry(QtCore.QRect(200, 100, 113, 21))
        self.DIESEL_VAL_14.setObjectName("DIESEL_VAL_14")
        self.label_59 = QtWidgets.QLabel(self.frame_5)
        self.label_59.setGeometry(QtCore.QRect(40, 260, 121, 16))
        self.label_59.setObjectName("label_59")
        self.label_60 = QtWidgets.QLabel(self.frame_5)
        self.label_60.setGeometry(QtCore.QRect(40, 220, 121, 16))
        self.label_60.setObjectName("label_60")
        self.DIESEL_VAL_17 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_17.setGeometry(QtCore.QRect(200, 220, 113, 21))
        self.DIESEL_VAL_17.setObjectName("DIESEL_VAL_17")
        self.DIESEL_VAL_18 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_18.setGeometry(QtCore.QRect(200, 260, 113, 21))
        self.DIESEL_VAL_18.setObjectName("DIESEL_VAL_18")
        self.label_61 = QtWidgets.QLabel(self.frame_5)
        self.label_61.setGeometry(QtCore.QRect(40, 300, 121, 16))
        self.label_61.setObjectName("label_61")
        self.label_62 = QtWidgets.QLabel(self.frame_5)
        self.label_62.setGeometry(QtCore.QRect(40, 340, 121, 16))
        self.label_62.setObjectName("label_62")
        self.label_65 = QtWidgets.QLabel(self.frame_5)
        self.label_65.setGeometry(QtCore.QRect(40, 380, 121, 16))
        self.label_65.setObjectName("label_65")
        self.label_66 = QtWidgets.QLabel(self.frame_5)
        self.label_66.setGeometry(QtCore.QRect(40, 420, 121, 16))
        self.label_66.setObjectName("label_66")
        self.DIESEL_VAL_19 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_19.setGeometry(QtCore.QRect(200, 300, 113, 21))
        self.DIESEL_VAL_19.setObjectName("DIESEL_VAL_19")
        self.DIESEL_VAL_20 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_20.setGeometry(QtCore.QRect(200, 340, 113, 21))
        self.DIESEL_VAL_20.setObjectName("DIESEL_VAL_20")
        self.DIESEL_VAL_21 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_21.setGeometry(QtCore.QRect(200, 380, 113, 21))
        self.DIESEL_VAL_21.setObjectName("DIESEL_VAL_21")
        self.DIESEL_VAL_22 = QtWidgets.QLineEdit(self.frame_5)
        self.DIESEL_VAL_22.setGeometry(QtCore.QRect(200, 420, 113, 21))
        self.DIESEL_VAL_22.setObjectName("DIESEL_VAL_22")
        self.frame_6 = QtWidgets.QFrame(self.frame_diesel)
        self.frame_6.setGeometry(QtCore.QRect(790, 30, 431, 471))
        self.frame_6.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_6.setObjectName("frame_6")
        self.label_53 = QtWidgets.QLabel(self.frame_6)
        self.label_53.setGeometry(QtCore.QRect(20, 10, 72, 15))
        self.label_53.setObjectName("label_53")
        self.DIESEL_MISTAKE = QtWidgets.QTextEdit(self.frame_6)
        self.DIESEL_MISTAKE.setGeometry(QtCore.QRect(20, 30, 391, 411))
        self.DIESEL_MISTAKE.setObjectName("DIESEL_MISTAKE")
        self.frame_battery = QtWidgets.QFrame(self.centralwidget)
        self.frame_battery.setGeometry(QtCore.QRect(0, 1580, 1250, 531))
        self.frame_battery.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_battery.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_battery.setObjectName("frame_battery")
        self.frame_7 = QtWidgets.QFrame(self.frame_battery)
        self.frame_7.setGeometry(QtCore.QRect(40, 20, 321, 481))
        self.frame_7.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_7.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_7.setObjectName("frame_7")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.frame_7)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.BMS_VAL_4 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_4.setObjectName("BMS_VAL_4")
        self.gridLayout_3.addWidget(self.BMS_VAL_4, 3, 1, 1, 1)
        self.label_70 = QtWidgets.QLabel(self.frame_7)
        self.label_70.setObjectName("label_70")
        self.gridLayout_3.addWidget(self.label_70, 4, 0, 1, 1)
        self.label_67 = QtWidgets.QLabel(self.frame_7)
        self.label_67.setObjectName("label_67")
        self.gridLayout_3.addWidget(self.label_67, 5, 0, 1, 1)
        self.BMS_VAL_11 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_11.setObjectName("BMS_VAL_11")
        self.gridLayout_3.addWidget(self.BMS_VAL_11, 10, 1, 1, 1)
        self.BMS_VAL_15 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_15.setObjectName("BMS_VAL_15")
        self.gridLayout_3.addWidget(self.BMS_VAL_15, 14, 1, 1, 1)
        self.BMS_VAL_7 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_7.setObjectName("BMS_VAL_7")
        self.gridLayout_3.addWidget(self.BMS_VAL_7, 6, 1, 1, 1)
        self.BMS_VAL_13 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_13.setObjectName("BMS_VAL_13")
        self.gridLayout_3.addWidget(self.BMS_VAL_13, 12, 1, 1, 1)
        self.BMS_VAL_9 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_9.setObjectName("BMS_VAL_9")
        self.gridLayout_3.addWidget(self.BMS_VAL_9, 8, 1, 1, 1)
        self.label_72 = QtWidgets.QLabel(self.frame_7)
        self.label_72.setObjectName("label_72")
        self.gridLayout_3.addWidget(self.label_72, 1, 0, 1, 1)
        self.BMS_VAL_1 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_1.setObjectName("BMS_VAL_1")
        self.gridLayout_3.addWidget(self.BMS_VAL_1, 0, 1, 1, 1)
        self.BMS_VAL_2 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_2.setObjectName("BMS_VAL_2")
        self.gridLayout_3.addWidget(self.BMS_VAL_2, 1, 1, 1, 1)
        self.label_76 = QtWidgets.QLabel(self.frame_7)
        self.label_76.setObjectName("label_76")
        self.gridLayout_3.addWidget(self.label_76, 8, 0, 1, 1)
        self.BMS_VAL_6 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_6.setObjectName("BMS_VAL_6")
        self.gridLayout_3.addWidget(self.BMS_VAL_6, 5, 1, 1, 1)
        self.label_95 = QtWidgets.QLabel(self.frame_7)
        self.label_95.setObjectName("label_95")
        self.gridLayout_3.addWidget(self.label_95, 13, 0, 1, 1)
        self.label_71 = QtWidgets.QLabel(self.frame_7)
        self.label_71.setObjectName("label_71")
        self.gridLayout_3.addWidget(self.label_71, 3, 0, 1, 1)
        self.label_93 = QtWidgets.QLabel(self.frame_7)
        self.label_93.setObjectName("label_93")
        self.gridLayout_3.addWidget(self.label_93, 11, 0, 1, 1)
        self.label_94 = QtWidgets.QLabel(self.frame_7)
        self.label_94.setObjectName("label_94")
        self.gridLayout_3.addWidget(self.label_94, 12, 0, 1, 1)
        self.label_97 = QtWidgets.QLabel(self.frame_7)
        self.label_97.setObjectName("label_97")
        self.gridLayout_3.addWidget(self.label_97, 15, 0, 1, 1)
        self.BMS_VAL_14 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_14.setObjectName("BMS_VAL_14")
        self.gridLayout_3.addWidget(self.BMS_VAL_14, 13, 1, 1, 1)
        self.BMS_VAL_3 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_3.setObjectName("BMS_VAL_3")
        self.gridLayout_3.addWidget(self.BMS_VAL_3, 2, 1, 1, 1)
        self.label_78 = QtWidgets.QLabel(self.frame_7)
        self.label_78.setObjectName("label_78")
        self.gridLayout_3.addWidget(self.label_78, 9, 0, 1, 1)
        self.label_69 = QtWidgets.QLabel(self.frame_7)
        self.label_69.setObjectName("label_69")
        self.gridLayout_3.addWidget(self.label_69, 7, 0, 1, 1)
        self.BMS_VAL_10 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_10.setObjectName("BMS_VAL_10")
        self.gridLayout_3.addWidget(self.BMS_VAL_10, 9, 1, 1, 1)
        self.BMS_VAL_12 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_12.setObjectName("BMS_VAL_12")
        self.gridLayout_3.addWidget(self.BMS_VAL_12, 11, 1, 1, 1)
        self.label_73 = QtWidgets.QLabel(self.frame_7)
        self.label_73.setObjectName("label_73")
        self.gridLayout_3.addWidget(self.label_73, 2, 0, 1, 1)
        self.BMS_VAL_8 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_8.setObjectName("BMS_VAL_8")
        self.gridLayout_3.addWidget(self.BMS_VAL_8, 7, 1, 1, 1)
        self.BMS_VAL_16 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_16.setObjectName("BMS_VAL_16")
        self.gridLayout_3.addWidget(self.BMS_VAL_16, 15, 1, 1, 1)
        self.label_68 = QtWidgets.QLabel(self.frame_7)
        self.label_68.setObjectName("label_68")
        self.gridLayout_3.addWidget(self.label_68, 6, 0, 1, 1)
        self.label_77 = QtWidgets.QLabel(self.frame_7)
        self.label_77.setObjectName("label_77")
        self.gridLayout_3.addWidget(self.label_77, 0, 0, 1, 1)
        self.BMS_VAL_5 = QtWidgets.QLineEdit(self.frame_7)
        self.BMS_VAL_5.setObjectName("BMS_VAL_5")
        self.gridLayout_3.addWidget(self.BMS_VAL_5, 4, 1, 1, 1)
        self.label_92 = QtWidgets.QLabel(self.frame_7)
        self.label_92.setObjectName("label_92")
        self.gridLayout_3.addWidget(self.label_92, 10, 0, 1, 1)
        self.label_96 = QtWidgets.QLabel(self.frame_7)
        self.label_96.setObjectName("label_96")
        self.gridLayout_3.addWidget(self.label_96, 14, 0, 1, 1)
        self.frame_8 = QtWidgets.QFrame(self.frame_battery)
        self.frame_8.setGeometry(QtCore.QRect(390, 20, 351, 481))
        self.frame_8.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_8.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_8.setObjectName("frame_8")
        self.label_79 = QtWidgets.QLabel(self.frame_8)
        self.label_79.setGeometry(QtCore.QRect(40, 60, 151, 16))
        self.label_79.setObjectName("label_79")
        self.label_80 = QtWidgets.QLabel(self.frame_8)
        self.label_80.setGeometry(QtCore.QRect(40, 140, 121, 16))
        self.label_80.setObjectName("label_80")
        self.label_81 = QtWidgets.QLabel(self.frame_8)
        self.label_81.setGeometry(QtCore.QRect(40, 180, 151, 16))
        self.label_81.setObjectName("label_81")
        self.BMS_VAL_18 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_18.setGeometry(QtCore.QRect(200, 60, 113, 21))
        self.BMS_VAL_18.setObjectName("BMS_VAL_18")
        self.label_82 = QtWidgets.QLabel(self.frame_8)
        self.label_82.setGeometry(QtCore.QRect(40, 20, 121, 16))
        self.label_82.setObjectName("label_82")
        self.BMS_VAL_17 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_17.setGeometry(QtCore.QRect(200, 20, 113, 21))
        self.BMS_VAL_17.setObjectName("BMS_VAL_17")
        self.label_83 = QtWidgets.QLabel(self.frame_8)
        self.label_83.setGeometry(QtCore.QRect(40, 100, 171, 16))
        self.label_83.setObjectName("label_83")
        self.label_84 = QtWidgets.QLabel(self.frame_8)
        self.label_84.setGeometry(QtCore.QRect(40, 260, 121, 16))
        self.label_84.setObjectName("label_84")
        self.label_85 = QtWidgets.QLabel(self.frame_8)
        self.label_85.setGeometry(QtCore.QRect(40, 220, 151, 16))
        self.label_85.setObjectName("label_85")
        self.label_86 = QtWidgets.QLabel(self.frame_8)
        self.label_86.setGeometry(QtCore.QRect(40, 300, 121, 16))
        self.label_86.setObjectName("label_86")
        self.label_87 = QtWidgets.QLabel(self.frame_8)
        self.label_87.setGeometry(QtCore.QRect(40, 340, 121, 16))
        self.label_87.setObjectName("label_87")
        self.label_88 = QtWidgets.QLabel(self.frame_8)
        self.label_88.setGeometry(QtCore.QRect(40, 380, 121, 16))
        self.label_88.setObjectName("label_88")
        self.label_89 = QtWidgets.QLabel(self.frame_8)
        self.label_89.setGeometry(QtCore.QRect(40, 420, 121, 16))
        self.label_89.setObjectName("label_89")
        self.label_91 = QtWidgets.QLabel(self.frame_8)
        self.label_91.setGeometry(QtCore.QRect(40, 460, 121, 16))
        self.label_91.setObjectName("label_91")
        self.BMS_VAL_19 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_19.setGeometry(QtCore.QRect(200, 100, 113, 21))
        self.BMS_VAL_19.setObjectName("BMS_VAL_19")
        self.BMS_VAL_20 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_20.setGeometry(QtCore.QRect(200, 140, 113, 21))
        self.BMS_VAL_20.setObjectName("BMS_VAL_20")
        self.BMS_VAL_21 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_21.setGeometry(QtCore.QRect(200, 180, 113, 21))
        self.BMS_VAL_21.setObjectName("BMS_VAL_21")
        self.BMS_VAL_22 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_22.setGeometry(QtCore.QRect(200, 220, 113, 21))
        self.BMS_VAL_22.setObjectName("BMS_VAL_22")
        self.BMS_VAL_23 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_23.setGeometry(QtCore.QRect(200, 260, 113, 21))
        self.BMS_VAL_23.setObjectName("BMS_VAL_23")
        self.BMS_VAL_24 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_24.setGeometry(QtCore.QRect(200, 300, 113, 21))
        self.BMS_VAL_24.setObjectName("BMS_VAL_24")
        self.BMS_VAL_25 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_25.setGeometry(QtCore.QRect(200, 340, 113, 21))
        self.BMS_VAL_25.setObjectName("BMS_VAL_25")
        self.BMS_VAL_26 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_26.setGeometry(QtCore.QRect(200, 380, 113, 21))
        self.BMS_VAL_26.setObjectName("BMS_VAL_26")
        self.BMS_VAL_27 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_27.setGeometry(QtCore.QRect(200, 420, 113, 21))
        self.BMS_VAL_27.setObjectName("BMS_VAL_27")
        self.BMS_VAL_28 = QtWidgets.QLineEdit(self.frame_8)
        self.BMS_VAL_28.setGeometry(QtCore.QRect(200, 460, 113, 21))
        self.BMS_VAL_28.setObjectName("BMS_VAL_28")
        self.frame_9 = QtWidgets.QFrame(self.frame_battery)
        self.frame_9.setGeometry(QtCore.QRect(790, 20, 431, 481))
        self.frame_9.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_9.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_9.setObjectName("frame_9")
        self.label_90 = QtWidgets.QLabel(self.frame_9)
        self.label_90.setGeometry(QtCore.QRect(20, 10, 72, 15))
        self.label_90.setObjectName("label_90")
        self.BMS_MISTAKE = QtWidgets.QTextEdit(self.frame_9)
        self.BMS_MISTAKE.setGeometry(QtCore.QRect(20, 30, 391, 431))
        self.BMS_MISTAKE.setObjectName("BMS_MISTAKE")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1274, 26))
        self.menubar.setObjectName("menubar")
        self.menu = QtWidgets.QMenu(self.menubar)
        self.menu.setObjectName("menu")
        self.menu_PV = QtWidgets.QMenu(self.menubar)
        self.menu_PV.setObjectName("menu_PV")
        self.menu_diesel = QtWidgets.QMenu(self.menubar)
        self.menu_diesel.setObjectName("menu_diesel")
        self.menu_4 = QtWidgets.QMenu(self.menubar)
        self.menu_4.setObjectName("menu_4")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionstart = QtWidgets.QAction(MainWindow)
        self.actionstart.setObjectName("actionstart")
        self.actioninfor = QtWidgets.QAction(MainWindow)
        self.actioninfor.setObjectName("actioninfor")
        self.actionshow_main = QtWidgets.QAction(MainWindow)
        self.actionshow_main.setObjectName("actionshow_main")
        self.actionclose_main = QtWidgets.QAction(MainWindow)
        self.actionclose_main.setObjectName("actionclose_main")
        self.actionshow_PV = QtWidgets.QAction(MainWindow)
        self.actionshow_PV.setObjectName("actionshow_PV")
        self.actionclose_PV = QtWidgets.QAction(MainWindow)
        self.actionclose_PV.setObjectName("actionclose_PV")
        self.actionshow_diesel = QtWidgets.QAction(MainWindow)
        self.actionshow_diesel.setObjectName("actionshow_diesel")
        self.actionclose_diesel = QtWidgets.QAction(MainWindow)
        self.actionclose_diesel.setObjectName("actionclose_diesel")
        self.actionshow_battery = QtWidgets.QAction(MainWindow)
        self.actionshow_battery.setObjectName("actionshow_battery")
        self.actionclose_battery = QtWidgets.QAction(MainWindow)
        self.actionclose_battery.setObjectName("actionclose_battery")
        self.menu.addAction(self.actionstart)
        self.menu.addAction(self.actioninfor)
        self.menu_PV.addAction(self.actionshow_PV)
        self.menu_PV.addAction(self.actionclose_PV)
        self.menu_diesel.addAction(self.actionshow_diesel)
        self.menu_diesel.addAction(self.actionclose_diesel)
        self.menu_4.addAction(self.actionshow_battery)
        self.menu_4.addAction(self.actionclose_battery)
        self.menubar.addAction(self.menu.menuAction())
        self.menubar.addAction(self.menu_PV.menuAction())
        self.menubar.addAction(self.menu_diesel.menuAction())
        self.menubar.addAction(self.menu_4.menuAction())

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.label_19.setText(_translate("MainWindow", "  6KM负荷2接口"))
        self.label_12.setText(_translate("MainWindow", "   8QF柴发接口"))
        self.label_9.setText(_translate("MainWindow", "电网电压"))
        self.btn_6KM_off.setText(_translate("MainWindow", "关"))
        self.label_28.setText(_translate("MainWindow", "PCS"))
        self.label_11.setText(_translate("MainWindow", "   3KM光伏接口"))
        self.label_24.setText(_translate("MainWindow", "负荷3P"))
        self.btn_8QF_off.setText(_translate("MainWindow", "关"))
        self.btn_city_on.setText(_translate("MainWindow", "开"))
        self.label.setText(_translate("MainWindow", "负荷1P"))
        self.label_7.setText(_translate("MainWindow", "电网P"))
        self.label_17.setText(_translate("MainWindow", "柴发控制"))
        self.label_18.setText(_translate("MainWindow", "负荷1电流"))
        self.label_15.setText(_translate("MainWindow", "负荷3Q"))
        self.label_8.setText(_translate("MainWindow", "电网Q"))
        self.label_4.setText(_translate("MainWindow", "  2KM"))
        self.label_26.setText(_translate("MainWindow", "通信状态"))
        self.label_25.setText(_translate("MainWindow", "负荷2Q"))
        self.label_27.setText(_translate("MainWindow", "光伏"))
        self.label_14.setText(_translate("MainWindow", "光伏P"))
        self.label_2.setText(_translate("MainWindow", "负荷1Q"))
        self.btn_6KM_on.setText(_translate("MainWindow", "开"))
        self.label_29.setText(_translate("MainWindow", "柴发"))
        self.label_6.setText(_translate("MainWindow", "  市电接口"))
        self.label_21.setText(_translate("MainWindow", "负荷2电流"))
        self.label_20.setText(_translate("MainWindow", "  7KM负荷3接口"))
        self.label_3.setText(_translate("MainWindow", "光伏Q"))
        self.label_10.setText(_translate("MainWindow", "电网电流"))
        self.label_30.setText(_translate("MainWindow", "BMS"))
        self.btn_2KM_on.setText(_translate("MainWindow", "开"))
        self.btn_9QF_off.setText(_translate("MainWindow", "关"))
        self.btn_8QF_on.setText(_translate("MainWindow", "开"))
        self.label_16.setText(_translate("MainWindow", "   5KM负荷1接口"))
        self.btn_diesel_manual.setText(_translate("MainWindow", "手动"))
        self.btn_7KM_off.setText(_translate("MainWindow", "关"))
        self.btn_diesel_off.setText(_translate("MainWindow", "停机"))
        self.label_23.setText(_translate("MainWindow", "负荷2P"))
        self.btn_diesel_on.setText(_translate("MainWindow", "启动"))
        self.label_31.setText(_translate("MainWindow", "测控"))
        self.btn_diesel_open.setText(_translate("MainWindow", "柴充分闸"))
        self.btn_7KM_on.setText(_translate("MainWindow", "开"))
        self.btn_3KM_on.setText(_translate("MainWindow", "开"))
        self.label_22.setText(_translate("MainWindow", "负荷3电流"))
        self.btn_5KM_off.setText(_translate("MainWindow", "关"))
        self.btn_9QF_on.setText(_translate("MainWindow", "开"))
        self.btn_5KM_on.setText(_translate("MainWindow", "开"))
        self.btn_2KM_off.setText(_translate("MainWindow", "关"))
        self.label_5.setText(_translate("MainWindow", "光伏电流"))
        self.btn_city_off.setText(_translate("MainWindow", "关"))
        self.label_13.setText(_translate("MainWindow", "   9QF电池接口"))
        self.btn_diesel_close.setText(_translate("MainWindow", "柴充合闸"))
        self.btn_3KM_off.setText(_translate("MainWindow", "关"))
        self.label_32.setText(_translate("MainWindow", "光伏输出有功P："))
        self.label_33.setText(_translate("MainWindow", "光伏输出无功Q："))
        self.label_34.setText(_translate("MainWindow", "光伏输出功率因数PF："))
        self.label_35.setText(_translate("MainWindow", "光伏电路电流I："))
        self.label_36.setText(_translate("MainWindow", "光伏电路电压V："))
        self.label_37.setText(_translate("MainWindow", "光伏通讯状态："))
        self.label_39.setText(_translate("MainWindow", "光伏日发电量："))
        self.label_40.setText(_translate("MainWindow", "光伏总发电量H："))
        self.label_41.setText(_translate("MainWindow", "光伏总发电量L："))
        self.label_42.setText(_translate("MainWindow", "错误日志："))
        self.label_43.setText(_translate("MainWindow", "有功功率P："))
        self.label_44.setText(_translate("MainWindow", "无功功率Q："))
        self.label_45.setText(_translate("MainWindow", "功率因数PF："))
        self.label_46.setText(_translate("MainWindow", "柴发充电电流I："))
        self.label_47.setText(_translate("MainWindow", "柴发充电电压V："))
        self.label_48.setText(_translate("MainWindow", "柴发通电状态："))
        self.label_49.setText(_translate("MainWindow", "柴发充电机温度："))
        self.label_54.setText(_translate("MainWindow", "柴发通信状态："))
        self.label_56.setText(_translate("MainWindow", "视在功率PF："))
        self.label_63.setText(_translate("MainWindow", "运行状态："))
        self.label_64.setText(_translate("MainWindow", "燃油消耗："))
        self.label_50.setText(_translate("MainWindow", "发电频率："))
        self.label_51.setText(_translate("MainWindow", "油压值："))
        self.label_52.setText(_translate("MainWindow", "液位值："))
        self.label_57.setText(_translate("MainWindow", "柴发发电UA："))
        self.label_58.setText(_translate("MainWindow", "水温温度值："))
        self.label_59.setText(_translate("MainWindow", "电池电压："))
        self.label_60.setText(_translate("MainWindow", "转速："))
        self.label_61.setText(_translate("MainWindow", "柴发停机超时："))
        self.label_62.setText(_translate("MainWindow", "柴发启动超时："))
        self.label_65.setText(_translate("MainWindow", "累计燃油消耗1："))
        self.label_66.setText(_translate("MainWindow", "柴发启动超时："))
        self.label_53.setText(_translate("MainWindow", "错误日志："))
        self.label_70.setText(_translate("MainWindow", "总电压："))
        self.label_67.setText(_translate("MainWindow", "实时电流："))
        self.label_72.setText(_translate("MainWindow", "额定容量："))
        self.label_76.setText(_translate("MainWindow", "最大允许充电电压：   "))
        self.label_95.setText(_translate("MainWindow", "ready："))
        self.label_71.setText(_translate("MainWindow", "电池容量："))
        self.label_93.setText(_translate("MainWindow", "最大允许放电电流："))
        self.label_94.setText(_translate("MainWindow", "BMS最高告警状态："))
        self.label_97.setText(_translate("MainWindow", "充放电状态："))
        self.label_78.setText(_translate("MainWindow", "最小允许放电电压："))
        self.label_69.setText(_translate("MainWindow", "SOH:"))
        self.label_73.setText(_translate("MainWindow", "从控节点数："))
        self.label_68.setText(_translate("MainWindow", "SOC："))
        self.label_77.setText(_translate("MainWindow", "额定电压："))
        self.label_92.setText(_translate("MainWindow", "最大允许充电电流"))
        self.label_96.setText(_translate("MainWindow", "BMS工作状态："))
        self.label_79.setText(_translate("MainWindow", "单体最低电压所在簇："))
        self.label_80.setText(_translate("MainWindow", "单体最高电压："))
        self.label_81.setText(_translate("MainWindow", "单体最高电压所在簇："))
        self.label_82.setText(_translate("MainWindow", "单体最低电压："))
        self.label_83.setText(_translate("MainWindow", "单体最低电压所在箱："))
        self.label_84.setText(_translate("MainWindow", "最低温度："))
        self.label_85.setText(_translate("MainWindow", "单体最高电压所在箱："))
        self.label_86.setText(_translate("MainWindow", "最低温度所在簇："))
        self.label_87.setText(_translate("MainWindow", "最低温度所在箱："))
        self.label_88.setText(_translate("MainWindow", "最高温度："))
        self.label_89.setText(_translate("MainWindow", "最高温度所在簇："))
        self.label_91.setText(_translate("MainWindow", "最高温度所在箱："))
        self.label_90.setText(_translate("MainWindow", "错误日志："))
        self.menu.setTitle(_translate("MainWindow", "连接设置"))
        self.menu_PV.setTitle(_translate("MainWindow", "光伏参数"))
        self.menu_diesel.setTitle(_translate("MainWindow", "柴发参数"))
        self.menu_4.setTitle(_translate("MainWindow", "电池参数"))
        self.actionstart.setText(_translate("MainWindow", "连接配置"))
        self.actioninfor.setText(_translate("MainWindow", "详细报文"))
        self.actionshow_main.setText(_translate("MainWindow", "显示"))
        self.actionclose_main.setText(_translate("MainWindow", "关闭"))
        self.actionshow_PV.setText(_translate("MainWindow", "显示"))
        self.actionclose_PV.setText(_translate("MainWindow", "关闭"))
        self.actionshow_diesel.setText(_translate("MainWindow", "显示"))
        self.actionclose_diesel.setText(_translate("MainWindow", "关闭"))
        self.actionshow_battery.setText(_translate("MainWindow", "显示"))
        self.actionclose_battery.setText(_translate("MainWindow", "关闭"))
