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

# Form implementation generated from reading ui file 'Drillbotics2018.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_C(object):
    def setupUi(self, C):
        C.setObjectName("C")
        C.setEnabled(True)
        C.resize(1322, 979)
        font = QtGui.QFont()
        font.setFamily("Verdana")
        C.setFont(font)
        C.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        C.setAutoFillBackground(False)
        C.setStyleSheet("background-color: rgb(255, 255, 255)")
        #C.setDocumentMode(False)
        #C.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.centralwidget = QtWidgets.QWidget(C)
        self.centralwidget.setEnabled(True)
        self.centralwidget.setBaseSize(QtCore.QSize(1280, 1024))
        self.centralwidget.setObjectName("centralwidget")
        self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(50, 20, 441, 103))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget.setFont(font)
        self.layoutWidget.setObjectName("layoutWidget")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.layoutWidget)
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.label_4 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.gridLayout_9.addWidget(self.label_4, 0, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_5 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 2, 1, 1)
        self.comboBox_Circulation = QtWidgets.QComboBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Circulation.setFont(font)
        self.comboBox_Circulation.setObjectName("comboBox_Circulation")
        self.gridLayout_2.addWidget(self.comboBox_Circulation, 1, 1, 1, 1)
        self.comboBox_Hoisting = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Hoisting.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Hoisting.setFont(font)
        self.comboBox_Hoisting.setObjectName("comboBox_Hoisting")
        self.gridLayout_2.addWidget(self.comboBox_Hoisting, 1, 0, 1, 1)
        self.comboBox_Rotation = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Rotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Rotation.setFont(font)
        self.comboBox_Rotation.setObjectName("comboBox_Rotation")
        self.gridLayout_2.addWidget(self.comboBox_Rotation, 1, 2, 1, 1)
        self.pushButton_OpenPorts = QtWidgets.QPushButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_OpenPorts.setFont(font)
        self.pushButton_OpenPorts.setObjectName("pushButton_OpenPorts")
        self.gridLayout_2.addWidget(self.pushButton_OpenPorts, 1, 3, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.layoutWidget1 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(750, 10, 511, 273))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.layoutWidget1)
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label = QtWidgets.QLabel(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridLayout_6.addWidget(self.label, 1, 0, 1, 1)
        self.line_21 = QtWidgets.QFrame(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_21.sizePolicy().hasHeightForWidth())
        self.line_21.setSizePolicy(sizePolicy)
        self.line_21.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_21.setObjectName("line_21")
        self.gridLayout_6.addWidget(self.line_21, 4, 0, 1, 1)
        self.label_91 = QtWidgets.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setItalic(True)
        font.setUnderline(True)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_91.setFont(font)
        self.label_91.setObjectName("label_91")
        self.gridLayout_6.addWidget(self.label_91, 3, 0, 1, 1)
        self.layoutWidget2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget2.setGeometry(QtCore.QRect(50, 380, 221, 541))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget2.setFont(font)
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.layoutWidget2)
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.line_20 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_20.setFont(font)
        self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_20.setObjectName("line_20")
        self.gridLayout_5.addWidget(self.line_20, 5, 0, 1, 3)
        self.line_13 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_13.setFont(font)
        self.line_13.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_13.setObjectName("line_13")
        self.gridLayout_5.addWidget(self.line_13, 3, 0, 1, 3)
        self.label_Velocity = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Velocity.setFont(font)
        self.label_Velocity.setObjectName("label_Velocity")
        self.gridLayout_5.addWidget(self.label_Velocity, 4, 2, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_31.setFont(font)
        self.label_31.setObjectName("label_31")
        self.gridLayout_5.addWidget(self.label_31, 4, 0, 1, 1)
        self.label_32 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_32.setFont(font)
        self.label_32.setObjectName("label_32")
        self.gridLayout_5.addWidget(self.label_32, 2, 0, 1, 1)
        self.label_ROP3 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP3.setFont(font)
        self.label_ROP3.setObjectName("label_ROP3")
        self.gridLayout_5.addWidget(self.label_ROP3, 2, 2, 1, 1)
        self.label_RPM = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_RPM.setFont(font)
        self.label_RPM.setObjectName("label_RPM")
        self.gridLayout_5.addWidget(self.label_RPM, 6, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName("label_8")
        self.gridLayout_5.addWidget(self.label_8, 6, 0, 1, 1)
        self.line_16 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_16.setFont(font)
        self.line_16.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_16.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_16.setObjectName("line_16")
        self.gridLayout_5.addWidget(self.line_16, 7, 0, 1, 3)
        self.label_41 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_41.setFont(font)
        self.label_41.setObjectName("label_41")
        self.gridLayout_5.addWidget(self.label_41, 8, 0, 1, 1)
        self.label_WOB = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_WOB.setFont(font)
        self.label_WOB.setObjectName("label_WOB")
        self.gridLayout_5.addWidget(self.label_WOB, 8, 2, 1, 1)
        self.line_3 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_3.setFont(font)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout_5.addWidget(self.line_3, 11, 0, 1, 3)
        self.label_10 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setObjectName("label_10")
        self.gridLayout_5.addWidget(self.label_10, 10, 0, 1, 1)
        self.line_4 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_4.setFont(font)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridLayout_5.addWidget(self.line_4, 9, 0, 1, 3)
        self.label_Topdrive_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Topdrive_Torque.setFont(font)
        self.label_Topdrive_Torque.setObjectName("label_Topdrive_Torque")
        self.gridLayout_5.addWidget(self.label_Topdrive_Torque, 10, 2, 1, 1)
        self.label_TAM_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_TAM_Torque.setFont(font)
        self.label_TAM_Torque.setObjectName("label_TAM_Torque")
        self.gridLayout_5.addWidget(self.label_TAM_Torque, 12, 2, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_13.setFont(font)
        self.label_13.setObjectName("label_13")
        self.gridLayout_5.addWidget(self.label_13, 12, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_2.setFont(font)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_5.addWidget(self.line_2, 13, 0, 1, 3)
        self.label_15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_15.setFont(font)
        self.label_15.setObjectName("label_15")
        self.gridLayout_5.addWidget(self.label_15, 14, 0, 1, 1)
        self.label_Pressure = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Pressure.setFont(font)
        self.label_Pressure.setObjectName("label_Pressure")
        self.gridLayout_5.addWidget(self.label_Pressure, 14, 2, 1, 1)
        self.label_34 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_34.setFont(font)
        self.label_34.setObjectName("label_34")
        self.gridLayout_5.addWidget(self.label_34, 16, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line.setFont(font)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_5.addWidget(self.line, 15, 0, 1, 3)
        self.line_19 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_19.setFont(font)
        self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_19.setObjectName("line_19")
        self.gridLayout_5.addWidget(self.line_19, 19, 0, 1, 3)
        self.label_49 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_49.setFont(font)
        self.label_49.setObjectName("label_49")
        self.gridLayout_5.addWidget(self.label_49, 20, 0, 1, 1)
        self.label_StepCounter = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_StepCounter.setFont(font)
        self.label_StepCounter.setObjectName("label_StepCounter")
        self.gridLayout_5.addWidget(self.label_StepCounter, 20, 2, 1, 1)
        self.line_5 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_5.setFont(font)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.gridLayout_5.addWidget(self.line_5, 21, 0, 1, 3)
        self.label_Flow_Rate_Q = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Flow_Rate_Q.setFont(font)
        self.label_Flow_Rate_Q.setObjectName("label_Flow_Rate_Q")
        self.gridLayout_5.addWidget(self.label_Flow_Rate_Q, 16, 2, 1, 1)
        self.label_45 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_45.setFont(font)
        self.label_45.setObjectName("label_45")
        self.gridLayout_5.addWidget(self.label_45, 18, 0, 1, 1)
        self.line_14 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_14.setFont(font)
        self.line_14.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_14.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_14.setObjectName("line_14")
        self.gridLayout_5.addWidget(self.line_14, 17, 0, 1, 3)
        self.label_Height_Sensor = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Height_Sensor.setFont(font)
        self.label_Height_Sensor.setObjectName("label_Height_Sensor")
        self.gridLayout_5.addWidget(self.label_Height_Sensor, 18, 2, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_30.setFont(font)
        self.label_30.setObjectName("label_30")
        self.gridLayout_5.addWidget(self.label_30, 0, 0, 1, 1)
        self.label_ROP15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP15.setFont(font)
        self.label_ROP15.setObjectName("label_ROP15")
        self.gridLayout_5.addWidget(self.label_ROP15, 0, 2, 1, 1)
        self.line_12 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_12.setFont(font)
        self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_12.setObjectName("line_12")
        self.gridLayout_5.addWidget(self.line_12, 1, 0, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(24, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem, 0, 1, 1, 1)
        self.layoutWidget3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget3.setGeometry(QtCore.QRect(290, 380, 191, 320))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget3.setFont(font)
        self.layoutWidget3.setObjectName("layoutWidget3")
        self.gridLayout_13 = QtWidgets.QGridLayout(self.layoutWidget3)
        self.gridLayout_13.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_13.setObjectName("gridLayout_13")
        self.line_22 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_22.setFont(font)
        self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_22.setObjectName("line_22")
        self.gridLayout_13.addWidget(self.line_22, 1, 0, 1, 3)
        self.line_26 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_26.setFont(font)
        self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_26.setObjectName("line_26")
        self.gridLayout_13.addWidget(self.line_26, 7, 0, 1, 3)
        self.label_Act1StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act1StepCount.setFont(font)
        self.label_Act1StepCount.setObjectName("label_Act1StepCount")
        self.gridLayout_13.addWidget(self.label_Act1StepCount, 8, 2, 1, 1)
        self.label_39 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_39.setFont(font)
        self.label_39.setObjectName("label_39")
        self.gridLayout_13.addWidget(self.label_39, 6, 0, 1, 1)
        self.label_48 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_48.setFont(font)
        self.label_48.setObjectName("label_48")
        self.gridLayout_13.addWidget(self.label_48, 8, 0, 1, 1)
        self.label_Act3StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act3StepCount.setFont(font)
        self.label_Act3StepCount.setObjectName("label_Act3StepCount")
        self.gridLayout_13.addWidget(self.label_Act3StepCount, 10, 2, 1, 1)
        self.label_LoadCell_Z1 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z1.setFont(font)
        self.label_LoadCell_Z1.setObjectName("label_LoadCell_Z1")
        self.gridLayout_13.addWidget(self.label_LoadCell_Z1, 12, 2, 1, 1)
        self.label_LoadCell_Z2 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z2.setFont(font)
        self.label_LoadCell_Z2.setObjectName("label_LoadCell_Z2")
        self.gridLayout_13.addWidget(self.label_LoadCell_Z2, 13, 2, 1, 1)
        self.line_15 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_15.setFont(font)
        self.line_15.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_15.setObjectName("line_15")
        self.gridLayout_13.addWidget(self.line_15, 3, 0, 1, 3)
        self.label_d_exponent = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_d_exponent.setFont(font)
        self.label_d_exponent.setObjectName("label_d_exponent")
        self.gridLayout_13.addWidget(self.label_d_exponent, 4, 2, 1, 1)
        self.label_Act2StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act2StepCount.setFont(font)
        self.label_Act2StepCount.setObjectName("label_Act2StepCount")
        self.gridLayout_13.addWidget(self.label_Act2StepCount, 9, 2, 1, 1)
        self.label_UCS = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_UCS.setFont(font)
        self.label_UCS.setObjectName("label_UCS")
        self.gridLayout_13.addWidget(self.label_UCS, 2, 2, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_23.setFont(font)
        self.label_23.setObjectName("label_23")
        self.gridLayout_13.addWidget(self.label_23, 13, 0, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_27.setFont(font)
        self.label_27.setObjectName("label_27")
        self.gridLayout_13.addWidget(self.label_27, 14, 0, 1, 1)
        self.label_Bit_Torque = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Bit_Torque.setFont(font)
        self.label_Bit_Torque.setObjectName("label_Bit_Torque")
        self.gridLayout_13.addWidget(self.label_Bit_Torque, 6, 2, 1, 1)
        self.label_LoadCell_Z3 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z3.setFont(font)
        self.label_LoadCell_Z3.setObjectName("label_LoadCell_Z3")
        self.gridLayout_13.addWidget(self.label_LoadCell_Z3, 14, 2, 1, 1)
        self.label_29 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_29.setFont(font)
        self.label_29.setObjectName("label_29")
        self.gridLayout_13.addWidget(self.label_29, 15, 0, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_35.setFont(font)
        self.label_35.setObjectName("label_35")
        self.gridLayout_13.addWidget(self.label_35, 0, 0, 1, 1)
        self.label_37 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_37.setFont(font)
        self.label_37.setObjectName("label_37")
        self.gridLayout_13.addWidget(self.label_37, 2, 0, 1, 1)
        self.label_43 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_43.setFont(font)
        self.label_43.setObjectName("label_43")
        self.gridLayout_13.addWidget(self.label_43, 4, 0, 1, 1)
        self.label_MSE = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_MSE.setFont(font)
        self.label_MSE.setObjectName("label_MSE")
        self.gridLayout_13.addWidget(self.label_MSE, 0, 2, 1, 1)
        self.label_50 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_50.setFont(font)
        self.label_50.setObjectName("label_50")
        self.gridLayout_13.addWidget(self.label_50, 9, 0, 1, 1)
        self.label_51 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_51.setFont(font)
        self.label_51.setObjectName("label_51")
        self.gridLayout_13.addWidget(self.label_51, 10, 0, 1, 1)
        self.line_27 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_27.setFont(font)
        self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_27.setObjectName("line_27")
        self.gridLayout_13.addWidget(self.line_27, 5, 0, 1, 3)
        self.line_25 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_25.setFont(font)
        self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_25.setObjectName("line_25")
        self.gridLayout_13.addWidget(self.line_25, 11, 0, 1, 3)
        self.label_19 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_19.setFont(font)
        self.label_19.setObjectName("label_19")
        self.gridLayout_13.addWidget(self.label_19, 12, 0, 1, 1)
        self.line_11 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_11.setFont(font)
        self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_11.setObjectName("line_11")
        self.gridLayout_13.addWidget(self.line_11, 16, 0, 1, 3)
        self.label_Hookload_SumZ = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Hookload_SumZ.setFont(font)
        self.label_Hookload_SumZ.setObjectName("label_Hookload_SumZ")
        self.gridLayout_13.addWidget(self.label_Hookload_SumZ, 15, 2, 1, 1)
        self.line_10 = QtWidgets.QFrame(self.centralwidget)
        self.line_10.setGeometry(QtCore.QRect(30, 950, 1241, 16))
        self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_10.setObjectName("line_10")
        self.line_17 = QtWidgets.QFrame(self.centralwidget)
        self.line_17.setGeometry(QtCore.QRect(20, 0, 1241, 16))
        self.line_17.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_17.setObjectName("line_17")
        self.line_18 = QtWidgets.QFrame(self.centralwidget)
        self.line_18.setGeometry(QtCore.QRect(737, 460, 531, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_18.sizePolicy().hasHeightForWidth())
        self.line_18.setSizePolicy(sizePolicy)
        self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_18.setObjectName("line_18")
        self.line_9 = QtWidgets.QFrame(self.centralwidget)
        self.line_9.setGeometry(QtCore.QRect(1262, 8, 20, 951))
        self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_9.setObjectName("line_9")
        self.line_8 = QtWidgets.QFrame(self.centralwidget)
        self.line_8.setGeometry(QtCore.QRect(20, 8, 20, 951))
        self.line_8.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName("line_8")
        self.layoutWidget4 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget4.setGeometry(QtCore.QRect(740, 300, 521, 162))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget4.setFont(font)
        self.layoutWidget4.setObjectName("layoutWidget4")
        self.gridLayout_10 = QtWidgets.QGridLayout(self.layoutWidget4)
        self.gridLayout_10.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.gridLayout_10.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.gridLayout_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.label_Rotating_Bit = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Rotating_Bit.setFont(font)
        self.label_Rotating_Bit.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_Bit.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_Bit.setWordWrap(False)
        self.label_Rotating_Bit.setOpenExternalLinks(False)
        self.label_Rotating_Bit.setObjectName("label_Rotating_Bit")
        self.gridLayout_7.addWidget(self.label_Rotating_Bit, 1, 0, 1, 2)
        self.label_No_Rotation = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_No_Rotation.setFont(font)
        self.label_No_Rotation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_No_Rotation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_No_Rotation.setWordWrap(False)
        self.label_No_Rotation.setObjectName("label_No_Rotation")
        self.gridLayout_7.addWidget(self.label_No_Rotation, 2, 0, 1, 2)
        self.label_80 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_80.sizePolicy().hasHeightForWidth())
        self.label_80.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_80.setFont(font)
        self.label_80.setObjectName("label_80")
        self.gridLayout_7.addWidget(self.label_80, 0, 0, 1, 2)
        self.gridLayout_10.addLayout(self.gridLayout_7, 1, 0, 1, 1)
        self.gridLayout_8 = QtWidgets.QGridLayout()
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.label_Hoisting_Stopped = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Hoisting_Stopped.setFont(font)
        self.label_Hoisting_Stopped.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Hoisting_Stopped.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Hoisting_Stopped.setWordWrap(False)
        self.label_Hoisting_Stopped.setObjectName("label_Hoisting_Stopped")
        self.gridLayout_8.addWidget(self.label_Hoisting_Stopped, 1, 0, 1, 1)
        self.label_WOB_Ctrl = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_WOB_Ctrl.setFont(font)
        self.label_WOB_Ctrl.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_WOB_Ctrl.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_WOB_Ctrl.setWordWrap(False)
        self.label_WOB_Ctrl.setObjectName("label_WOB_Ctrl")
        self.gridLayout_8.addWidget(self.label_WOB_Ctrl, 1, 1, 1, 1)
        self.label_Moving = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Moving.setFont(font)
        self.label_Moving.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Moving.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Moving.setWordWrap(False)
        self.label_Moving.setObjectName("label_Moving")
        self.gridLayout_8.addWidget(self.label_Moving, 2, 0, 1, 1)
        self.label_Brake_Open = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Open.setFont(font)
        self.label_Brake_Open.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Open.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Open.setWordWrap(False)
        self.label_Brake_Open.setObjectName("label_Brake_Open")
        self.gridLayout_8.addWidget(self.label_Brake_Open, 3, 0, 1, 1)
        self.label_Brake_Closed = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Closed.setFont(font)
        self.label_Brake_Closed.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Closed.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Closed.setWordWrap(False)
        self.label_Brake_Closed.setObjectName("label_Brake_Closed")
        self.label_Brake_Closed.setStyleSheet("background-color: yellow")
        self.gridLayout_8.addWidget(self.label_Brake_Closed, 3, 1, 1, 1)
        self.label_Start = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Start.setFont(font)
        self.label_Start.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Start.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Start.setWordWrap(False)
        self.label_Start.setObjectName("label_Start")
        self.gridLayout_8.addWidget(self.label_Start, 4, 0, 1, 2)
        self.label_55 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_55.sizePolicy().hasHeightForWidth())
        self.label_55.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_55.setFont(font)
        self.label_55.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_55.setObjectName("label_55")
        self.gridLayout_8.addWidget(self.label_55, 0, 0, 1, 2)
        self.label_Calibrating = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Calibrating.setFont(font)
        self.label_Calibrating.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Calibrating.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Calibrating.setWordWrap(False)
        self.label_Calibrating.setObjectName("label_Calibrating")
        self.gridLayout_8.addWidget(self.label_Calibrating, 2, 1, 1, 1)
        self.gridLayout_10.addLayout(self.gridLayout_8, 1, 1, 1, 1)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.label_54 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_54.sizePolicy().hasHeightForWidth())
        self.label_54.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_54.setFont(font)
        self.label_54.setObjectName("label_54")
        self.verticalLayout_6.addWidget(self.label_54)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_Pump_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_Off.setFont(font)
        self.label_Pump_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_Off.setWordWrap(False)
        self.label_Pump_Off.setObjectName("label_Pump_Off")
        self.gridLayout.addWidget(self.label_Pump_Off, 0, 1, 1, 1)
        self.label_Starting = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Starting.setFont(font)
        self.label_Starting.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Starting.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Starting.setWordWrap(False)
        self.label_Starting.setObjectName("label_Starting")
        self.gridLayout.addWidget(self.label_Starting, 1, 0, 1, 1)
        self.label_Pump_On = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_On.setFont(font)
        self.label_Pump_On.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_On.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_On.setWordWrap(False)
        self.label_Pump_On.setObjectName("label_Pump_On")
        self.gridLayout.addWidget(self.label_Pump_On, 0, 0, 1, 1)
        self.label_LEAK = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_LEAK.setFont(font)
        self.label_LEAK.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_LEAK.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_LEAK.setWordWrap(False)
        self.label_LEAK.setObjectName("label_LEAK")
        self.gridLayout.addWidget(self.label_LEAK, 2, 0, 1, 1)
        self.label_Pack_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pack_Off.setFont(font)
        self.label_Pack_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pack_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pack_Off.setWordWrap(False)
        self.label_Pack_Off.setObjectName("label_Pack_Off")
        self.gridLayout.addWidget(self.label_Pack_Off, 3, 1, 1, 1)
        self.label_END = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_END.setFont(font)
        self.label_END.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_END.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_END.setWordWrap(False)
        self.label_END.setObjectName("label_END")
        self.gridLayout.addWidget(self.label_END, 3, 0, 1, 1)
        self.label_OFF = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_OFF.setFont(font)
        self.label_OFF.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_OFF.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_OFF.setWordWrap(False)
        self.label_OFF.setObjectName("label_OFF")
        self.gridLayout.addWidget(self.label_OFF, 1, 1, 1, 1)
        self.label_Monitor = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Monitor.setFont(font)
        self.label_Monitor.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Monitor.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Monitor.setWordWrap(False)
        self.label_Monitor.setObjectName("label_Monitor")
        self.gridLayout.addWidget(self.label_Monitor, 2, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout)
        self.gridLayout_10.addLayout(self.verticalLayout_6, 1, 2, 1, 1)
        self.label_92 = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_92.setFont(font)
        self.label_92.setObjectName("label_92")
        self.gridLayout_10.addWidget(self.label_92, 0, 0, 1, 3, QtCore.Qt.AlignHCenter)
        self.layoutWidget5 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget5.setGeometry(QtCore.QRect(50, 220, 431, 121))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.layoutWidget5.setFont(font)
        self.layoutWidget5.setObjectName("layoutWidget5")
        self.gridLayout_12 = QtWidgets.QGridLayout(self.layoutWidget5)
        self.gridLayout_12.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.label_95 = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_95.setFont(font)
        self.label_95.setObjectName("label_95")
        self.gridLayout_12.addWidget(self.label_95, 0, 0, 1, 3, QtCore.Qt.AlignHCenter)
        self.label_New_Formation = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_New_Formation.setFont(font)
        self.label_New_Formation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_New_Formation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_New_Formation.setWordWrap(False)
        self.label_New_Formation.setObjectName("label_New_Formation")
        self.gridLayout_12.addWidget(self.label_New_Formation, 3, 2, 1, 1)
        self.label_Leak = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Leak.setFont(font)
        self.label_Leak.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Leak.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Leak.setWordWrap(False)
        self.label_Leak.setObjectName("label_Leak")
        self.gridLayout_12.addWidget(self.label_Leak, 3, 0, 1, 1)
        self.label_Overpressure = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Overpressure.setFont(font)
        self.label_Overpressure.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Overpressure.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Overpressure.setWordWrap(False)
        self.label_Overpressure.setObjectName("label_Overpressure")
        self.gridLayout_12.addWidget(self.label_Overpressure, 3, 1, 1, 1)
        self.label_Lateral_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Lateral_Vibration.setFont(font)
        self.label_Lateral_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Lateral_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Lateral_Vibration.setWordWrap(False)
        self.label_Lateral_Vibration.setObjectName("label_Lateral_Vibration")
        self.gridLayout_12.addWidget(self.label_Lateral_Vibration, 1, 1, 1, 1)
        self.label_Axial_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Axial_Vibration.setFont(font)
        self.label_Axial_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Axial_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Axial_Vibration.setWordWrap(False)
        self.label_Axial_Vibration.setObjectName("label_Axial_Vibration")
        self.gridLayout_12.addWidget(self.label_Axial_Vibration, 1, 0, 1, 1)
        self.label_Stick_Slip = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Stick_Slip.setFont(font)
        self.label_Stick_Slip.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Stick_Slip.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Stick_Slip.setWordWrap(False)
        self.label_Stick_Slip.setObjectName("label_Stick_Slip")
        self.gridLayout_12.addWidget(self.label_Stick_Slip, 1, 2, 1, 1)
        self.label_Critical_Buckling = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Critical_Buckling.setFont(font)
        self.label_Critical_Buckling.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Critical_Buckling.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Critical_Buckling.setWordWrap(False)
        self.label_Critical_Buckling.setObjectName("label_Critical_Buckling")
        self.gridLayout_12.addWidget(self.label_Critical_Buckling, 2, 0, 1, 1)
        self.label_Over_Torque = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Over_Torque.setFont(font)
        self.label_Over_Torque.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Over_Torque.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Over_Torque.setWordWrap(False)
        self.label_Over_Torque.setObjectName("label_Over_Torque")
        self.gridLayout_12.addWidget(self.label_Over_Torque, 2, 1, 1, 1)
        self.label_Twist_Off = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Twist_Off.setFont(font)
        self.label_Twist_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Twist_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Twist_Off.setWordWrap(False)
        self.label_Twist_Off.setObjectName("label_Twist_Off")
        self.gridLayout_12.addWidget(self.label_Twist_Off, 2, 2, 1, 1)
        self.line_24 = QtWidgets.QFrame(self.centralwidget)
        self.line_24.setGeometry(QtCore.QRect(31, 350, 471, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_24.sizePolicy().hasHeightForWidth())
        self.line_24.setSizePolicy(sizePolicy)
        self.line_24.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_24.setObjectName("line_24")
        self.label_96 = QtWidgets.QLabel(self.centralwidget)
        self.label_96.setGeometry(QtCore.QRect(528, 134, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_96.sizePolicy().hasHeightForWidth())
        self.label_96.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_96.setFont(font)
        self.label_96.setObjectName("label_96")
        self.label_97 = QtWidgets.QLabel(self.centralwidget)
        self.label_97.setGeometry(QtCore.QRect(522, 914, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_97.sizePolicy().hasHeightForWidth())
        self.label_97.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_97.setFont(font)
        self.label_97.setObjectName("label_97")
        self.label_98 = QtWidgets.QLabel(self.centralwidget)
        self.label_98.setGeometry(QtCore.QRect(520, 784, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_98.sizePolicy().hasHeightForWidth())
        self.label_98.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_98.setFont(font)
        self.label_98.setObjectName("label_98")
        self.label_99 = QtWidgets.QLabel(self.centralwidget)
        self.label_99.setGeometry(QtCore.QRect(520, 654, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_99.sizePolicy().hasHeightForWidth())
        self.label_99.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_99.setFont(font)
        self.label_99.setObjectName("label_99")
        self.label_100 = QtWidgets.QLabel(self.centralwidget)
        self.label_100.setGeometry(QtCore.QRect(520, 524, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_100.sizePolicy().hasHeightForWidth())
        self.label_100.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_100.setFont(font)
        self.label_100.setObjectName("label_100")
        self.label_101 = QtWidgets.QLabel(self.centralwidget)
        self.label_101.setGeometry(QtCore.QRect(525, 393, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_101.sizePolicy().hasHeightForWidth())
        self.label_101.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_101.setFont(font)
        self.label_101.setObjectName("label_101")
        self.label_102 = QtWidgets.QLabel(self.centralwidget)
        self.label_102.setGeometry(QtCore.QRect(524, 264, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_102.sizePolicy().hasHeightForWidth())
        self.label_102.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_102.setFont(font)
        self.label_102.setObjectName("label_102")
        self.radioButton = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton.setGeometry(QtCore.QRect(570, 141, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton.setFont(font)
        self.radioButton.setText("")
        self.radioButton.setObjectName("radioButton")
        self.radioButton_2 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_2.setGeometry(QtCore.QRect(570, 270, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_2.setFont(font)
        self.radioButton_2.setText("")
        self.radioButton_2.setObjectName("radioButton_2")
        self.radioButton_3 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_3.setGeometry(QtCore.QRect(570, 400, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_3.setFont(font)
        self.radioButton_3.setText("")
        self.radioButton_3.setObjectName("radioButton_3")
        self.radioButton_5 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_5.setGeometry(QtCore.QRect(570, 530, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_5.setFont(font)
        self.radioButton_5.setText("")
        self.radioButton_5.setObjectName("radioButton_5")
        self.radioButton_6 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_6.setGeometry(QtCore.QRect(570, 660, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_6.setFont(font)
        self.radioButton_6.setText("")
        self.radioButton_6.setObjectName("radioButton_6")
        self.radioButton_7 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_7.setGeometry(QtCore.QRect(570, 790, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_7.setFont(font)
        self.radioButton_7.setText("")
        self.radioButton_7.setObjectName("radioButton_7")
        self.radioButton_9 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_9.setGeometry(QtCore.QRect(570, 920, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_9.setFont(font)
        self.radioButton_9.setText("")
        self.radioButton_9.setObjectName("radioButton_9")
        self.layoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_2.setGeometry(QtCore.QRect(504, 20, 221, 71))
        self.layoutWidget_2.setObjectName("layoutWidget_2")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.layoutWidget_2)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.label_Rotating_2 = QtWidgets.QLabel(self.layoutWidget_2)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_Rotating_2.setFont(font)
        self.label_Rotating_2.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_2.setWordWrap(False)
        self.label_Rotating_2.setObjectName("label_Rotating_2")
        self.verticalLayout_9.addWidget(self.label_Rotating_2)
        self.Depthtracker_2 = QtWidgets.QLCDNumber(self.layoutWidget_2)
        self.Depthtracker_2.setObjectName("Depthtracker_2")
        self.verticalLayout_9.addWidget(self.Depthtracker_2)
        self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_3.setGeometry(QtCore.QRect(290, 820, 191, 98))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget_3.setFont(font)
        self.layoutWidget_3.setObjectName("layoutWidget_3")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.layoutWidget_3)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.label_104 = QtWidgets.QLabel(self.layoutWidget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_104.sizePolicy().hasHeightForWidth())
        self.label_104.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_104.setFont(font)
        self.label_104.setObjectName("label_104")
        self.verticalLayout_10.addWidget(self.label_104, 0, QtCore.Qt.AlignHCenter)
        self.textBrowser_CurrentFormation = QtWidgets.QTextBrowser(self.layoutWidget_3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.textBrowser_CurrentFormation.setFont(font)
        self.textBrowser_CurrentFormation.setObjectName("textBrowser_CurrentFormation")
        self.verticalLayout_10.addWidget(self.textBrowser_CurrentFormation)
        self.label_RockPicture = QtWidgets.QLabel(self.centralwidget)
        self.label_RockPicture.setGeometry(QtCore.QRect(586, 140, 61, 791))
        self.label_RockPicture.setObjectName("label_RockPicture")
        self.label_PipePicture = QtWidgets.QLabel(self.centralwidget)
        self.label_PipePicture.setGeometry(QtCore.QRect(567, 0, 71, 971))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_PipePicture.sizePolicy().hasHeightForWidth())
        self.label_PipePicture.setSizePolicy(sizePolicy)
        self.label_PipePicture.setObjectName("label_PipePicture")
        self.line_6 = QtWidgets.QFrame(self.centralwidget)
        self.line_6.setGeometry(QtCore.QRect(567, 149, 20, 781))
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName("line_6")
        self.label_Rotating_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_Rotating_3.setGeometry(QtCore.QRect(513, 11, 211, 81))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_Rotating_3.setFont(font)
        self.label_Rotating_3.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_3.setText("")
        self.label_Rotating_3.setWordWrap(False)
        self.label_Rotating_3.setObjectName("label_Rotating_3")
        self.line_7 = QtWidgets.QFrame(self.centralwidget)
        self.line_7.setGeometry(QtCore.QRect(720, 10, 20, 951))
        self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName("line_7")
        self.line_28 = QtWidgets.QFrame(self.centralwidget)
        self.line_28.setGeometry(QtCore.QRect(490, 8, 20, 951))
        self.line_28.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_28.setObjectName("line_28")
        self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox.setEnabled(True)
        self.checkBox.setGeometry(QtCore.QRect(740, 280, 231, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox.setFont(font)
        self.checkBox.setTristate(False)
        self.checkBox.setObjectName("checkBox")
        self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_2.setGeometry(QtCore.QRect(741, 477, 211, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox_2.setFont(font)
        self.checkBox_2.setObjectName("checkBox_2")
        self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_2.setEnabled(True)
        self.textBrowser_2.setGeometry(QtCore.QRect(740, 500, 531, 451))
        self.textBrowser_2.setObjectName("textBrowser_2")
        self.textBrowser_3 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_3.setGeometry(QtCore.QRect(740, 300, 531, 171))
        self.textBrowser_3.setObjectName("textBrowser_3")
        self.layoutWidget6 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget6.setGeometry(QtCore.QRect(290, 724, 191, 71))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget6.setFont(font)
        self.layoutWidget6.setObjectName("layoutWidget6")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget6)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label_94 = QtWidgets.QLabel(self.layoutWidget6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_94.sizePolicy().hasHeightForWidth())
        self.label_94.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_94.setFont(font)
        self.label_94.setObjectName("label_94")
        self.verticalLayout_5.addWidget(self.label_94, 0, QtCore.Qt.AlignHCenter)
        self.Depthtracker = QtWidgets.QLCDNumber(self.layoutWidget6)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.Depthtracker.setFont(font)
        self.Depthtracker.setObjectName("Depthtracker")
        self.verticalLayout_5.addWidget(self.Depthtracker)
        self.layoutWidget7 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget7.setGeometry(QtCore.QRect(50, 140, 435, 71))
        self.layoutWidget7.setObjectName("layoutWidget7")
        self.gridLayout_15 = QtWidgets.QGridLayout(self.layoutWidget7)
        self.gridLayout_15.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_15.setObjectName("gridLayout_15")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_Start_Drilling = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Start_Drilling.sizePolicy().hasHeightForWidth())
        self.pushButton_Start_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Start_Drilling.setFont(font)
        self.pushButton_Start_Drilling.setObjectName("pushButton_Start_Drilling")
        self.horizontalLayout.addWidget(self.pushButton_Start_Drilling)
        self.pushButton_Stop_Drilling = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling.sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling.setFont(font)
        self.pushButton_Stop_Drilling.setObjectName("pushButton_Stop_Drilling")
        self.horizontalLayout.addWidget(self.pushButton_Stop_Drilling)
        self.pushButton_Advanced_UI = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Advanced_UI.sizePolicy().hasHeightForWidth())
        self.pushButton_Advanced_UI.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Advanced_UI.setFont(font)
        self.pushButton_Advanced_UI.setObjectName("pushButton_Advanced_UI")
        self.horizontalLayout.addWidget(self.pushButton_Advanced_UI)
        self.gridLayout_15.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_Stop_Rotation_2 = QtWidgets.QPushButton(self.layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Rotation_2.setFont(font)
        self.pushButton_Stop_Rotation_2.setObjectName("pushButton_Stop_Rotation_2")
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Rotation_2)
        self.pushButton_Stop_Drilling_2 = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling_2.sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling_2.setFont(font)
        self.pushButton_Stop_Drilling_2.setObjectName("pushButton_Stop_Drilling_2")
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Drilling_2)
        self.pushButton = QtWidgets.QPushButton(self.layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_2.addWidget(self.pushButton)
        self.gridLayout_15.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.label_93 = QtWidgets.QLabel(self.centralwidget)
        self.label_93.setGeometry(QtCore.QRect(940, 500, 132, 19))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_93.sizePolicy().hasHeightForWidth())
        self.label_93.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_93.setFont(font)
        self.label_93.setObjectName("label_93")
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(760, 520, 481, 431))
        self.widget.setObjectName("widget")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_11.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.doubleSpinBox_RPM = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_RPM.setFont(font)
        self.doubleSpinBox_RPM.setDecimals(0)
        self.doubleSpinBox_RPM.setMaximum(1500.0)
        self.doubleSpinBox_RPM.setObjectName("doubleSpinBox_RPM")
        self.gridLayout_4.addWidget(self.doubleSpinBox_RPM, 0, 1, 1, 1)
        self.label_84 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_84.setFont(font)
        self.label_84.setObjectName("label_84")
        self.gridLayout_4.addWidget(self.label_84, 0, 0, 1, 1)
        self.pushButton_StartRotation = QtWidgets.QPushButton(self.widget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
        self.pushButton_StartRotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartRotation.setFont(font)
        self.pushButton_StartRotation.setObjectName("pushButton_StartRotation")
        self.gridLayout_4.addWidget(self.pushButton_StartRotation, 3, 0, 1, 2)
        spacerItem1 = QtWidgets.QSpacerItem(20, 12, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_4.addItem(spacerItem1, 2, 0, 1, 2)
        self.gridLayout_11.addLayout(self.gridLayout_4, 0, 0, 2, 1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 18, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem2, 0, 1, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(20, 38, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem3, 0, 2, 1, 1)
        self.pushButton_Stop_Rotation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Rotation.setFont(font)
        self.pushButton_Stop_Rotation.setObjectName("pushButton_Stop_Rotation")
        self.gridLayout_11.addWidget(self.pushButton_Stop_Rotation, 1, 1, 1, 1)
        self.pushButton_Reset_WOB_2 = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_WOB_2.setFont(font)
        self.pushButton_Reset_WOB_2.setObjectName("pushButton_Reset_WOB_2")
        self.gridLayout_11.addWidget(self.pushButton_Reset_WOB_2, 1, 2, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pushButton_StartCirculation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartCirculation.setFont(font)
        self.pushButton_StartCirculation.setObjectName("pushButton_StartCirculation")
        self.verticalLayout_2.addWidget(self.pushButton_StartCirculation)
        self.gridLayout_11.addLayout(self.verticalLayout_2, 2, 0, 1, 1)
        self.pushButton_Stop_Hoisting = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Hoisting.setFont(font)
        self.pushButton_Stop_Hoisting.setObjectName("pushButton_Stop_Hoisting")
        self.gridLayout_11.addWidget(self.pushButton_Stop_Hoisting, 2, 1, 1, 1)
        self.pushButton_Reset_Hook_Load = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Hook_Load.setFont(font)
        self.pushButton_Reset_Hook_Load.setObjectName("pushButton_Reset_Hook_Load")
        self.gridLayout_11.addWidget(self.pushButton_Reset_Hook_Load, 2, 2, 1, 1)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.pushButton_Open_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Open_Brake.setFont(font)
        self.pushButton_Open_Brake.setObjectName("pushButton_Open_Brake")
        self.verticalLayout_3.addWidget(self.pushButton_Open_Brake)
        self.gridLayout_11.addLayout(self.verticalLayout_3, 3, 0, 1, 1)
        self.pushButton_Stop_Pump = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Pump.setFont(font)
        self.pushButton_Stop_Pump.setObjectName("pushButton_Stop_Pump")
        self.gridLayout_11.addWidget(self.pushButton_Stop_Pump, 3, 1, 1, 1)
        self.pushButton_Reset_Stepper_Pos = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Stepper_Pos.setFont(font)
        self.pushButton_Reset_Stepper_Pos.setAcceptDrops(False)
        self.pushButton_Reset_Stepper_Pos.setObjectName("pushButton_Reset_Stepper_Pos")
        self.gridLayout_11.addWidget(self.pushButton_Reset_Stepper_Pos, 3, 2, 1, 1)
        self.pushButton_TogglePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_TogglePID.setFont(font)
        self.pushButton_TogglePID.setObjectName("pushButton_TogglePID")
        self.gridLayout_11.addWidget(self.pushButton_TogglePID, 4, 0, 1, 1)
        self.pushButton_Close_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Close_Brake.setFont(font)
        self.pushButton_Close_Brake.setObjectName("pushButton_Close_Brake")
        self.gridLayout_11.addWidget(self.pushButton_Close_Brake, 4, 1, 1, 1)
        self.pushButton_Reset_ROP = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_ROP.setFont(font)
        self.pushButton_Reset_ROP.setObjectName("pushButton_Reset_ROP")
        self.gridLayout_11.addWidget(self.pushButton_Reset_ROP, 4, 2, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem4, 5, 0, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(20, 59, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem5, 5, 1, 3, 1)
        self.pushButton_Telementary = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Telementary.setFont(font)
        self.pushButton_Telementary.setObjectName("pushButton_Telementary")
        self.gridLayout_11.addWidget(self.pushButton_Telementary, 5, 2, 1, 1)
        self.label_81 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_81.setFont(font)
        self.label_81.setObjectName("label_81")
        self.gridLayout_11.addWidget(self.label_81, 6, 0, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(20, 78, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem6, 7, 2, 4, 1)
        self.comboBox_Actuator = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Actuator.setFont(font)
        self.comboBox_Actuator.setObjectName("comboBox_Actuator")
        self.gridLayout_11.addWidget(self.comboBox_Actuator, 8, 0, 1, 1)
        self.label_82 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_82.setFont(font)
        self.label_82.setObjectName("label_82")
        self.gridLayout_11.addWidget(self.label_82, 9, 0, 1, 1)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_86 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_86.setFont(font)
        self.label_86.setObjectName("label_86")
        self.gridLayout_3.addWidget(self.label_86, 4, 1, 1, 1)
        self.pushButton_SavePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_SavePID.setFont(font)
        self.pushButton_SavePID.setObjectName("pushButton_SavePID")
        self.gridLayout_3.addWidget(self.pushButton_SavePID, 8, 1, 1, 2)
        self.label_89 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_89.setFont(font)
        self.label_89.setObjectName("label_89")
        self.gridLayout_3.addWidget(self.label_89, 5, 1, 1, 1)
        self.doubleSpinBox_WOB = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_WOB.setFont(font)
        self.doubleSpinBox_WOB.setDecimals(4)
        self.doubleSpinBox_WOB.setMaximum(30.0)
        self.doubleSpinBox_WOB.setValue(2.0)
        self.doubleSpinBox_WOB.setSingleStep(0.1)
        self.doubleSpinBox_WOB.setObjectName("doubleSpinBox_WOB")
        self.gridLayout_3.addWidget(self.doubleSpinBox_WOB, 4, 2, 1, 1)
        self.doubleSpinBox_Kp = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kp.setFont(font)
        self.doubleSpinBox_Kp.setDecimals(10)
        self.doubleSpinBox_Kp.setMaximum(1000.0)
        self.doubleSpinBox_Kp.setValue(0.00001)
        self.doubleSpinBox_Kp.setSingleStep(1e-06)
        self.doubleSpinBox_Kp.setObjectName("doubleSpinBox_Kp")
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kp, 5, 2, 1, 1)
        self.doubleSpinBox_Ki = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Ki.setFont(font)
        self.doubleSpinBox_Ki.setDecimals(10)
        self.doubleSpinBox_Ki.setMaximum(1000.0)
        self.doubleSpinBox_Ki.setValue(0.0001)
        self.doubleSpinBox_Ki.setSingleStep(1e-06)
        self.doubleSpinBox_Ki.setObjectName("doubleSpinBox_Ki")
        self.gridLayout_3.addWidget(self.doubleSpinBox_Ki, 6, 2, 1, 1)
        self.label_88 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_88.setFont(font)
        self.label_88.setObjectName("label_88")
        self.gridLayout_3.addWidget(self.label_88, 6, 1, 1, 1)
        self.label_87 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_87.setFont(font)
        self.label_87.setObjectName("label_87")
        self.gridLayout_3.addWidget(self.label_87, 7, 1, 1, 1)
        self.doubleSpinBox_Kd = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kd.setFont(font)
        self.doubleSpinBox_Kd.setDecimals(10)
        self.doubleSpinBox_Kd.setMaximum(1000.0)
        self.doubleSpinBox_Kd.setValue(0)
        self.doubleSpinBox_Kd.setSingleStep(1e-06)
        self.doubleSpinBox_Kd.setObjectName("doubleSpinBox_Kd")
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kd, 7, 2, 1, 1)
        self.label_90 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_90.setFont(font)
        self.label_90.setObjectName("label_90")
        self.gridLayout_3.addWidget(self.label_90, 3, 0, 1, 3, QtCore.Qt.AlignHCenter)
        self.gridLayout_11.addLayout(self.gridLayout_3, 9, 1, 6, 1)
        self.doubleSpinBox_Distance = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Distance.setFont(font)
        self.doubleSpinBox_Distance.setDecimals(3)
        self.doubleSpinBox_Distance.setMaximum(900.0)
        self.doubleSpinBox_Distance.setObjectName("doubleSpinBox_Distance")
        self.gridLayout_11.addWidget(self.doubleSpinBox_Distance, 10, 0, 1, 1)
        self.label_83 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_83.setFont(font)
        self.label_83.setObjectName("label_83")
        self.gridLayout_11.addWidget(self.label_83, 11, 0, 1, 1)
        self.spinBox_Stepper_Delay = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.spinBox_Stepper_Delay.setFont(font)
        self.spinBox_Stepper_Delay.setDecimals(4)
        self.spinBox_Stepper_Delay.setMinimum(35.0)
        self.spinBox_Stepper_Delay.setMaximum(500.0)
        self.spinBox_Stepper_Delay.setSingleStep(10.0)
        self.spinBox_Stepper_Delay.setProperty("value", 35.0)
        self.spinBox_Stepper_Delay.setObjectName("spinBox_Stepper_Delay")
        self.gridLayout_11.addWidget(self.spinBox_Stepper_Delay, 12, 0, 1, 1)
        self.label_85 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_85.setFont(font)
        self.label_85.setObjectName("label_85")
        self.gridLayout_11.addWidget(self.label_85, 13, 0, 1, 1)
        self.comboBox_Direction = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Direction.setFont(font)
        self.comboBox_Direction.setObjectName("comboBox_Direction")
        self.gridLayout_11.addWidget(self.comboBox_Direction, 14, 0, 1, 1)
        self.pushButton_MoveActuators = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_MoveActuators.setFont(font)
        self.pushButton_MoveActuators.setObjectName("pushButton_MoveActuators")
        self.gridLayout_11.addWidget(self.pushButton_MoveActuators, 15, 0, 1, 1)
        self.pushButton_WOB_Ctrl_off = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_Ctrl_off.setFont(font)
        self.pushButton_WOB_Ctrl_off.setObjectName("pushButton_WOB_Ctrl_off")
        self.gridLayout_11.addWidget(self.pushButton_WOB_Ctrl_off, 14, 2, 1, 1)
        self.pushButton_WOB_ctrl_on = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_ctrl_on.setFont(font)
        self.pushButton_WOB_ctrl_on.setObjectName("pushButton_WOB_ctrl_on")
        self.gridLayout_11.addWidget(self.pushButton_WOB_ctrl_on, 13, 2, 1, 1)
        self.label_93.raise_()
        self.layoutWidget.raise_()
        self.label_RockPicture.raise_()
        self.label_PipePicture.raise_()
        self.label_Rotating_3.raise_()
        self.line_6.raise_()
        self.radioButton_5.raise_()
        self.radioButton_3.raise_()
        self.radioButton_9.raise_()
        self.radioButton_7.raise_()
        self.radioButton.raise_()
        self.radioButton_6.raise_()
        self.radioButton_2.raise_()
        self.line_10.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.line_17.raise_()
        self.line_9.raise_()
        self.line_8.raise_()
        self.line_18.raise_()
        self.line_24.raise_()
        self.label_96.raise_()
        self.label_97.raise_()
        self.label_98.raise_()
        self.label_99.raise_()
        self.label_100.raise_()
        self.label_101.raise_()
        self.label_102.raise_()
        self.layoutWidget_2.raise_()
        self.layoutWidget_3.raise_()
        self.line_28.raise_()
        self.line_7.raise_()
        self.checkBox.raise_()
        self.checkBox_2.raise_()
        self.textBrowser_3.raise_()
        self.pushButton_WOB_ctrl_on.raise_()
        self.pushButton_WOB_Ctrl_off.raise_()
        self.textBrowser_2.raise_()
#        C.setCentralWidget(self.centralwidget)

        self.retranslateUi(C)
        self.checkBox.toggled['bool'].connect(self.textBrowser_3.setHidden)
        self.checkBox.setChecked(True)
        self.checkBox_2.toggled['bool'].connect(self.textBrowser_2.setHidden)
        self.checkBox_2.setChecked(True)
        self.pushButton.clicked.connect(C.close)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.pushButton_Stop_Rotation.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.pushButton_Stop_Hoisting.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.pushButton_Stop_Pump.click)
        self.pushButton_Advanced_UI.clicked.connect(self.pushButton_Reset_Stepper_Pos.click)
        self.pushButton_Advanced_UI.clicked.connect(self.pushButton_Reset_WOB_2.click)
        QtCore.QMetaObject.connectSlotsByName(C)

    def retranslateUi(self, C):
        _translate = QtCore.QCoreApplication.translate
        C.setWindowTitle(_translate("C", "MainWindow"))
        self.label_4.setText(_translate("C", "DRILLING CHAIR CONTROLLER"))
        self.label_5.setText(_translate("C", "Hoisting Port"))
        self.label_6.setText(_translate("C", "Circulation Port"))
        self.label_7.setText(_translate("C", "Rotation Port"))
        self.pushButton_OpenPorts.setText(_translate("C", "Open"))
        self.label.setText(_translate("C", "<html><head/><body><p><img src=\":C:/Users/TeamUiS/Desktop/Logo-resized.png\"/></p></body></html>"))
        self.label_91.setText(_translate("C", "University of Stavanger, IRIS, AkerBP"))
        self.label_Velocity.setText(_translate("C", "0"))
        self.label_31.setText(_translate("C", "Velocity [m/h]"))
        self.label_32.setText(_translate("C", "3m.ROP [mm/s]"))
        self.label_ROP3.setText(_translate("C", "0"))
        self.label_RPM.setText(_translate("C", "0"))
        self.label_8.setText(_translate("C", "RPM [mm/s]"))
        self.label_41.setText(_translate("C", "WOB [kg]"))
        self.label_WOB.setText(_translate("C", "0"))
        self.label_10.setText(_translate("C", "Topdrive Torque [Nm]"))
        self.label_Topdrive_Torque.setText(_translate("C", "0"))
        self.label_TAM_Torque.setText(_translate("C", "0"))
        self.label_13.setText(_translate("C", "TAM Torque [Nm]"))
        self.label_15.setText(_translate("C", "Pressure [barA]"))
        self.label_Pressure.setText(_translate("C", "0"))
        self.label_34.setText(_translate("C", "Flow Rate Q [LPM]"))
        self.label_49.setText(_translate("C", "Stepcounter [mm]"))
        self.label_StepCounter.setText(_translate("C", "0"))
        self.label_Flow_Rate_Q.setText(_translate("C", "0"))
        self.label_45.setText(_translate("C", "Height-sensor [cm]"))
        self.label_Height_Sensor.setText(_translate("C", "0"))
        self.label_30.setText(_translate("C", "15s.ROP [mm/s]"))
        self.label_ROP15.setText(_translate("C", "0"))
        self.label_Act1StepCount.setText(_translate("C", "0"))
        self.label_39.setText(_translate("C", "BitTorque [Nm]"))
        self.label_48.setText(_translate("C", "Act1.Stepcounter"))
        self.label_Act3StepCount.setText(_translate("C", "0"))
        self.label_LoadCell_Z1.setText(_translate("C", "0"))
        self.label_LoadCell_Z2.setText(_translate("C", "0"))
        self.label_d_exponent.setText(_translate("C", "0"))
        self.label_Act2StepCount.setText(_translate("C", "0"))
        self.label_UCS.setText(_translate("C", "0"))
        self.label_23.setText(_translate("C", "Load Cell 2 Z2"))
        self.label_27.setText(_translate("C", "Load Cell 3 Z3"))
        self.label_Bit_Torque.setText(_translate("C", "0"))
        self.label_LoadCell_Z3.setText(_translate("C", "0"))
        self.label_29.setText(_translate("C", "Hook Load ∑Z"))
        self.label_35.setText(_translate("C", "MSE [MPa]"))
        self.label_37.setText(_translate("C", "UCS [MPa]"))
        self.label_43.setText(_translate("C", "d-exponent"))
        self.label_MSE.setText(_translate("C", "0"))
        self.label_50.setText(_translate("C", "Act2.Stepcounter"))
        self.label_51.setText(_translate("C", "Act3.Stepcounter"))
        self.label_19.setText(_translate("C", "Load cell 1 Z1"))
        self.label_Hookload_SumZ.setText(_translate("C", "0"))
        self.label_Rotating_Bit.setText(_translate("C", "Rotating Bit"))
        self.label_No_Rotation.setText(_translate("C", "No Rotation"))
        self.label_80.setText(_translate("C", "Rotation"))
        self.label_Hoisting_Stopped.setText(_translate("C", "Stopped"))
        self.label_WOB_Ctrl.setText(_translate("C", "WOB Control"))
        self.label_Moving.setText(_translate("C", "Moving"))
        self.label_Brake_Open.setText(_translate("C", "Brake Open"))
        self.label_Brake_Closed.setText(_translate("C", "Brake Closed"))
        self.label_Start.setText(_translate("C", "Start"))
        self.label_55.setText(_translate("C", "Hoisting"))
        self.label_Calibrating.setText(_translate("C", "Calibrating"))
        self.label_54.setText(_translate("C", "Circulation"))
        self.label_Pump_Off.setText(_translate("C", "Pump Off"))
        self.label_Starting.setText(_translate("C", "Starting"))
        self.label_Pump_On.setText(_translate("C", "Pump On"))
        self.label_LEAK.setText(_translate("C", "LEAK"))
        self.label_Pack_Off.setText(_translate("C", "Pack Off"))
        self.label_END.setText(_translate("C", "END"))
        self.label_OFF.setText(_translate("C", "OFF"))
        self.label_Monitor.setText(_translate("C", "Monitor"))
        self.label_92.setText(_translate("C", "Rig Operation Monitor"))
        self.label_95.setText(_translate("C", "Ongoing Occurence"))
        self.label_New_Formation.setText(_translate("C", "New Formation"))
        self.label_Leak.setText(_translate("C", "Leak"))
        self.label_Overpressure.setText(_translate("C", "Overpressure"))
        self.label_Lateral_Vibration.setText(_translate("C", "Lateral Vibration"))
        self.label_Axial_Vibration.setText(_translate("C", "Axial Vibration"))
        self.label_Stick_Slip.setText(_translate("C", "Torsional Vibrations"))
        self.label_Critical_Buckling.setText(_translate("C", "Critical Buckling"))
        self.label_Over_Torque.setText(_translate("C", "Over-Torque"))
        self.label_Twist_Off.setText(_translate("C", "Twist-Off"))
        self.label_96.setText(_translate("C", "0cm"))
        self.label_97.setText(_translate("C", "60cm"))
        self.label_98.setText(_translate("C", "50cm"))
        self.label_99.setText(_translate("C", "40cm"))
        self.label_100.setText(_translate("C", "30cm"))
        self.label_101.setText(_translate("C", "20cm"))
        self.label_102.setText(_translate("C", "10cm"))
        self.label_Rotating_2.setText(_translate("C", "Duration [min]"))
        self.label_104.setText(_translate("C", "Current Formation"))
        self.textBrowser_CurrentFormation.setHtml(_translate("C", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:10pt; font-weight:600; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">Sandstone</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">UCS = 110 MPa</span></p></body></html>"))
        self.label_RockPicture.setText(_translate("C", "<html><head/><body><p><img src=\":/well/bit.png\"/></p></body></html>"))
        self.label_PipePicture.setText(_translate("C", "<html><head/><body><p><img src=\":/bit/truebit.png\"/></p></body></html>"))
        self.checkBox.setText(_translate("C", "Toggle Rig Operation Monitor"))
        self.checkBox_2.setText(_translate("C", "Toggle Manual Controls"))
        self.textBrowser_2.setHtml(_translate("C", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Autonomous Drillling State! Check box to access Manual Controls.</span></p></body></html>"))
        self.textBrowser_3.setHtml(_translate("C", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Autonomous Drillling State! Check box to access the Rig Operation Monitor.</span></p></body></html>"))
        self.label_94.setText(_translate("C", "TVD [cm]"))
        self.pushButton_Start_Drilling.setText(_translate("C", "START Autonomous"))
        self.pushButton_Stop_Drilling.setText(_translate("C", "EMERGENCY STOP"))
        self.pushButton_Advanced_UI.setText(_translate("C", "OPEN Adv. GUI"))
        self.pushButton_Stop_Rotation_2.setText(_translate("C", "Generate PDF report"))
        self.pushButton_Stop_Drilling_2.setText(_translate("C", "STOP ALL SYSTEMS"))
        self.pushButton.setText(_translate("C", "CLOSE GUI"))
        self.label_93.setText(_translate("C", "Manual Controls"))
        self.label_84.setText(_translate("C", "RPM Input"))
        self.pushButton_StartRotation.setText(_translate("C", "Start Rotation"))
        self.pushButton_Stop_Rotation.setText(_translate("C", "Stop Rotation"))
        self.pushButton_Reset_WOB_2.setText(_translate("C", "Reset WOB"))
        self.pushButton_StartCirculation.setText(_translate("C", "Start Circulation"))
        self.pushButton_Stop_Hoisting.setText(_translate("C", "Stop Hoisting"))
        self.pushButton_Reset_Hook_Load.setText(_translate("C", "Reset Hook Load"))
        self.pushButton_Open_Brake.setText(_translate("C", "Open Brakes"))
        self.pushButton_Stop_Pump.setText(_translate("C", "Stop Pumps"))
        self.pushButton_Reset_Stepper_Pos.setText(_translate("C", "Reset TVD"))
        self.pushButton_TogglePID.setText(_translate("C", "Toggle PID"))
        self.pushButton_Close_Brake.setText(_translate("C", "Close Brakes"))
        self.pushButton_Reset_ROP.setText(_translate("C", "Reset ROP"))
        self.pushButton_Telementary.setText(_translate("C", "Telemetry on/off"))
        self.label_81.setText(_translate("C", "Acuator"))
        self.label_82.setText(_translate("C", "Set Distance (mm)"))
        self.label_86.setText(_translate("C", "WOB"))
        self.pushButton_SavePID.setText(_translate("C", "Save Parameters"))
        self.label_89.setText(_translate("C", "Kp"))
        self.label_88.setText(_translate("C", "Ki"))
        self.label_87.setText(_translate("C", "Kd"))
        self.label_90.setText(_translate("C", "Submit parameters"))
        self.label_83.setText(_translate("C", "Stepper delay"))
        self.label_85.setText(_translate("C", "Direction"))
        self.pushButton_MoveActuators.setText(_translate("C", "Execute Manual Move"))
        self.pushButton_WOB_Ctrl_off.setText(_translate("C", "WOB Control off"))
        self.pushButton_WOB_ctrl_on.setText(_translate("C", "WOB Control on"))

#import Logo_rc
#import bit_rc
#import well_rc

4b966ef544326fa48a3994309cd5de917addf387
<mask token>


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

<mask token>


class Ui_C(object):
    <mask token>

    def retranslateUi(self, C):
        _translate = QtCore.QCoreApplication.translate
        C.setWindowTitle(_translate('C', 'MainWindow'))
        self.label_4.setText(_translate('C', 'DRILLING CHAIR CONTROLLER'))
        self.label_5.setText(_translate('C', 'Hoisting Port'))
        self.label_6.setText(_translate('C', 'Circulation Port'))
        self.label_7.setText(_translate('C', 'Rotation Port'))
        self.pushButton_OpenPorts.setText(_translate('C', 'Open'))
        self.label.setText(_translate('C',
            '<html><head/><body><p><img src=":C:/Users/TeamUiS/Desktop/Logo-resized.png"/></p></body></html>'
            ))
        self.label_91.setText(_translate('C',
            'University of Stavanger, IRIS, AkerBP'))
        self.label_Velocity.setText(_translate('C', '0'))
        self.label_31.setText(_translate('C', 'Velocity [m/h]'))
        self.label_32.setText(_translate('C', '3m.ROP [mm/s]'))
        self.label_ROP3.setText(_translate('C', '0'))
        self.label_RPM.setText(_translate('C', '0'))
        self.label_8.setText(_translate('C', 'RPM [mm/s]'))
        self.label_41.setText(_translate('C', 'WOB [kg]'))
        self.label_WOB.setText(_translate('C', '0'))
        self.label_10.setText(_translate('C', 'Topdrive Torque [Nm]'))
        self.label_Topdrive_Torque.setText(_translate('C', '0'))
        self.label_TAM_Torque.setText(_translate('C', '0'))
        self.label_13.setText(_translate('C', 'TAM Torque [Nm]'))
        self.label_15.setText(_translate('C', 'Pressure [barA]'))
        self.label_Pressure.setText(_translate('C', '0'))
        self.label_34.setText(_translate('C', 'Flow Rate Q [LPM]'))
        self.label_49.setText(_translate('C', 'Stepcounter [mm]'))
        self.label_StepCounter.setText(_translate('C', '0'))
        self.label_Flow_Rate_Q.setText(_translate('C', '0'))
        self.label_45.setText(_translate('C', 'Height-sensor [cm]'))
        self.label_Height_Sensor.setText(_translate('C', '0'))
        self.label_30.setText(_translate('C', '15s.ROP [mm/s]'))
        self.label_ROP15.setText(_translate('C', '0'))
        self.label_Act1StepCount.setText(_translate('C', '0'))
        self.label_39.setText(_translate('C', 'BitTorque [Nm]'))
        self.label_48.setText(_translate('C', 'Act1.Stepcounter'))
        self.label_Act3StepCount.setText(_translate('C', '0'))
        self.label_LoadCell_Z1.setText(_translate('C', '0'))
        self.label_LoadCell_Z2.setText(_translate('C', '0'))
        self.label_d_exponent.setText(_translate('C', '0'))
        self.label_Act2StepCount.setText(_translate('C', '0'))
        self.label_UCS.setText(_translate('C', '0'))
        self.label_23.setText(_translate('C', 'Load Cell 2 Z2'))
        self.label_27.setText(_translate('C', 'Load Cell 3 Z3'))
        self.label_Bit_Torque.setText(_translate('C', '0'))
        self.label_LoadCell_Z3.setText(_translate('C', '0'))
        self.label_29.setText(_translate('C', 'Hook Load ∑Z'))
        self.label_35.setText(_translate('C', 'MSE [MPa]'))
        self.label_37.setText(_translate('C', 'UCS [MPa]'))
        self.label_43.setText(_translate('C', 'd-exponent'))
        self.label_MSE.setText(_translate('C', '0'))
        self.label_50.setText(_translate('C', 'Act2.Stepcounter'))
        self.label_51.setText(_translate('C', 'Act3.Stepcounter'))
        self.label_19.setText(_translate('C', 'Load cell 1 Z1'))
        self.label_Hookload_SumZ.setText(_translate('C', '0'))
        self.label_Rotating_Bit.setText(_translate('C', 'Rotating Bit'))
        self.label_No_Rotation.setText(_translate('C', 'No Rotation'))
        self.label_80.setText(_translate('C', 'Rotation'))
        self.label_Hoisting_Stopped.setText(_translate('C', 'Stopped'))
        self.label_WOB_Ctrl.setText(_translate('C', 'WOB Control'))
        self.label_Moving.setText(_translate('C', 'Moving'))
        self.label_Brake_Open.setText(_translate('C', 'Brake Open'))
        self.label_Brake_Closed.setText(_translate('C', 'Brake Closed'))
        self.label_Start.setText(_translate('C', 'Start'))
        self.label_55.setText(_translate('C', 'Hoisting'))
        self.label_Calibrating.setText(_translate('C', 'Calibrating'))
        self.label_54.setText(_translate('C', 'Circulation'))
        self.label_Pump_Off.setText(_translate('C', 'Pump Off'))
        self.label_Starting.setText(_translate('C', 'Starting'))
        self.label_Pump_On.setText(_translate('C', 'Pump On'))
        self.label_LEAK.setText(_translate('C', 'LEAK'))
        self.label_Pack_Off.setText(_translate('C', 'Pack Off'))
        self.label_END.setText(_translate('C', 'END'))
        self.label_OFF.setText(_translate('C', 'OFF'))
        self.label_Monitor.setText(_translate('C', 'Monitor'))
        self.label_92.setText(_translate('C', 'Rig Operation Monitor'))
        self.label_95.setText(_translate('C', 'Ongoing Occurence'))
        self.label_New_Formation.setText(_translate('C', 'New Formation'))
        self.label_Leak.setText(_translate('C', 'Leak'))
        self.label_Overpressure.setText(_translate('C', 'Overpressure'))
        self.label_Lateral_Vibration.setText(_translate('C',
            'Lateral Vibration'))
        self.label_Axial_Vibration.setText(_translate('C', 'Axial Vibration'))
        self.label_Stick_Slip.setText(_translate('C', 'Torsional Vibrations'))
        self.label_Critical_Buckling.setText(_translate('C',
            'Critical Buckling'))
        self.label_Over_Torque.setText(_translate('C', 'Over-Torque'))
        self.label_Twist_Off.setText(_translate('C', 'Twist-Off'))
        self.label_96.setText(_translate('C', '0cm'))
        self.label_97.setText(_translate('C', '60cm'))
        self.label_98.setText(_translate('C', '50cm'))
        self.label_99.setText(_translate('C', '40cm'))
        self.label_100.setText(_translate('C', '30cm'))
        self.label_101.setText(_translate('C', '20cm'))
        self.label_102.setText(_translate('C', '10cm'))
        self.label_Rotating_2.setText(_translate('C', 'Duration [min]'))
        self.label_104.setText(_translate('C', 'Current Formation'))
        self.textBrowser_CurrentFormation.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:10pt; font-weight:600; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Sandstone</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">UCS = 110 MPa</span></p></body></html>"""
            ))
        self.label_RockPicture.setText(_translate('C',
            '<html><head/><body><p><img src=":/well/bit.png"/></p></body></html>'
            ))
        self.label_PipePicture.setText(_translate('C',
            '<html><head/><body><p><img src=":/bit/truebit.png"/></p></body></html>'
            ))
        self.checkBox.setText(_translate('C', 'Toggle Rig Operation Monitor'))
        self.checkBox_2.setText(_translate('C', 'Toggle Manual Controls'))
        self.textBrowser_2.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Autonomous Drillling State! Check box to access Manual Controls.</span></p></body></html>"""
            ))
        self.textBrowser_3.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Autonomous Drillling State! Check box to access the Rig Operation Monitor.</span></p></body></html>"""
            ))
        self.label_94.setText(_translate('C', 'TVD [cm]'))
        self.pushButton_Start_Drilling.setText(_translate('C',
            'START Autonomous'))
        self.pushButton_Stop_Drilling.setText(_translate('C', 'EMERGENCY STOP')
            )
        self.pushButton_Advanced_UI.setText(_translate('C', 'OPEN Adv. GUI'))
        self.pushButton_Stop_Rotation_2.setText(_translate('C',
            'Generate PDF report'))
        self.pushButton_Stop_Drilling_2.setText(_translate('C',
            'STOP ALL SYSTEMS'))
        self.pushButton.setText(_translate('C', 'CLOSE GUI'))
        self.label_93.setText(_translate('C', 'Manual Controls'))
        self.label_84.setText(_translate('C', 'RPM Input'))
        self.pushButton_StartRotation.setText(_translate('C', 'Start Rotation')
            )
        self.pushButton_Stop_Rotation.setText(_translate('C', 'Stop Rotation'))
        self.pushButton_Reset_WOB_2.setText(_translate('C', 'Reset WOB'))
        self.pushButton_StartCirculation.setText(_translate('C',
            'Start Circulation'))
        self.pushButton_Stop_Hoisting.setText(_translate('C', 'Stop Hoisting'))
        self.pushButton_Reset_Hook_Load.setText(_translate('C',
            'Reset Hook Load'))
        self.pushButton_Open_Brake.setText(_translate('C', 'Open Brakes'))
        self.pushButton_Stop_Pump.setText(_translate('C', 'Stop Pumps'))
        self.pushButton_Reset_Stepper_Pos.setText(_translate('C', 'Reset TVD'))
        self.pushButton_TogglePID.setText(_translate('C', 'Toggle PID'))
        self.pushButton_Close_Brake.setText(_translate('C', 'Close Brakes'))
        self.pushButton_Reset_ROP.setText(_translate('C', 'Reset ROP'))
        self.pushButton_Telementary.setText(_translate('C', 'Telemetry on/off')
            )
        self.label_81.setText(_translate('C', 'Acuator'))
        self.label_82.setText(_translate('C', 'Set Distance (mm)'))
        self.label_86.setText(_translate('C', 'WOB'))
        self.pushButton_SavePID.setText(_translate('C', 'Save Parameters'))
        self.label_89.setText(_translate('C', 'Kp'))
        self.label_88.setText(_translate('C', 'Ki'))
        self.label_87.setText(_translate('C', 'Kd'))
        self.label_90.setText(_translate('C', 'Submit parameters'))
        self.label_83.setText(_translate('C', 'Stepper delay'))
        self.label_85.setText(_translate('C', 'Direction'))
        self.pushButton_MoveActuators.setText(_translate('C',
            'Execute Manual Move'))
        self.pushButton_WOB_Ctrl_off.setText(_translate('C', 'WOB Control off')
            )
        self.pushButton_WOB_ctrl_on.setText(_translate('C', 'WOB Control on'))

<mask token>


class Ui_C(object):

    def setupUi(self, C):
        C.setObjectName('C')
        C.setEnabled(True)
        C.resize(1322, 979)
        font = QtGui.QFont()
        font.setFamily('Verdana')
        C.setFont(font)
        C.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        C.setAutoFillBackground(False)
        C.setStyleSheet('background-color: rgb(255, 255, 255)')
        self.centralwidget = QtWidgets.QWidget(C)
        self.centralwidget.setEnabled(True)
        self.centralwidget.setBaseSize(QtCore.QSize(1280, 1024))
        self.centralwidget.setObjectName('centralwidget')
        self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(50, 20, 441, 103))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget.setFont(font)
        self.layoutWidget.setObjectName('layoutWidget')
        self.gridLayout_9 = QtWidgets.QGridLayout(self.layoutWidget)
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_9.setObjectName('gridLayout_9')
        self.label_4 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label_4.setFont(font)
        self.label_4.setObjectName('label_4')
        self.gridLayout_9.addWidget(self.label_4, 0, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName('gridLayout_2')
        self.label_5 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName('label_5')
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName('label_6')
        self.gridLayout_2.addWidget(self.label_6, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName('label_7')
        self.gridLayout_2.addWidget(self.label_7, 0, 2, 1, 1)
        self.comboBox_Circulation = QtWidgets.QComboBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Circulation.setFont(font)
        self.comboBox_Circulation.setObjectName('comboBox_Circulation')
        self.gridLayout_2.addWidget(self.comboBox_Circulation, 1, 1, 1, 1)
        self.comboBox_Hoisting = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Hoisting.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Hoisting.setFont(font)
        self.comboBox_Hoisting.setObjectName('comboBox_Hoisting')
        self.gridLayout_2.addWidget(self.comboBox_Hoisting, 1, 0, 1, 1)
        self.comboBox_Rotation = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Rotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Rotation.setFont(font)
        self.comboBox_Rotation.setObjectName('comboBox_Rotation')
        self.gridLayout_2.addWidget(self.comboBox_Rotation, 1, 2, 1, 1)
        self.pushButton_OpenPorts = QtWidgets.QPushButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_OpenPorts.setFont(font)
        self.pushButton_OpenPorts.setObjectName('pushButton_OpenPorts')
        self.gridLayout_2.addWidget(self.pushButton_OpenPorts, 1, 3, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.layoutWidget1 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(750, 10, 511, 273))
        self.layoutWidget1.setObjectName('layoutWidget1')
        self.gridLayout_6 = QtWidgets.QGridLayout(self.layoutWidget1)
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_6.setObjectName('gridLayout_6')
        self.label = QtWidgets.QLabel(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().
            hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName('label')
        self.gridLayout_6.addWidget(self.label, 1, 0, 1, 1)
        self.line_21 = QtWidgets.QFrame(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_21.sizePolicy().
            hasHeightForWidth())
        self.line_21.setSizePolicy(sizePolicy)
        self.line_21.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_21.setObjectName('line_21')
        self.gridLayout_6.addWidget(self.line_21, 4, 0, 1, 1)
        self.label_91 = QtWidgets.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setItalic(True)
        font.setUnderline(True)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_91.setFont(font)
        self.label_91.setObjectName('label_91')
        self.gridLayout_6.addWidget(self.label_91, 3, 0, 1, 1)
        self.layoutWidget2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget2.setGeometry(QtCore.QRect(50, 380, 221, 541))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget2.setFont(font)
        self.layoutWidget2.setObjectName('layoutWidget2')
        self.gridLayout_5 = QtWidgets.QGridLayout(self.layoutWidget2)
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_5.setObjectName('gridLayout_5')
        self.line_20 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_20.setFont(font)
        self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_20.setObjectName('line_20')
        self.gridLayout_5.addWidget(self.line_20, 5, 0, 1, 3)
        self.line_13 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_13.setFont(font)
        self.line_13.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_13.setObjectName('line_13')
        self.gridLayout_5.addWidget(self.line_13, 3, 0, 1, 3)
        self.label_Velocity = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Velocity.setFont(font)
        self.label_Velocity.setObjectName('label_Velocity')
        self.gridLayout_5.addWidget(self.label_Velocity, 4, 2, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_31.setFont(font)
        self.label_31.setObjectName('label_31')
        self.gridLayout_5.addWidget(self.label_31, 4, 0, 1, 1)
        self.label_32 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_32.setFont(font)
        self.label_32.setObjectName('label_32')
        self.gridLayout_5.addWidget(self.label_32, 2, 0, 1, 1)
        self.label_ROP3 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP3.setFont(font)
        self.label_ROP3.setObjectName('label_ROP3')
        self.gridLayout_5.addWidget(self.label_ROP3, 2, 2, 1, 1)
        self.label_RPM = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_RPM.setFont(font)
        self.label_RPM.setObjectName('label_RPM')
        self.gridLayout_5.addWidget(self.label_RPM, 6, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName('label_8')
        self.gridLayout_5.addWidget(self.label_8, 6, 0, 1, 1)
        self.line_16 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_16.setFont(font)
        self.line_16.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_16.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_16.setObjectName('line_16')
        self.gridLayout_5.addWidget(self.line_16, 7, 0, 1, 3)
        self.label_41 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_41.setFont(font)
        self.label_41.setObjectName('label_41')
        self.gridLayout_5.addWidget(self.label_41, 8, 0, 1, 1)
        self.label_WOB = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_WOB.setFont(font)
        self.label_WOB.setObjectName('label_WOB')
        self.gridLayout_5.addWidget(self.label_WOB, 8, 2, 1, 1)
        self.line_3 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_3.setFont(font)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName('line_3')
        self.gridLayout_5.addWidget(self.line_3, 11, 0, 1, 3)
        self.label_10 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setObjectName('label_10')
        self.gridLayout_5.addWidget(self.label_10, 10, 0, 1, 1)
        self.line_4 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_4.setFont(font)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName('line_4')
        self.gridLayout_5.addWidget(self.line_4, 9, 0, 1, 3)
        self.label_Topdrive_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Topdrive_Torque.setFont(font)
        self.label_Topdrive_Torque.setObjectName('label_Topdrive_Torque')
        self.gridLayout_5.addWidget(self.label_Topdrive_Torque, 10, 2, 1, 1)
        self.label_TAM_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_TAM_Torque.setFont(font)
        self.label_TAM_Torque.setObjectName('label_TAM_Torque')
        self.gridLayout_5.addWidget(self.label_TAM_Torque, 12, 2, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_13.setFont(font)
        self.label_13.setObjectName('label_13')
        self.gridLayout_5.addWidget(self.label_13, 12, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_2.setFont(font)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName('line_2')
        self.gridLayout_5.addWidget(self.line_2, 13, 0, 1, 3)
        self.label_15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_15.setFont(font)
        self.label_15.setObjectName('label_15')
        self.gridLayout_5.addWidget(self.label_15, 14, 0, 1, 1)
        self.label_Pressure = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Pressure.setFont(font)
        self.label_Pressure.setObjectName('label_Pressure')
        self.gridLayout_5.addWidget(self.label_Pressure, 14, 2, 1, 1)
        self.label_34 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_34.setFont(font)
        self.label_34.setObjectName('label_34')
        self.gridLayout_5.addWidget(self.label_34, 16, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line.setFont(font)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName('line')
        self.gridLayout_5.addWidget(self.line, 15, 0, 1, 3)
        self.line_19 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_19.setFont(font)
        self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_19.setObjectName('line_19')
        self.gridLayout_5.addWidget(self.line_19, 19, 0, 1, 3)
        self.label_49 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_49.setFont(font)
        self.label_49.setObjectName('label_49')
        self.gridLayout_5.addWidget(self.label_49, 20, 0, 1, 1)
        self.label_StepCounter = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_StepCounter.setFont(font)
        self.label_StepCounter.setObjectName('label_StepCounter')
        self.gridLayout_5.addWidget(self.label_StepCounter, 20, 2, 1, 1)
        self.line_5 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_5.setFont(font)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName('line_5')
        self.gridLayout_5.addWidget(self.line_5, 21, 0, 1, 3)
        self.label_Flow_Rate_Q = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Flow_Rate_Q.setFont(font)
        self.label_Flow_Rate_Q.setObjectName('label_Flow_Rate_Q')
        self.gridLayout_5.addWidget(self.label_Flow_Rate_Q, 16, 2, 1, 1)
        self.label_45 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_45.setFont(font)
        self.label_45.setObjectName('label_45')
        self.gridLayout_5.addWidget(self.label_45, 18, 0, 1, 1)
        self.line_14 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_14.setFont(font)
        self.line_14.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_14.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_14.setObjectName('line_14')
        self.gridLayout_5.addWidget(self.line_14, 17, 0, 1, 3)
        self.label_Height_Sensor = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Height_Sensor.setFont(font)
        self.label_Height_Sensor.setObjectName('label_Height_Sensor')
        self.gridLayout_5.addWidget(self.label_Height_Sensor, 18, 2, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_30.setFont(font)
        self.label_30.setObjectName('label_30')
        self.gridLayout_5.addWidget(self.label_30, 0, 0, 1, 1)
        self.label_ROP15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP15.setFont(font)
        self.label_ROP15.setObjectName('label_ROP15')
        self.gridLayout_5.addWidget(self.label_ROP15, 0, 2, 1, 1)
        self.line_12 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_12.setFont(font)
        self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_12.setObjectName('line_12')
        self.gridLayout_5.addWidget(self.line_12, 1, 0, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(24, 20, QtWidgets.QSizePolicy.
            Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem, 0, 1, 1, 1)
        self.layoutWidget3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget3.setGeometry(QtCore.QRect(290, 380, 191, 320))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget3.setFont(font)
        self.layoutWidget3.setObjectName('layoutWidget3')
        self.gridLayout_13 = QtWidgets.QGridLayout(self.layoutWidget3)
        self.gridLayout_13.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_13.setObjectName('gridLayout_13')
        self.line_22 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_22.setFont(font)
        self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_22.setObjectName('line_22')
        self.gridLayout_13.addWidget(self.line_22, 1, 0, 1, 3)
        self.line_26 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_26.setFont(font)
        self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_26.setObjectName('line_26')
        self.gridLayout_13.addWidget(self.line_26, 7, 0, 1, 3)
        self.label_Act1StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act1StepCount.setFont(font)
        self.label_Act1StepCount.setObjectName('label_Act1StepCount')
        self.gridLayout_13.addWidget(self.label_Act1StepCount, 8, 2, 1, 1)
        self.label_39 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_39.setFont(font)
        self.label_39.setObjectName('label_39')
        self.gridLayout_13.addWidget(self.label_39, 6, 0, 1, 1)
        self.label_48 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_48.setFont(font)
        self.label_48.setObjectName('label_48')
        self.gridLayout_13.addWidget(self.label_48, 8, 0, 1, 1)
        self.label_Act3StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act3StepCount.setFont(font)
        self.label_Act3StepCount.setObjectName('label_Act3StepCount')
        self.gridLayout_13.addWidget(self.label_Act3StepCount, 10, 2, 1, 1)
        self.label_LoadCell_Z1 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z1.setFont(font)
        self.label_LoadCell_Z1.setObjectName('label_LoadCell_Z1')
        self.gridLayout_13.addWidget(self.label_LoadCell_Z1, 12, 2, 1, 1)
        self.label_LoadCell_Z2 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z2.setFont(font)
        self.label_LoadCell_Z2.setObjectName('label_LoadCell_Z2')
        self.gridLayout_13.addWidget(self.label_LoadCell_Z2, 13, 2, 1, 1)
        self.line_15 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_15.setFont(font)
        self.line_15.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_15.setObjectName('line_15')
        self.gridLayout_13.addWidget(self.line_15, 3, 0, 1, 3)
        self.label_d_exponent = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_d_exponent.setFont(font)
        self.label_d_exponent.setObjectName('label_d_exponent')
        self.gridLayout_13.addWidget(self.label_d_exponent, 4, 2, 1, 1)
        self.label_Act2StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act2StepCount.setFont(font)
        self.label_Act2StepCount.setObjectName('label_Act2StepCount')
        self.gridLayout_13.addWidget(self.label_Act2StepCount, 9, 2, 1, 1)
        self.label_UCS = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_UCS.setFont(font)
        self.label_UCS.setObjectName('label_UCS')
        self.gridLayout_13.addWidget(self.label_UCS, 2, 2, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_23.setFont(font)
        self.label_23.setObjectName('label_23')
        self.gridLayout_13.addWidget(self.label_23, 13, 0, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_27.setFont(font)
        self.label_27.setObjectName('label_27')
        self.gridLayout_13.addWidget(self.label_27, 14, 0, 1, 1)
        self.label_Bit_Torque = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Bit_Torque.setFont(font)
        self.label_Bit_Torque.setObjectName('label_Bit_Torque')
        self.gridLayout_13.addWidget(self.label_Bit_Torque, 6, 2, 1, 1)
        self.label_LoadCell_Z3 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z3.setFont(font)
        self.label_LoadCell_Z3.setObjectName('label_LoadCell_Z3')
        self.gridLayout_13.addWidget(self.label_LoadCell_Z3, 14, 2, 1, 1)
        self.label_29 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_29.setFont(font)
        self.label_29.setObjectName('label_29')
        self.gridLayout_13.addWidget(self.label_29, 15, 0, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_35.setFont(font)
        self.label_35.setObjectName('label_35')
        self.gridLayout_13.addWidget(self.label_35, 0, 0, 1, 1)
        self.label_37 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_37.setFont(font)
        self.label_37.setObjectName('label_37')
        self.gridLayout_13.addWidget(self.label_37, 2, 0, 1, 1)
        self.label_43 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_43.setFont(font)
        self.label_43.setObjectName('label_43')
        self.gridLayout_13.addWidget(self.label_43, 4, 0, 1, 1)
        self.label_MSE = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_MSE.setFont(font)
        self.label_MSE.setObjectName('label_MSE')
        self.gridLayout_13.addWidget(self.label_MSE, 0, 2, 1, 1)
        self.label_50 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_50.setFont(font)
        self.label_50.setObjectName('label_50')
        self.gridLayout_13.addWidget(self.label_50, 9, 0, 1, 1)
        self.label_51 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_51.setFont(font)
        self.label_51.setObjectName('label_51')
        self.gridLayout_13.addWidget(self.label_51, 10, 0, 1, 1)
        self.line_27 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_27.setFont(font)
        self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_27.setObjectName('line_27')
        self.gridLayout_13.addWidget(self.line_27, 5, 0, 1, 3)
        self.line_25 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_25.setFont(font)
        self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_25.setObjectName('line_25')
        self.gridLayout_13.addWidget(self.line_25, 11, 0, 1, 3)
        self.label_19 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_19.setFont(font)
        self.label_19.setObjectName('label_19')
        self.gridLayout_13.addWidget(self.label_19, 12, 0, 1, 1)
        self.line_11 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_11.setFont(font)
        self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_11.setObjectName('line_11')
        self.gridLayout_13.addWidget(self.line_11, 16, 0, 1, 3)
        self.label_Hookload_SumZ = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Hookload_SumZ.setFont(font)
        self.label_Hookload_SumZ.setObjectName('label_Hookload_SumZ')
        self.gridLayout_13.addWidget(self.label_Hookload_SumZ, 15, 2, 1, 1)
        self.line_10 = QtWidgets.QFrame(self.centralwidget)
        self.line_10.setGeometry(QtCore.QRect(30, 950, 1241, 16))
        self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_10.setObjectName('line_10')
        self.line_17 = QtWidgets.QFrame(self.centralwidget)
        self.line_17.setGeometry(QtCore.QRect(20, 0, 1241, 16))
        self.line_17.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_17.setObjectName('line_17')
        self.line_18 = QtWidgets.QFrame(self.centralwidget)
        self.line_18.setGeometry(QtCore.QRect(737, 460, 531, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_18.sizePolicy().
            hasHeightForWidth())
        self.line_18.setSizePolicy(sizePolicy)
        self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_18.setObjectName('line_18')
        self.line_9 = QtWidgets.QFrame(self.centralwidget)
        self.line_9.setGeometry(QtCore.QRect(1262, 8, 20, 951))
        self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_9.setObjectName('line_9')
        self.line_8 = QtWidgets.QFrame(self.centralwidget)
        self.line_8.setGeometry(QtCore.QRect(20, 8, 20, 951))
        self.line_8.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName('line_8')
        self.layoutWidget4 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget4.setGeometry(QtCore.QRect(740, 300, 521, 162))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget4.setFont(font)
        self.layoutWidget4.setObjectName('layoutWidget4')
        self.gridLayout_10 = QtWidgets.QGridLayout(self.layoutWidget4)
        self.gridLayout_10.setSizeConstraint(QtWidgets.QLayout.
            SetDefaultConstraint)
        self.gridLayout_10.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_10.setObjectName('gridLayout_10')
        self.gridLayout_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName('gridLayout_7')
        self.label_Rotating_Bit = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Rotating_Bit.setFont(font)
        self.label_Rotating_Bit.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_Bit.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_Bit.setWordWrap(False)
        self.label_Rotating_Bit.setOpenExternalLinks(False)
        self.label_Rotating_Bit.setObjectName('label_Rotating_Bit')
        self.gridLayout_7.addWidget(self.label_Rotating_Bit, 1, 0, 1, 2)
        self.label_No_Rotation = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_No_Rotation.setFont(font)
        self.label_No_Rotation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_No_Rotation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_No_Rotation.setWordWrap(False)
        self.label_No_Rotation.setObjectName('label_No_Rotation')
        self.gridLayout_7.addWidget(self.label_No_Rotation, 2, 0, 1, 2)
        self.label_80 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_80.sizePolicy().
            hasHeightForWidth())
        self.label_80.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_80.setFont(font)
        self.label_80.setObjectName('label_80')
        self.gridLayout_7.addWidget(self.label_80, 0, 0, 1, 2)
        self.gridLayout_10.addLayout(self.gridLayout_7, 1, 0, 1, 1)
        self.gridLayout_8 = QtWidgets.QGridLayout()
        self.gridLayout_8.setObjectName('gridLayout_8')
        self.label_Hoisting_Stopped = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Hoisting_Stopped.setFont(font)
        self.label_Hoisting_Stopped.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Hoisting_Stopped.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Hoisting_Stopped.setWordWrap(False)
        self.label_Hoisting_Stopped.setObjectName('label_Hoisting_Stopped')
        self.gridLayout_8.addWidget(self.label_Hoisting_Stopped, 1, 0, 1, 1)
        self.label_WOB_Ctrl = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_WOB_Ctrl.setFont(font)
        self.label_WOB_Ctrl.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_WOB_Ctrl.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_WOB_Ctrl.setWordWrap(False)
        self.label_WOB_Ctrl.setObjectName('label_WOB_Ctrl')
        self.gridLayout_8.addWidget(self.label_WOB_Ctrl, 1, 1, 1, 1)
        self.label_Moving = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Moving.setFont(font)
        self.label_Moving.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Moving.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Moving.setWordWrap(False)
        self.label_Moving.setObjectName('label_Moving')
        self.gridLayout_8.addWidget(self.label_Moving, 2, 0, 1, 1)
        self.label_Brake_Open = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Open.setFont(font)
        self.label_Brake_Open.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Open.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Open.setWordWrap(False)
        self.label_Brake_Open.setObjectName('label_Brake_Open')
        self.gridLayout_8.addWidget(self.label_Brake_Open, 3, 0, 1, 1)
        self.label_Brake_Closed = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Closed.setFont(font)
        self.label_Brake_Closed.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Closed.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Closed.setWordWrap(False)
        self.label_Brake_Closed.setObjectName('label_Brake_Closed')
        self.label_Brake_Closed.setStyleSheet('background-color: yellow')
        self.gridLayout_8.addWidget(self.label_Brake_Closed, 3, 1, 1, 1)
        self.label_Start = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Start.setFont(font)
        self.label_Start.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Start.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Start.setWordWrap(False)
        self.label_Start.setObjectName('label_Start')
        self.gridLayout_8.addWidget(self.label_Start, 4, 0, 1, 2)
        self.label_55 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_55.sizePolicy().
            hasHeightForWidth())
        self.label_55.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_55.setFont(font)
        self.label_55.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_55.setObjectName('label_55')
        self.gridLayout_8.addWidget(self.label_55, 0, 0, 1, 2)
        self.label_Calibrating = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Calibrating.setFont(font)
        self.label_Calibrating.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Calibrating.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Calibrating.setWordWrap(False)
        self.label_Calibrating.setObjectName('label_Calibrating')
        self.gridLayout_8.addWidget(self.label_Calibrating, 2, 1, 1, 1)
        self.gridLayout_10.addLayout(self.gridLayout_8, 1, 1, 1, 1)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName('verticalLayout_6')
        self.label_54 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
            QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_54.sizePolicy().
            hasHeightForWidth())
        self.label_54.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_54.setFont(font)
        self.label_54.setObjectName('label_54')
        self.verticalLayout_6.addWidget(self.label_54)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName('gridLayout')
        self.label_Pump_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_Off.setFont(font)
        self.label_Pump_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_Off.setWordWrap(False)
        self.label_Pump_Off.setObjectName('label_Pump_Off')
        self.gridLayout.addWidget(self.label_Pump_Off, 0, 1, 1, 1)
        self.label_Starting = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Starting.setFont(font)
        self.label_Starting.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Starting.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Starting.setWordWrap(False)
        self.label_Starting.setObjectName('label_Starting')
        self.gridLayout.addWidget(self.label_Starting, 1, 0, 1, 1)
        self.label_Pump_On = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_On.setFont(font)
        self.label_Pump_On.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_On.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_On.setWordWrap(False)
        self.label_Pump_On.setObjectName('label_Pump_On')
        self.gridLayout.addWidget(self.label_Pump_On, 0, 0, 1, 1)
        self.label_LEAK = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_LEAK.setFont(font)
        self.label_LEAK.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_LEAK.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_LEAK.setWordWrap(False)
        self.label_LEAK.setObjectName('label_LEAK')
        self.gridLayout.addWidget(self.label_LEAK, 2, 0, 1, 1)
        self.label_Pack_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pack_Off.setFont(font)
        self.label_Pack_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pack_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pack_Off.setWordWrap(False)
        self.label_Pack_Off.setObjectName('label_Pack_Off')
        self.gridLayout.addWidget(self.label_Pack_Off, 3, 1, 1, 1)
        self.label_END = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_END.setFont(font)
        self.label_END.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_END.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_END.setWordWrap(False)
        self.label_END.setObjectName('label_END')
        self.gridLayout.addWidget(self.label_END, 3, 0, 1, 1)
        self.label_OFF = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_OFF.setFont(font)
        self.label_OFF.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_OFF.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_OFF.setWordWrap(False)
        self.label_OFF.setObjectName('label_OFF')
        self.gridLayout.addWidget(self.label_OFF, 1, 1, 1, 1)
        self.label_Monitor = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Monitor.setFont(font)
        self.label_Monitor.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Monitor.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Monitor.setWordWrap(False)
        self.label_Monitor.setObjectName('label_Monitor')
        self.gridLayout.addWidget(self.label_Monitor, 2, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout)
        self.gridLayout_10.addLayout(self.verticalLayout_6, 1, 2, 1, 1)
        self.label_92 = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_92.setFont(font)
        self.label_92.setObjectName('label_92')
        self.gridLayout_10.addWidget(self.label_92, 0, 0, 1, 3, QtCore.Qt.
            AlignHCenter)
        self.layoutWidget5 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget5.setGeometry(QtCore.QRect(50, 220, 431, 121))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.layoutWidget5.setFont(font)
        self.layoutWidget5.setObjectName('layoutWidget5')
        self.gridLayout_12 = QtWidgets.QGridLayout(self.layoutWidget5)
        self.gridLayout_12.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_12.setObjectName('gridLayout_12')
        self.label_95 = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_95.setFont(font)
        self.label_95.setObjectName('label_95')
        self.gridLayout_12.addWidget(self.label_95, 0, 0, 1, 3, QtCore.Qt.
            AlignHCenter)
        self.label_New_Formation = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_New_Formation.setFont(font)
        self.label_New_Formation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_New_Formation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_New_Formation.setWordWrap(False)
        self.label_New_Formation.setObjectName('label_New_Formation')
        self.gridLayout_12.addWidget(self.label_New_Formation, 3, 2, 1, 1)
        self.label_Leak = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Leak.setFont(font)
        self.label_Leak.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Leak.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Leak.setWordWrap(False)
        self.label_Leak.setObjectName('label_Leak')
        self.gridLayout_12.addWidget(self.label_Leak, 3, 0, 1, 1)
        self.label_Overpressure = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Overpressure.setFont(font)
        self.label_Overpressure.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Overpressure.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Overpressure.setWordWrap(False)
        self.label_Overpressure.setObjectName('label_Overpressure')
        self.gridLayout_12.addWidget(self.label_Overpressure, 3, 1, 1, 1)
        self.label_Lateral_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Lateral_Vibration.setFont(font)
        self.label_Lateral_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Lateral_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Lateral_Vibration.setWordWrap(False)
        self.label_Lateral_Vibration.setObjectName('label_Lateral_Vibration')
        self.gridLayout_12.addWidget(self.label_Lateral_Vibration, 1, 1, 1, 1)
        self.label_Axial_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Axial_Vibration.setFont(font)
        self.label_Axial_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Axial_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Axial_Vibration.setWordWrap(False)
        self.label_Axial_Vibration.setObjectName('label_Axial_Vibration')
        self.gridLayout_12.addWidget(self.label_Axial_Vibration, 1, 0, 1, 1)
        self.label_Stick_Slip = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Stick_Slip.setFont(font)
        self.label_Stick_Slip.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Stick_Slip.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Stick_Slip.setWordWrap(False)
        self.label_Stick_Slip.setObjectName('label_Stick_Slip')
        self.gridLayout_12.addWidget(self.label_Stick_Slip, 1, 2, 1, 1)
        self.label_Critical_Buckling = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Critical_Buckling.setFont(font)
        self.label_Critical_Buckling.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Critical_Buckling.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Critical_Buckling.setWordWrap(False)
        self.label_Critical_Buckling.setObjectName('label_Critical_Buckling')
        self.gridLayout_12.addWidget(self.label_Critical_Buckling, 2, 0, 1, 1)
        self.label_Over_Torque = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Over_Torque.setFont(font)
        self.label_Over_Torque.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Over_Torque.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Over_Torque.setWordWrap(False)
        self.label_Over_Torque.setObjectName('label_Over_Torque')
        self.gridLayout_12.addWidget(self.label_Over_Torque, 2, 1, 1, 1)
        self.label_Twist_Off = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Twist_Off.setFont(font)
        self.label_Twist_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Twist_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Twist_Off.setWordWrap(False)
        self.label_Twist_Off.setObjectName('label_Twist_Off')
        self.gridLayout_12.addWidget(self.label_Twist_Off, 2, 2, 1, 1)
        self.line_24 = QtWidgets.QFrame(self.centralwidget)
        self.line_24.setGeometry(QtCore.QRect(31, 350, 471, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_24.sizePolicy().
            hasHeightForWidth())
        self.line_24.setSizePolicy(sizePolicy)
        self.line_24.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_24.setObjectName('line_24')
        self.label_96 = QtWidgets.QLabel(self.centralwidget)
        self.label_96.setGeometry(QtCore.QRect(528, 134, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_96.sizePolicy().
            hasHeightForWidth())
        self.label_96.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_96.setFont(font)
        self.label_96.setObjectName('label_96')
        self.label_97 = QtWidgets.QLabel(self.centralwidget)
        self.label_97.setGeometry(QtCore.QRect(522, 914, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_97.sizePolicy().
            hasHeightForWidth())
        self.label_97.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_97.setFont(font)
        self.label_97.setObjectName('label_97')
        self.label_98 = QtWidgets.QLabel(self.centralwidget)
        self.label_98.setGeometry(QtCore.QRect(520, 784, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_98.sizePolicy().
            hasHeightForWidth())
        self.label_98.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_98.setFont(font)
        self.label_98.setObjectName('label_98')
        self.label_99 = QtWidgets.QLabel(self.centralwidget)
        self.label_99.setGeometry(QtCore.QRect(520, 654, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_99.sizePolicy().
            hasHeightForWidth())
        self.label_99.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_99.setFont(font)
        self.label_99.setObjectName('label_99')
        self.label_100 = QtWidgets.QLabel(self.centralwidget)
        self.label_100.setGeometry(QtCore.QRect(520, 524, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_100.sizePolicy().
            hasHeightForWidth())
        self.label_100.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_100.setFont(font)
        self.label_100.setObjectName('label_100')
        self.label_101 = QtWidgets.QLabel(self.centralwidget)
        self.label_101.setGeometry(QtCore.QRect(525, 393, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_101.sizePolicy().
            hasHeightForWidth())
        self.label_101.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_101.setFont(font)
        self.label_101.setObjectName('label_101')
        self.label_102 = QtWidgets.QLabel(self.centralwidget)
        self.label_102.setGeometry(QtCore.QRect(524, 264, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_102.sizePolicy().
            hasHeightForWidth())
        self.label_102.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_102.setFont(font)
        self.label_102.setObjectName('label_102')
        self.radioButton = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton.setGeometry(QtCore.QRect(570, 141, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton.setFont(font)
        self.radioButton.setText('')
        self.radioButton.setObjectName('radioButton')
        self.radioButton_2 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_2.setGeometry(QtCore.QRect(570, 270, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_2.setFont(font)
        self.radioButton_2.setText('')
        self.radioButton_2.setObjectName('radioButton_2')
        self.radioButton_3 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_3.setGeometry(QtCore.QRect(570, 400, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_3.setFont(font)
        self.radioButton_3.setText('')
        self.radioButton_3.setObjectName('radioButton_3')
        self.radioButton_5 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_5.setGeometry(QtCore.QRect(570, 530, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_5.setFont(font)
        self.radioButton_5.setText('')
        self.radioButton_5.setObjectName('radioButton_5')
        self.radioButton_6 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_6.setGeometry(QtCore.QRect(570, 660, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_6.setFont(font)
        self.radioButton_6.setText('')
        self.radioButton_6.setObjectName('radioButton_6')
        self.radioButton_7 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_7.setGeometry(QtCore.QRect(570, 790, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_7.setFont(font)
        self.radioButton_7.setText('')
        self.radioButton_7.setObjectName('radioButton_7')
        self.radioButton_9 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_9.setGeometry(QtCore.QRect(570, 920, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_9.setFont(font)
        self.radioButton_9.setText('')
        self.radioButton_9.setObjectName('radioButton_9')
        self.layoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_2.setGeometry(QtCore.QRect(504, 20, 221, 71))
        self.layoutWidget_2.setObjectName('layoutWidget_2')
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.layoutWidget_2)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName('verticalLayout_9')
        self.label_Rotating_2 = QtWidgets.QLabel(self.layoutWidget_2)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_Rotating_2.setFont(font)
        self.label_Rotating_2.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_2.setWordWrap(False)
        self.label_Rotating_2.setObjectName('label_Rotating_2')
        self.verticalLayout_9.addWidget(self.label_Rotating_2)
        self.Depthtracker_2 = QtWidgets.QLCDNumber(self.layoutWidget_2)
        self.Depthtracker_2.setObjectName('Depthtracker_2')
        self.verticalLayout_9.addWidget(self.Depthtracker_2)
        self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_3.setGeometry(QtCore.QRect(290, 820, 191, 98))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget_3.setFont(font)
        self.layoutWidget_3.setObjectName('layoutWidget_3')
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.layoutWidget_3)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setObjectName('verticalLayout_10')
        self.label_104 = QtWidgets.QLabel(self.layoutWidget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_104.sizePolicy().
            hasHeightForWidth())
        self.label_104.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_104.setFont(font)
        self.label_104.setObjectName('label_104')
        self.verticalLayout_10.addWidget(self.label_104, 0, QtCore.Qt.
            AlignHCenter)
        self.textBrowser_CurrentFormation = QtWidgets.QTextBrowser(self.
            layoutWidget_3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.textBrowser_CurrentFormation.setFont(font)
        self.textBrowser_CurrentFormation.setObjectName(
            'textBrowser_CurrentFormation')
        self.verticalLayout_10.addWidget(self.textBrowser_CurrentFormation)
        self.label_RockPicture = QtWidgets.QLabel(self.centralwidget)
        self.label_RockPicture.setGeometry(QtCore.QRect(586, 140, 61, 791))
        self.label_RockPicture.setObjectName('label_RockPicture')
        self.label_PipePicture = QtWidgets.QLabel(self.centralwidget)
        self.label_PipePicture.setGeometry(QtCore.QRect(567, 0, 71, 971))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_PipePicture.sizePolicy().
            hasHeightForWidth())
        self.label_PipePicture.setSizePolicy(sizePolicy)
        self.label_PipePicture.setObjectName('label_PipePicture')
        self.line_6 = QtWidgets.QFrame(self.centralwidget)
        self.line_6.setGeometry(QtCore.QRect(567, 149, 20, 781))
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName('line_6')
        self.label_Rotating_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_Rotating_3.setGeometry(QtCore.QRect(513, 11, 211, 81))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_Rotating_3.setFont(font)
        self.label_Rotating_3.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_3.setText('')
        self.label_Rotating_3.setWordWrap(False)
        self.label_Rotating_3.setObjectName('label_Rotating_3')
        self.line_7 = QtWidgets.QFrame(self.centralwidget)
        self.line_7.setGeometry(QtCore.QRect(720, 10, 20, 951))
        self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName('line_7')
        self.line_28 = QtWidgets.QFrame(self.centralwidget)
        self.line_28.setGeometry(QtCore.QRect(490, 8, 20, 951))
        self.line_28.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_28.setObjectName('line_28')
        self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox.setEnabled(True)
        self.checkBox.setGeometry(QtCore.QRect(740, 280, 231, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox.setFont(font)
        self.checkBox.setTristate(False)
        self.checkBox.setObjectName('checkBox')
        self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_2.setGeometry(QtCore.QRect(741, 477, 211, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox_2.setFont(font)
        self.checkBox_2.setObjectName('checkBox_2')
        self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_2.setEnabled(True)
        self.textBrowser_2.setGeometry(QtCore.QRect(740, 500, 531, 451))
        self.textBrowser_2.setObjectName('textBrowser_2')
        self.textBrowser_3 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_3.setGeometry(QtCore.QRect(740, 300, 531, 171))
        self.textBrowser_3.setObjectName('textBrowser_3')
        self.layoutWidget6 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget6.setGeometry(QtCore.QRect(290, 724, 191, 71))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget6.setFont(font)
        self.layoutWidget6.setObjectName('layoutWidget6')
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget6)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName('verticalLayout_5')
        self.label_94 = QtWidgets.QLabel(self.layoutWidget6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_94.sizePolicy().
            hasHeightForWidth())
        self.label_94.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_94.setFont(font)
        self.label_94.setObjectName('label_94')
        self.verticalLayout_5.addWidget(self.label_94, 0, QtCore.Qt.
            AlignHCenter)
        self.Depthtracker = QtWidgets.QLCDNumber(self.layoutWidget6)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.Depthtracker.setFont(font)
        self.Depthtracker.setObjectName('Depthtracker')
        self.verticalLayout_5.addWidget(self.Depthtracker)
        self.layoutWidget7 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget7.setGeometry(QtCore.QRect(50, 140, 435, 71))
        self.layoutWidget7.setObjectName('layoutWidget7')
        self.gridLayout_15 = QtWidgets.QGridLayout(self.layoutWidget7)
        self.gridLayout_15.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_15.setObjectName('gridLayout_15')
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName('horizontalLayout')
        self.pushButton_Start_Drilling = QtWidgets.QPushButton(self.
            layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Start_Drilling.
            sizePolicy().hasHeightForWidth())
        self.pushButton_Start_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Start_Drilling.setFont(font)
        self.pushButton_Start_Drilling.setObjectName(
            'pushButton_Start_Drilling')
        self.horizontalLayout.addWidget(self.pushButton_Start_Drilling)
        self.pushButton_Stop_Drilling = QtWidgets.QPushButton(self.
            layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling.
            sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling.setFont(font)
        self.pushButton_Stop_Drilling.setObjectName('pushButton_Stop_Drilling')
        self.horizontalLayout.addWidget(self.pushButton_Stop_Drilling)
        self.pushButton_Advanced_UI = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Advanced_UI.sizePolicy
            ().hasHeightForWidth())
        self.pushButton_Advanced_UI.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Advanced_UI.setFont(font)
        self.pushButton_Advanced_UI.setObjectName('pushButton_Advanced_UI')
        self.horizontalLayout.addWidget(self.pushButton_Advanced_UI)
        self.gridLayout_15.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName('horizontalLayout_2')
        self.pushButton_Stop_Rotation_2 = QtWidgets.QPushButton(self.
            layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Rotation_2.setFont(font)
        self.pushButton_Stop_Rotation_2.setObjectName(
            'pushButton_Stop_Rotation_2')
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Rotation_2)
        self.pushButton_Stop_Drilling_2 = QtWidgets.QPushButton(self.
            layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling_2.
            sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling_2.setFont(font)
        self.pushButton_Stop_Drilling_2.setObjectName(
            'pushButton_Stop_Drilling_2')
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Drilling_2)
        self.pushButton = QtWidgets.QPushButton(self.layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName('pushButton')
        self.horizontalLayout_2.addWidget(self.pushButton)
        self.gridLayout_15.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.label_93 = QtWidgets.QLabel(self.centralwidget)
        self.label_93.setGeometry(QtCore.QRect(940, 500, 132, 19))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_93.sizePolicy().
            hasHeightForWidth())
        self.label_93.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_93.setFont(font)
        self.label_93.setObjectName('label_93')
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(760, 520, 481, 431))
        self.widget.setObjectName('widget')
        self.gridLayout_11 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_11.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_11.setObjectName('gridLayout_11')
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName('gridLayout_4')
        self.doubleSpinBox_RPM = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_RPM.setFont(font)
        self.doubleSpinBox_RPM.setDecimals(0)
        self.doubleSpinBox_RPM.setMaximum(1500.0)
        self.doubleSpinBox_RPM.setObjectName('doubleSpinBox_RPM')
        self.gridLayout_4.addWidget(self.doubleSpinBox_RPM, 0, 1, 1, 1)
        self.label_84 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_84.setFont(font)
        self.label_84.setObjectName('label_84')
        self.gridLayout_4.addWidget(self.label_84, 0, 0, 1, 1)
        self.pushButton_StartRotation = QtWidgets.QPushButton(self.widget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush
            )
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight,
            brush)
        self.pushButton_StartRotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartRotation.setFont(font)
        self.pushButton_StartRotation.setObjectName('pushButton_StartRotation')
        self.gridLayout_4.addWidget(self.pushButton_StartRotation, 3, 0, 1, 2)
        spacerItem1 = QtWidgets.QSpacerItem(20, 12, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_4.addItem(spacerItem1, 2, 0, 1, 2)
        self.gridLayout_11.addLayout(self.gridLayout_4, 0, 0, 2, 1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 18, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem2, 0, 1, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(20, 38, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem3, 0, 2, 1, 1)
        self.pushButton_Stop_Rotation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Rotation.setFont(font)
        self.pushButton_Stop_Rotation.setObjectName('pushButton_Stop_Rotation')
        self.gridLayout_11.addWidget(self.pushButton_Stop_Rotation, 1, 1, 1, 1)
        self.pushButton_Reset_WOB_2 = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_WOB_2.setFont(font)
        self.pushButton_Reset_WOB_2.setObjectName('pushButton_Reset_WOB_2')
        self.gridLayout_11.addWidget(self.pushButton_Reset_WOB_2, 1, 2, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName('verticalLayout_2')
        self.pushButton_StartCirculation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartCirculation.setFont(font)
        self.pushButton_StartCirculation.setObjectName(
            'pushButton_StartCirculation')
        self.verticalLayout_2.addWidget(self.pushButton_StartCirculation)
        self.gridLayout_11.addLayout(self.verticalLayout_2, 2, 0, 1, 1)
        self.pushButton_Stop_Hoisting = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Hoisting.setFont(font)
        self.pushButton_Stop_Hoisting.setObjectName('pushButton_Stop_Hoisting')
        self.gridLayout_11.addWidget(self.pushButton_Stop_Hoisting, 2, 1, 1, 1)
        self.pushButton_Reset_Hook_Load = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Hook_Load.setFont(font)
        self.pushButton_Reset_Hook_Load.setObjectName(
            'pushButton_Reset_Hook_Load')
        self.gridLayout_11.addWidget(self.pushButton_Reset_Hook_Load, 2, 2,
            1, 1)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName('verticalLayout_3')
        self.pushButton_Open_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Open_Brake.setFont(font)
        self.pushButton_Open_Brake.setObjectName('pushButton_Open_Brake')
        self.verticalLayout_3.addWidget(self.pushButton_Open_Brake)
        self.gridLayout_11.addLayout(self.verticalLayout_3, 3, 0, 1, 1)
        self.pushButton_Stop_Pump = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Pump.setFont(font)
        self.pushButton_Stop_Pump.setObjectName('pushButton_Stop_Pump')
        self.gridLayout_11.addWidget(self.pushButton_Stop_Pump, 3, 1, 1, 1)
        self.pushButton_Reset_Stepper_Pos = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Stepper_Pos.setFont(font)
        self.pushButton_Reset_Stepper_Pos.setAcceptDrops(False)
        self.pushButton_Reset_Stepper_Pos.setObjectName(
            'pushButton_Reset_Stepper_Pos')
        self.gridLayout_11.addWidget(self.pushButton_Reset_Stepper_Pos, 3, 
            2, 1, 1)
        self.pushButton_TogglePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_TogglePID.setFont(font)
        self.pushButton_TogglePID.setObjectName('pushButton_TogglePID')
        self.gridLayout_11.addWidget(self.pushButton_TogglePID, 4, 0, 1, 1)
        self.pushButton_Close_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Close_Brake.setFont(font)
        self.pushButton_Close_Brake.setObjectName('pushButton_Close_Brake')
        self.gridLayout_11.addWidget(self.pushButton_Close_Brake, 4, 1, 1, 1)
        self.pushButton_Reset_ROP = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_ROP.setFont(font)
        self.pushButton_Reset_ROP.setObjectName('pushButton_Reset_ROP')
        self.gridLayout_11.addWidget(self.pushButton_Reset_ROP, 4, 2, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem4, 5, 0, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(20, 59, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem5, 5, 1, 3, 1)
        self.pushButton_Telementary = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Telementary.setFont(font)
        self.pushButton_Telementary.setObjectName('pushButton_Telementary')
        self.gridLayout_11.addWidget(self.pushButton_Telementary, 5, 2, 1, 1)
        self.label_81 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_81.setFont(font)
        self.label_81.setObjectName('label_81')
        self.gridLayout_11.addWidget(self.label_81, 6, 0, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(20, 78, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem6, 7, 2, 4, 1)
        self.comboBox_Actuator = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Actuator.setFont(font)
        self.comboBox_Actuator.setObjectName('comboBox_Actuator')
        self.gridLayout_11.addWidget(self.comboBox_Actuator, 8, 0, 1, 1)
        self.label_82 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_82.setFont(font)
        self.label_82.setObjectName('label_82')
        self.gridLayout_11.addWidget(self.label_82, 9, 0, 1, 1)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName('gridLayout_3')
        self.label_86 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_86.setFont(font)
        self.label_86.setObjectName('label_86')
        self.gridLayout_3.addWidget(self.label_86, 4, 1, 1, 1)
        self.pushButton_SavePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_SavePID.setFont(font)
        self.pushButton_SavePID.setObjectName('pushButton_SavePID')
        self.gridLayout_3.addWidget(self.pushButton_SavePID, 8, 1, 1, 2)
        self.label_89 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_89.setFont(font)
        self.label_89.setObjectName('label_89')
        self.gridLayout_3.addWidget(self.label_89, 5, 1, 1, 1)
        self.doubleSpinBox_WOB = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_WOB.setFont(font)
        self.doubleSpinBox_WOB.setDecimals(4)
        self.doubleSpinBox_WOB.setMaximum(30.0)
        self.doubleSpinBox_WOB.setValue(2.0)
        self.doubleSpinBox_WOB.setSingleStep(0.1)
        self.doubleSpinBox_WOB.setObjectName('doubleSpinBox_WOB')
        self.gridLayout_3.addWidget(self.doubleSpinBox_WOB, 4, 2, 1, 1)
        self.doubleSpinBox_Kp = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kp.setFont(font)
        self.doubleSpinBox_Kp.setDecimals(10)
        self.doubleSpinBox_Kp.setMaximum(1000.0)
        self.doubleSpinBox_Kp.setValue(1e-05)
        self.doubleSpinBox_Kp.setSingleStep(1e-06)
        self.doubleSpinBox_Kp.setObjectName('doubleSpinBox_Kp')
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kp, 5, 2, 1, 1)
        self.doubleSpinBox_Ki = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Ki.setFont(font)
        self.doubleSpinBox_Ki.setDecimals(10)
        self.doubleSpinBox_Ki.setMaximum(1000.0)
        self.doubleSpinBox_Ki.setValue(0.0001)
        self.doubleSpinBox_Ki.setSingleStep(1e-06)
        self.doubleSpinBox_Ki.setObjectName('doubleSpinBox_Ki')
        self.gridLayout_3.addWidget(self.doubleSpinBox_Ki, 6, 2, 1, 1)
        self.label_88 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_88.setFont(font)
        self.label_88.setObjectName('label_88')
        self.gridLayout_3.addWidget(self.label_88, 6, 1, 1, 1)
        self.label_87 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_87.setFont(font)
        self.label_87.setObjectName('label_87')
        self.gridLayout_3.addWidget(self.label_87, 7, 1, 1, 1)
        self.doubleSpinBox_Kd = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kd.setFont(font)
        self.doubleSpinBox_Kd.setDecimals(10)
        self.doubleSpinBox_Kd.setMaximum(1000.0)
        self.doubleSpinBox_Kd.setValue(0)
        self.doubleSpinBox_Kd.setSingleStep(1e-06)
        self.doubleSpinBox_Kd.setObjectName('doubleSpinBox_Kd')
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kd, 7, 2, 1, 1)
        self.label_90 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_90.setFont(font)
        self.label_90.setObjectName('label_90')
        self.gridLayout_3.addWidget(self.label_90, 3, 0, 1, 3, QtCore.Qt.
            AlignHCenter)
        self.gridLayout_11.addLayout(self.gridLayout_3, 9, 1, 6, 1)
        self.doubleSpinBox_Distance = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Distance.setFont(font)
        self.doubleSpinBox_Distance.setDecimals(3)
        self.doubleSpinBox_Distance.setMaximum(900.0)
        self.doubleSpinBox_Distance.setObjectName('doubleSpinBox_Distance')
        self.gridLayout_11.addWidget(self.doubleSpinBox_Distance, 10, 0, 1, 1)
        self.label_83 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_83.setFont(font)
        self.label_83.setObjectName('label_83')
        self.gridLayout_11.addWidget(self.label_83, 11, 0, 1, 1)
        self.spinBox_Stepper_Delay = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.spinBox_Stepper_Delay.setFont(font)
        self.spinBox_Stepper_Delay.setDecimals(4)
        self.spinBox_Stepper_Delay.setMinimum(35.0)
        self.spinBox_Stepper_Delay.setMaximum(500.0)
        self.spinBox_Stepper_Delay.setSingleStep(10.0)
        self.spinBox_Stepper_Delay.setProperty('value', 35.0)
        self.spinBox_Stepper_Delay.setObjectName('spinBox_Stepper_Delay')
        self.gridLayout_11.addWidget(self.spinBox_Stepper_Delay, 12, 0, 1, 1)
        self.label_85 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_85.setFont(font)
        self.label_85.setObjectName('label_85')
        self.gridLayout_11.addWidget(self.label_85, 13, 0, 1, 1)
        self.comboBox_Direction = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Direction.setFont(font)
        self.comboBox_Direction.setObjectName('comboBox_Direction')
        self.gridLayout_11.addWidget(self.comboBox_Direction, 14, 0, 1, 1)
        self.pushButton_MoveActuators = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_MoveActuators.setFont(font)
        self.pushButton_MoveActuators.setObjectName('pushButton_MoveActuators')
        self.gridLayout_11.addWidget(self.pushButton_MoveActuators, 15, 0, 1, 1
            )
        self.pushButton_WOB_Ctrl_off = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_Ctrl_off.setFont(font)
        self.pushButton_WOB_Ctrl_off.setObjectName('pushButton_WOB_Ctrl_off')
        self.gridLayout_11.addWidget(self.pushButton_WOB_Ctrl_off, 14, 2, 1, 1)
        self.pushButton_WOB_ctrl_on = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_ctrl_on.setFont(font)
        self.pushButton_WOB_ctrl_on.setObjectName('pushButton_WOB_ctrl_on')
        self.gridLayout_11.addWidget(self.pushButton_WOB_ctrl_on, 13, 2, 1, 1)
        self.label_93.raise_()
        self.layoutWidget.raise_()
        self.label_RockPicture.raise_()
        self.label_PipePicture.raise_()
        self.label_Rotating_3.raise_()
        self.line_6.raise_()
        self.radioButton_5.raise_()
        self.radioButton_3.raise_()
        self.radioButton_9.raise_()
        self.radioButton_7.raise_()
        self.radioButton.raise_()
        self.radioButton_6.raise_()
        self.radioButton_2.raise_()
        self.line_10.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.line_17.raise_()
        self.line_9.raise_()
        self.line_8.raise_()
        self.line_18.raise_()
        self.line_24.raise_()
        self.label_96.raise_()
        self.label_97.raise_()
        self.label_98.raise_()
        self.label_99.raise_()
        self.label_100.raise_()
        self.label_101.raise_()
        self.label_102.raise_()
        self.layoutWidget_2.raise_()
        self.layoutWidget_3.raise_()
        self.line_28.raise_()
        self.line_7.raise_()
        self.checkBox.raise_()
        self.checkBox_2.raise_()
        self.textBrowser_3.raise_()
        self.pushButton_WOB_ctrl_on.raise_()
        self.pushButton_WOB_Ctrl_off.raise_()
        self.textBrowser_2.raise_()
        self.retranslateUi(C)
        self.checkBox.toggled['bool'].connect(self.textBrowser_3.setHidden)
        self.checkBox.setChecked(True)
        self.checkBox_2.toggled['bool'].connect(self.textBrowser_2.setHidden)
        self.checkBox_2.setChecked(True)
        self.pushButton.clicked.connect(C.close)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.
            pushButton_Stop_Rotation.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.
            pushButton_Stop_Hoisting.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.
            pushButton_Stop_Pump.click)
        self.pushButton_Advanced_UI.clicked.connect(self.
            pushButton_Reset_Stepper_Pos.click)
        self.pushButton_Advanced_UI.clicked.connect(self.
            pushButton_Reset_WOB_2.click)
        QtCore.QMetaObject.connectSlotsByName(C)

    def retranslateUi(self, C):
        _translate = QtCore.QCoreApplication.translate
        C.setWindowTitle(_translate('C', 'MainWindow'))
        self.label_4.setText(_translate('C', 'DRILLING CHAIR CONTROLLER'))
        self.label_5.setText(_translate('C', 'Hoisting Port'))
        self.label_6.setText(_translate('C', 'Circulation Port'))
        self.label_7.setText(_translate('C', 'Rotation Port'))
        self.pushButton_OpenPorts.setText(_translate('C', 'Open'))
        self.label.setText(_translate('C',
            '<html><head/><body><p><img src=":C:/Users/TeamUiS/Desktop/Logo-resized.png"/></p></body></html>'
            ))
        self.label_91.setText(_translate('C',
            'University of Stavanger, IRIS, AkerBP'))
        self.label_Velocity.setText(_translate('C', '0'))
        self.label_31.setText(_translate('C', 'Velocity [m/h]'))
        self.label_32.setText(_translate('C', '3m.ROP [mm/s]'))
        self.label_ROP3.setText(_translate('C', '0'))
        self.label_RPM.setText(_translate('C', '0'))
        self.label_8.setText(_translate('C', 'RPM [mm/s]'))
        self.label_41.setText(_translate('C', 'WOB [kg]'))
        self.label_WOB.setText(_translate('C', '0'))
        self.label_10.setText(_translate('C', 'Topdrive Torque [Nm]'))
        self.label_Topdrive_Torque.setText(_translate('C', '0'))
        self.label_TAM_Torque.setText(_translate('C', '0'))
        self.label_13.setText(_translate('C', 'TAM Torque [Nm]'))
        self.label_15.setText(_translate('C', 'Pressure [barA]'))
        self.label_Pressure.setText(_translate('C', '0'))
        self.label_34.setText(_translate('C', 'Flow Rate Q [LPM]'))
        self.label_49.setText(_translate('C', 'Stepcounter [mm]'))
        self.label_StepCounter.setText(_translate('C', '0'))
        self.label_Flow_Rate_Q.setText(_translate('C', '0'))
        self.label_45.setText(_translate('C', 'Height-sensor [cm]'))
        self.label_Height_Sensor.setText(_translate('C', '0'))
        self.label_30.setText(_translate('C', '15s.ROP [mm/s]'))
        self.label_ROP15.setText(_translate('C', '0'))
        self.label_Act1StepCount.setText(_translate('C', '0'))
        self.label_39.setText(_translate('C', 'BitTorque [Nm]'))
        self.label_48.setText(_translate('C', 'Act1.Stepcounter'))
        self.label_Act3StepCount.setText(_translate('C', '0'))
        self.label_LoadCell_Z1.setText(_translate('C', '0'))
        self.label_LoadCell_Z2.setText(_translate('C', '0'))
        self.label_d_exponent.setText(_translate('C', '0'))
        self.label_Act2StepCount.setText(_translate('C', '0'))
        self.label_UCS.setText(_translate('C', '0'))
        self.label_23.setText(_translate('C', 'Load Cell 2 Z2'))
        self.label_27.setText(_translate('C', 'Load Cell 3 Z3'))
        self.label_Bit_Torque.setText(_translate('C', '0'))
        self.label_LoadCell_Z3.setText(_translate('C', '0'))
        self.label_29.setText(_translate('C', 'Hook Load ∑Z'))
        self.label_35.setText(_translate('C', 'MSE [MPa]'))
        self.label_37.setText(_translate('C', 'UCS [MPa]'))
        self.label_43.setText(_translate('C', 'd-exponent'))
        self.label_MSE.setText(_translate('C', '0'))
        self.label_50.setText(_translate('C', 'Act2.Stepcounter'))
        self.label_51.setText(_translate('C', 'Act3.Stepcounter'))
        self.label_19.setText(_translate('C', 'Load cell 1 Z1'))
        self.label_Hookload_SumZ.setText(_translate('C', '0'))
        self.label_Rotating_Bit.setText(_translate('C', 'Rotating Bit'))
        self.label_No_Rotation.setText(_translate('C', 'No Rotation'))
        self.label_80.setText(_translate('C', 'Rotation'))
        self.label_Hoisting_Stopped.setText(_translate('C', 'Stopped'))
        self.label_WOB_Ctrl.setText(_translate('C', 'WOB Control'))
        self.label_Moving.setText(_translate('C', 'Moving'))
        self.label_Brake_Open.setText(_translate('C', 'Brake Open'))
        self.label_Brake_Closed.setText(_translate('C', 'Brake Closed'))
        self.label_Start.setText(_translate('C', 'Start'))
        self.label_55.setText(_translate('C', 'Hoisting'))
        self.label_Calibrating.setText(_translate('C', 'Calibrating'))
        self.label_54.setText(_translate('C', 'Circulation'))
        self.label_Pump_Off.setText(_translate('C', 'Pump Off'))
        self.label_Starting.setText(_translate('C', 'Starting'))
        self.label_Pump_On.setText(_translate('C', 'Pump On'))
        self.label_LEAK.setText(_translate('C', 'LEAK'))
        self.label_Pack_Off.setText(_translate('C', 'Pack Off'))
        self.label_END.setText(_translate('C', 'END'))
        self.label_OFF.setText(_translate('C', 'OFF'))
        self.label_Monitor.setText(_translate('C', 'Monitor'))
        self.label_92.setText(_translate('C', 'Rig Operation Monitor'))
        self.label_95.setText(_translate('C', 'Ongoing Occurence'))
        self.label_New_Formation.setText(_translate('C', 'New Formation'))
        self.label_Leak.setText(_translate('C', 'Leak'))
        self.label_Overpressure.setText(_translate('C', 'Overpressure'))
        self.label_Lateral_Vibration.setText(_translate('C',
            'Lateral Vibration'))
        self.label_Axial_Vibration.setText(_translate('C', 'Axial Vibration'))
        self.label_Stick_Slip.setText(_translate('C', 'Torsional Vibrations'))
        self.label_Critical_Buckling.setText(_translate('C',
            'Critical Buckling'))
        self.label_Over_Torque.setText(_translate('C', 'Over-Torque'))
        self.label_Twist_Off.setText(_translate('C', 'Twist-Off'))
        self.label_96.setText(_translate('C', '0cm'))
        self.label_97.setText(_translate('C', '60cm'))
        self.label_98.setText(_translate('C', '50cm'))
        self.label_99.setText(_translate('C', '40cm'))
        self.label_100.setText(_translate('C', '30cm'))
        self.label_101.setText(_translate('C', '20cm'))
        self.label_102.setText(_translate('C', '10cm'))
        self.label_Rotating_2.setText(_translate('C', 'Duration [min]'))
        self.label_104.setText(_translate('C', 'Current Formation'))
        self.textBrowser_CurrentFormation.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:10pt; font-weight:600; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Sandstone</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">UCS = 110 MPa</span></p></body></html>"""
            ))
        self.label_RockPicture.setText(_translate('C',
            '<html><head/><body><p><img src=":/well/bit.png"/></p></body></html>'
            ))
        self.label_PipePicture.setText(_translate('C',
            '<html><head/><body><p><img src=":/bit/truebit.png"/></p></body></html>'
            ))
        self.checkBox.setText(_translate('C', 'Toggle Rig Operation Monitor'))
        self.checkBox_2.setText(_translate('C', 'Toggle Manual Controls'))
        self.textBrowser_2.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Autonomous Drillling State! Check box to access Manual Controls.</span></p></body></html>"""
            ))
        self.textBrowser_3.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Autonomous Drillling State! Check box to access the Rig Operation Monitor.</span></p></body></html>"""
            ))
        self.label_94.setText(_translate('C', 'TVD [cm]'))
        self.pushButton_Start_Drilling.setText(_translate('C',
            'START Autonomous'))
        self.pushButton_Stop_Drilling.setText(_translate('C', 'EMERGENCY STOP')
            )
        self.pushButton_Advanced_UI.setText(_translate('C', 'OPEN Adv. GUI'))
        self.pushButton_Stop_Rotation_2.setText(_translate('C',
            'Generate PDF report'))
        self.pushButton_Stop_Drilling_2.setText(_translate('C',
            'STOP ALL SYSTEMS'))
        self.pushButton.setText(_translate('C', 'CLOSE GUI'))
        self.label_93.setText(_translate('C', 'Manual Controls'))
        self.label_84.setText(_translate('C', 'RPM Input'))
        self.pushButton_StartRotation.setText(_translate('C', 'Start Rotation')
            )
        self.pushButton_Stop_Rotation.setText(_translate('C', 'Stop Rotation'))
        self.pushButton_Reset_WOB_2.setText(_translate('C', 'Reset WOB'))
        self.pushButton_StartCirculation.setText(_translate('C',
            'Start Circulation'))
        self.pushButton_Stop_Hoisting.setText(_translate('C', 'Stop Hoisting'))
        self.pushButton_Reset_Hook_Load.setText(_translate('C',
            'Reset Hook Load'))
        self.pushButton_Open_Brake.setText(_translate('C', 'Open Brakes'))
        self.pushButton_Stop_Pump.setText(_translate('C', 'Stop Pumps'))
        self.pushButton_Reset_Stepper_Pos.setText(_translate('C', 'Reset TVD'))
        self.pushButton_TogglePID.setText(_translate('C', 'Toggle PID'))
        self.pushButton_Close_Brake.setText(_translate('C', 'Close Brakes'))
        self.pushButton_Reset_ROP.setText(_translate('C', 'Reset ROP'))
        self.pushButton_Telementary.setText(_translate('C', 'Telemetry on/off')
            )
        self.label_81.setText(_translate('C', 'Acuator'))
        self.label_82.setText(_translate('C', 'Set Distance (mm)'))
        self.label_86.setText(_translate('C', 'WOB'))
        self.pushButton_SavePID.setText(_translate('C', 'Save Parameters'))
        self.label_89.setText(_translate('C', 'Kp'))
        self.label_88.setText(_translate('C', 'Ki'))
        self.label_87.setText(_translate('C', 'Kd'))
        self.label_90.setText(_translate('C', 'Submit parameters'))
        self.label_83.setText(_translate('C', 'Stepper delay'))
        self.label_85.setText(_translate('C', 'Direction'))
        self.pushButton_MoveActuators.setText(_translate('C',
            'Execute Manual Move'))
        self.pushButton_WOB_Ctrl_off.setText(_translate('C', 'WOB Control off')
            )
        self.pushButton_WOB_ctrl_on.setText(_translate('C', 'WOB Control on'))

from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_C(object):

    def setupUi(self, C):
        C.setObjectName('C')
        C.setEnabled(True)
        C.resize(1322, 979)
        font = QtGui.QFont()
        font.setFamily('Verdana')
        C.setFont(font)
        C.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        C.setAutoFillBackground(False)
        C.setStyleSheet('background-color: rgb(255, 255, 255)')
        self.centralwidget = QtWidgets.QWidget(C)
        self.centralwidget.setEnabled(True)
        self.centralwidget.setBaseSize(QtCore.QSize(1280, 1024))
        self.centralwidget.setObjectName('centralwidget')
        self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(50, 20, 441, 103))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget.setFont(font)
        self.layoutWidget.setObjectName('layoutWidget')
        self.gridLayout_9 = QtWidgets.QGridLayout(self.layoutWidget)
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_9.setObjectName('gridLayout_9')
        self.label_4 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label_4.setFont(font)
        self.label_4.setObjectName('label_4')
        self.gridLayout_9.addWidget(self.label_4, 0, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName('gridLayout_2')
        self.label_5 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName('label_5')
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName('label_6')
        self.gridLayout_2.addWidget(self.label_6, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName('label_7')
        self.gridLayout_2.addWidget(self.label_7, 0, 2, 1, 1)
        self.comboBox_Circulation = QtWidgets.QComboBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Circulation.setFont(font)
        self.comboBox_Circulation.setObjectName('comboBox_Circulation')
        self.gridLayout_2.addWidget(self.comboBox_Circulation, 1, 1, 1, 1)
        self.comboBox_Hoisting = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Hoisting.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Hoisting.setFont(font)
        self.comboBox_Hoisting.setObjectName('comboBox_Hoisting')
        self.gridLayout_2.addWidget(self.comboBox_Hoisting, 1, 0, 1, 1)
        self.comboBox_Rotation = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Rotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Rotation.setFont(font)
        self.comboBox_Rotation.setObjectName('comboBox_Rotation')
        self.gridLayout_2.addWidget(self.comboBox_Rotation, 1, 2, 1, 1)
        self.pushButton_OpenPorts = QtWidgets.QPushButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_OpenPorts.setFont(font)
        self.pushButton_OpenPorts.setObjectName('pushButton_OpenPorts')
        self.gridLayout_2.addWidget(self.pushButton_OpenPorts, 1, 3, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.layoutWidget1 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(750, 10, 511, 273))
        self.layoutWidget1.setObjectName('layoutWidget1')
        self.gridLayout_6 = QtWidgets.QGridLayout(self.layoutWidget1)
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_6.setObjectName('gridLayout_6')
        self.label = QtWidgets.QLabel(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().
            hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName('label')
        self.gridLayout_6.addWidget(self.label, 1, 0, 1, 1)
        self.line_21 = QtWidgets.QFrame(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_21.sizePolicy().
            hasHeightForWidth())
        self.line_21.setSizePolicy(sizePolicy)
        self.line_21.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_21.setObjectName('line_21')
        self.gridLayout_6.addWidget(self.line_21, 4, 0, 1, 1)
        self.label_91 = QtWidgets.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setItalic(True)
        font.setUnderline(True)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_91.setFont(font)
        self.label_91.setObjectName('label_91')
        self.gridLayout_6.addWidget(self.label_91, 3, 0, 1, 1)
        self.layoutWidget2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget2.setGeometry(QtCore.QRect(50, 380, 221, 541))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget2.setFont(font)
        self.layoutWidget2.setObjectName('layoutWidget2')
        self.gridLayout_5 = QtWidgets.QGridLayout(self.layoutWidget2)
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_5.setObjectName('gridLayout_5')
        self.line_20 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_20.setFont(font)
        self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_20.setObjectName('line_20')
        self.gridLayout_5.addWidget(self.line_20, 5, 0, 1, 3)
        self.line_13 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_13.setFont(font)
        self.line_13.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_13.setObjectName('line_13')
        self.gridLayout_5.addWidget(self.line_13, 3, 0, 1, 3)
        self.label_Velocity = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Velocity.setFont(font)
        self.label_Velocity.setObjectName('label_Velocity')
        self.gridLayout_5.addWidget(self.label_Velocity, 4, 2, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_31.setFont(font)
        self.label_31.setObjectName('label_31')
        self.gridLayout_5.addWidget(self.label_31, 4, 0, 1, 1)
        self.label_32 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_32.setFont(font)
        self.label_32.setObjectName('label_32')
        self.gridLayout_5.addWidget(self.label_32, 2, 0, 1, 1)
        self.label_ROP3 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP3.setFont(font)
        self.label_ROP3.setObjectName('label_ROP3')
        self.gridLayout_5.addWidget(self.label_ROP3, 2, 2, 1, 1)
        self.label_RPM = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_RPM.setFont(font)
        self.label_RPM.setObjectName('label_RPM')
        self.gridLayout_5.addWidget(self.label_RPM, 6, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName('label_8')
        self.gridLayout_5.addWidget(self.label_8, 6, 0, 1, 1)
        self.line_16 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_16.setFont(font)
        self.line_16.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_16.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_16.setObjectName('line_16')
        self.gridLayout_5.addWidget(self.line_16, 7, 0, 1, 3)
        self.label_41 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_41.setFont(font)
        self.label_41.setObjectName('label_41')
        self.gridLayout_5.addWidget(self.label_41, 8, 0, 1, 1)
        self.label_WOB = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_WOB.setFont(font)
        self.label_WOB.setObjectName('label_WOB')
        self.gridLayout_5.addWidget(self.label_WOB, 8, 2, 1, 1)
        self.line_3 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_3.setFont(font)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName('line_3')
        self.gridLayout_5.addWidget(self.line_3, 11, 0, 1, 3)
        self.label_10 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setObjectName('label_10')
        self.gridLayout_5.addWidget(self.label_10, 10, 0, 1, 1)
        self.line_4 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_4.setFont(font)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName('line_4')
        self.gridLayout_5.addWidget(self.line_4, 9, 0, 1, 3)
        self.label_Topdrive_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Topdrive_Torque.setFont(font)
        self.label_Topdrive_Torque.setObjectName('label_Topdrive_Torque')
        self.gridLayout_5.addWidget(self.label_Topdrive_Torque, 10, 2, 1, 1)
        self.label_TAM_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_TAM_Torque.setFont(font)
        self.label_TAM_Torque.setObjectName('label_TAM_Torque')
        self.gridLayout_5.addWidget(self.label_TAM_Torque, 12, 2, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_13.setFont(font)
        self.label_13.setObjectName('label_13')
        self.gridLayout_5.addWidget(self.label_13, 12, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_2.setFont(font)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName('line_2')
        self.gridLayout_5.addWidget(self.line_2, 13, 0, 1, 3)
        self.label_15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_15.setFont(font)
        self.label_15.setObjectName('label_15')
        self.gridLayout_5.addWidget(self.label_15, 14, 0, 1, 1)
        self.label_Pressure = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Pressure.setFont(font)
        self.label_Pressure.setObjectName('label_Pressure')
        self.gridLayout_5.addWidget(self.label_Pressure, 14, 2, 1, 1)
        self.label_34 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_34.setFont(font)
        self.label_34.setObjectName('label_34')
        self.gridLayout_5.addWidget(self.label_34, 16, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line.setFont(font)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName('line')
        self.gridLayout_5.addWidget(self.line, 15, 0, 1, 3)
        self.line_19 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_19.setFont(font)
        self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_19.setObjectName('line_19')
        self.gridLayout_5.addWidget(self.line_19, 19, 0, 1, 3)
        self.label_49 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_49.setFont(font)
        self.label_49.setObjectName('label_49')
        self.gridLayout_5.addWidget(self.label_49, 20, 0, 1, 1)
        self.label_StepCounter = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_StepCounter.setFont(font)
        self.label_StepCounter.setObjectName('label_StepCounter')
        self.gridLayout_5.addWidget(self.label_StepCounter, 20, 2, 1, 1)
        self.line_5 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_5.setFont(font)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName('line_5')
        self.gridLayout_5.addWidget(self.line_5, 21, 0, 1, 3)
        self.label_Flow_Rate_Q = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Flow_Rate_Q.setFont(font)
        self.label_Flow_Rate_Q.setObjectName('label_Flow_Rate_Q')
        self.gridLayout_5.addWidget(self.label_Flow_Rate_Q, 16, 2, 1, 1)
        self.label_45 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_45.setFont(font)
        self.label_45.setObjectName('label_45')
        self.gridLayout_5.addWidget(self.label_45, 18, 0, 1, 1)
        self.line_14 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_14.setFont(font)
        self.line_14.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_14.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_14.setObjectName('line_14')
        self.gridLayout_5.addWidget(self.line_14, 17, 0, 1, 3)
        self.label_Height_Sensor = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Height_Sensor.setFont(font)
        self.label_Height_Sensor.setObjectName('label_Height_Sensor')
        self.gridLayout_5.addWidget(self.label_Height_Sensor, 18, 2, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_30.setFont(font)
        self.label_30.setObjectName('label_30')
        self.gridLayout_5.addWidget(self.label_30, 0, 0, 1, 1)
        self.label_ROP15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP15.setFont(font)
        self.label_ROP15.setObjectName('label_ROP15')
        self.gridLayout_5.addWidget(self.label_ROP15, 0, 2, 1, 1)
        self.line_12 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_12.setFont(font)
        self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_12.setObjectName('line_12')
        self.gridLayout_5.addWidget(self.line_12, 1, 0, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(24, 20, QtWidgets.QSizePolicy.
            Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem, 0, 1, 1, 1)
        self.layoutWidget3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget3.setGeometry(QtCore.QRect(290, 380, 191, 320))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget3.setFont(font)
        self.layoutWidget3.setObjectName('layoutWidget3')
        self.gridLayout_13 = QtWidgets.QGridLayout(self.layoutWidget3)
        self.gridLayout_13.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_13.setObjectName('gridLayout_13')
        self.line_22 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_22.setFont(font)
        self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_22.setObjectName('line_22')
        self.gridLayout_13.addWidget(self.line_22, 1, 0, 1, 3)
        self.line_26 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_26.setFont(font)
        self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_26.setObjectName('line_26')
        self.gridLayout_13.addWidget(self.line_26, 7, 0, 1, 3)
        self.label_Act1StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act1StepCount.setFont(font)
        self.label_Act1StepCount.setObjectName('label_Act1StepCount')
        self.gridLayout_13.addWidget(self.label_Act1StepCount, 8, 2, 1, 1)
        self.label_39 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_39.setFont(font)
        self.label_39.setObjectName('label_39')
        self.gridLayout_13.addWidget(self.label_39, 6, 0, 1, 1)
        self.label_48 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_48.setFont(font)
        self.label_48.setObjectName('label_48')
        self.gridLayout_13.addWidget(self.label_48, 8, 0, 1, 1)
        self.label_Act3StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act3StepCount.setFont(font)
        self.label_Act3StepCount.setObjectName('label_Act3StepCount')
        self.gridLayout_13.addWidget(self.label_Act3StepCount, 10, 2, 1, 1)
        self.label_LoadCell_Z1 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z1.setFont(font)
        self.label_LoadCell_Z1.setObjectName('label_LoadCell_Z1')
        self.gridLayout_13.addWidget(self.label_LoadCell_Z1, 12, 2, 1, 1)
        self.label_LoadCell_Z2 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z2.setFont(font)
        self.label_LoadCell_Z2.setObjectName('label_LoadCell_Z2')
        self.gridLayout_13.addWidget(self.label_LoadCell_Z2, 13, 2, 1, 1)
        self.line_15 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_15.setFont(font)
        self.line_15.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_15.setObjectName('line_15')
        self.gridLayout_13.addWidget(self.line_15, 3, 0, 1, 3)
        self.label_d_exponent = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_d_exponent.setFont(font)
        self.label_d_exponent.setObjectName('label_d_exponent')
        self.gridLayout_13.addWidget(self.label_d_exponent, 4, 2, 1, 1)
        self.label_Act2StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act2StepCount.setFont(font)
        self.label_Act2StepCount.setObjectName('label_Act2StepCount')
        self.gridLayout_13.addWidget(self.label_Act2StepCount, 9, 2, 1, 1)
        self.label_UCS = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_UCS.setFont(font)
        self.label_UCS.setObjectName('label_UCS')
        self.gridLayout_13.addWidget(self.label_UCS, 2, 2, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_23.setFont(font)
        self.label_23.setObjectName('label_23')
        self.gridLayout_13.addWidget(self.label_23, 13, 0, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_27.setFont(font)
        self.label_27.setObjectName('label_27')
        self.gridLayout_13.addWidget(self.label_27, 14, 0, 1, 1)
        self.label_Bit_Torque = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Bit_Torque.setFont(font)
        self.label_Bit_Torque.setObjectName('label_Bit_Torque')
        self.gridLayout_13.addWidget(self.label_Bit_Torque, 6, 2, 1, 1)
        self.label_LoadCell_Z3 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z3.setFont(font)
        self.label_LoadCell_Z3.setObjectName('label_LoadCell_Z3')
        self.gridLayout_13.addWidget(self.label_LoadCell_Z3, 14, 2, 1, 1)
        self.label_29 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_29.setFont(font)
        self.label_29.setObjectName('label_29')
        self.gridLayout_13.addWidget(self.label_29, 15, 0, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_35.setFont(font)
        self.label_35.setObjectName('label_35')
        self.gridLayout_13.addWidget(self.label_35, 0, 0, 1, 1)
        self.label_37 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_37.setFont(font)
        self.label_37.setObjectName('label_37')
        self.gridLayout_13.addWidget(self.label_37, 2, 0, 1, 1)
        self.label_43 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_43.setFont(font)
        self.label_43.setObjectName('label_43')
        self.gridLayout_13.addWidget(self.label_43, 4, 0, 1, 1)
        self.label_MSE = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_MSE.setFont(font)
        self.label_MSE.setObjectName('label_MSE')
        self.gridLayout_13.addWidget(self.label_MSE, 0, 2, 1, 1)
        self.label_50 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_50.setFont(font)
        self.label_50.setObjectName('label_50')
        self.gridLayout_13.addWidget(self.label_50, 9, 0, 1, 1)
        self.label_51 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_51.setFont(font)
        self.label_51.setObjectName('label_51')
        self.gridLayout_13.addWidget(self.label_51, 10, 0, 1, 1)
        self.line_27 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_27.setFont(font)
        self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_27.setObjectName('line_27')
        self.gridLayout_13.addWidget(self.line_27, 5, 0, 1, 3)
        self.line_25 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_25.setFont(font)
        self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_25.setObjectName('line_25')
        self.gridLayout_13.addWidget(self.line_25, 11, 0, 1, 3)
        self.label_19 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_19.setFont(font)
        self.label_19.setObjectName('label_19')
        self.gridLayout_13.addWidget(self.label_19, 12, 0, 1, 1)
        self.line_11 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_11.setFont(font)
        self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_11.setObjectName('line_11')
        self.gridLayout_13.addWidget(self.line_11, 16, 0, 1, 3)
        self.label_Hookload_SumZ = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Hookload_SumZ.setFont(font)
        self.label_Hookload_SumZ.setObjectName('label_Hookload_SumZ')
        self.gridLayout_13.addWidget(self.label_Hookload_SumZ, 15, 2, 1, 1)
        self.line_10 = QtWidgets.QFrame(self.centralwidget)
        self.line_10.setGeometry(QtCore.QRect(30, 950, 1241, 16))
        self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_10.setObjectName('line_10')
        self.line_17 = QtWidgets.QFrame(self.centralwidget)
        self.line_17.setGeometry(QtCore.QRect(20, 0, 1241, 16))
        self.line_17.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_17.setObjectName('line_17')
        self.line_18 = QtWidgets.QFrame(self.centralwidget)
        self.line_18.setGeometry(QtCore.QRect(737, 460, 531, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_18.sizePolicy().
            hasHeightForWidth())
        self.line_18.setSizePolicy(sizePolicy)
        self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_18.setObjectName('line_18')
        self.line_9 = QtWidgets.QFrame(self.centralwidget)
        self.line_9.setGeometry(QtCore.QRect(1262, 8, 20, 951))
        self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_9.setObjectName('line_9')
        self.line_8 = QtWidgets.QFrame(self.centralwidget)
        self.line_8.setGeometry(QtCore.QRect(20, 8, 20, 951))
        self.line_8.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName('line_8')
        self.layoutWidget4 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget4.setGeometry(QtCore.QRect(740, 300, 521, 162))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget4.setFont(font)
        self.layoutWidget4.setObjectName('layoutWidget4')
        self.gridLayout_10 = QtWidgets.QGridLayout(self.layoutWidget4)
        self.gridLayout_10.setSizeConstraint(QtWidgets.QLayout.
            SetDefaultConstraint)
        self.gridLayout_10.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_10.setObjectName('gridLayout_10')
        self.gridLayout_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName('gridLayout_7')
        self.label_Rotating_Bit = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Rotating_Bit.setFont(font)
        self.label_Rotating_Bit.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_Bit.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_Bit.setWordWrap(False)
        self.label_Rotating_Bit.setOpenExternalLinks(False)
        self.label_Rotating_Bit.setObjectName('label_Rotating_Bit')
        self.gridLayout_7.addWidget(self.label_Rotating_Bit, 1, 0, 1, 2)
        self.label_No_Rotation = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_No_Rotation.setFont(font)
        self.label_No_Rotation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_No_Rotation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_No_Rotation.setWordWrap(False)
        self.label_No_Rotation.setObjectName('label_No_Rotation')
        self.gridLayout_7.addWidget(self.label_No_Rotation, 2, 0, 1, 2)
        self.label_80 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_80.sizePolicy().
            hasHeightForWidth())
        self.label_80.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_80.setFont(font)
        self.label_80.setObjectName('label_80')
        self.gridLayout_7.addWidget(self.label_80, 0, 0, 1, 2)
        self.gridLayout_10.addLayout(self.gridLayout_7, 1, 0, 1, 1)
        self.gridLayout_8 = QtWidgets.QGridLayout()
        self.gridLayout_8.setObjectName('gridLayout_8')
        self.label_Hoisting_Stopped = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Hoisting_Stopped.setFont(font)
        self.label_Hoisting_Stopped.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Hoisting_Stopped.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Hoisting_Stopped.setWordWrap(False)
        self.label_Hoisting_Stopped.setObjectName('label_Hoisting_Stopped')
        self.gridLayout_8.addWidget(self.label_Hoisting_Stopped, 1, 0, 1, 1)
        self.label_WOB_Ctrl = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_WOB_Ctrl.setFont(font)
        self.label_WOB_Ctrl.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_WOB_Ctrl.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_WOB_Ctrl.setWordWrap(False)
        self.label_WOB_Ctrl.setObjectName('label_WOB_Ctrl')
        self.gridLayout_8.addWidget(self.label_WOB_Ctrl, 1, 1, 1, 1)
        self.label_Moving = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Moving.setFont(font)
        self.label_Moving.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Moving.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Moving.setWordWrap(False)
        self.label_Moving.setObjectName('label_Moving')
        self.gridLayout_8.addWidget(self.label_Moving, 2, 0, 1, 1)
        self.label_Brake_Open = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Open.setFont(font)
        self.label_Brake_Open.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Open.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Open.setWordWrap(False)
        self.label_Brake_Open.setObjectName('label_Brake_Open')
        self.gridLayout_8.addWidget(self.label_Brake_Open, 3, 0, 1, 1)
        self.label_Brake_Closed = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Closed.setFont(font)
        self.label_Brake_Closed.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Closed.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Closed.setWordWrap(False)
        self.label_Brake_Closed.setObjectName('label_Brake_Closed')
        self.label_Brake_Closed.setStyleSheet('background-color: yellow')
        self.gridLayout_8.addWidget(self.label_Brake_Closed, 3, 1, 1, 1)
        self.label_Start = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Start.setFont(font)
        self.label_Start.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Start.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Start.setWordWrap(False)
        self.label_Start.setObjectName('label_Start')
        self.gridLayout_8.addWidget(self.label_Start, 4, 0, 1, 2)
        self.label_55 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_55.sizePolicy().
            hasHeightForWidth())
        self.label_55.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_55.setFont(font)
        self.label_55.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_55.setObjectName('label_55')
        self.gridLayout_8.addWidget(self.label_55, 0, 0, 1, 2)
        self.label_Calibrating = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Calibrating.setFont(font)
        self.label_Calibrating.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Calibrating.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Calibrating.setWordWrap(False)
        self.label_Calibrating.setObjectName('label_Calibrating')
        self.gridLayout_8.addWidget(self.label_Calibrating, 2, 1, 1, 1)
        self.gridLayout_10.addLayout(self.gridLayout_8, 1, 1, 1, 1)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName('verticalLayout_6')
        self.label_54 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
            QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_54.sizePolicy().
            hasHeightForWidth())
        self.label_54.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_54.setFont(font)
        self.label_54.setObjectName('label_54')
        self.verticalLayout_6.addWidget(self.label_54)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName('gridLayout')
        self.label_Pump_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_Off.setFont(font)
        self.label_Pump_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_Off.setWordWrap(False)
        self.label_Pump_Off.setObjectName('label_Pump_Off')
        self.gridLayout.addWidget(self.label_Pump_Off, 0, 1, 1, 1)
        self.label_Starting = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Starting.setFont(font)
        self.label_Starting.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Starting.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Starting.setWordWrap(False)
        self.label_Starting.setObjectName('label_Starting')
        self.gridLayout.addWidget(self.label_Starting, 1, 0, 1, 1)
        self.label_Pump_On = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_On.setFont(font)
        self.label_Pump_On.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_On.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_On.setWordWrap(False)
        self.label_Pump_On.setObjectName('label_Pump_On')
        self.gridLayout.addWidget(self.label_Pump_On, 0, 0, 1, 1)
        self.label_LEAK = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_LEAK.setFont(font)
        self.label_LEAK.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_LEAK.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_LEAK.setWordWrap(False)
        self.label_LEAK.setObjectName('label_LEAK')
        self.gridLayout.addWidget(self.label_LEAK, 2, 0, 1, 1)
        self.label_Pack_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pack_Off.setFont(font)
        self.label_Pack_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pack_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pack_Off.setWordWrap(False)
        self.label_Pack_Off.setObjectName('label_Pack_Off')
        self.gridLayout.addWidget(self.label_Pack_Off, 3, 1, 1, 1)
        self.label_END = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_END.setFont(font)
        self.label_END.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_END.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_END.setWordWrap(False)
        self.label_END.setObjectName('label_END')
        self.gridLayout.addWidget(self.label_END, 3, 0, 1, 1)
        self.label_OFF = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_OFF.setFont(font)
        self.label_OFF.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_OFF.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_OFF.setWordWrap(False)
        self.label_OFF.setObjectName('label_OFF')
        self.gridLayout.addWidget(self.label_OFF, 1, 1, 1, 1)
        self.label_Monitor = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Monitor.setFont(font)
        self.label_Monitor.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Monitor.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Monitor.setWordWrap(False)
        self.label_Monitor.setObjectName('label_Monitor')
        self.gridLayout.addWidget(self.label_Monitor, 2, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout)
        self.gridLayout_10.addLayout(self.verticalLayout_6, 1, 2, 1, 1)
        self.label_92 = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_92.setFont(font)
        self.label_92.setObjectName('label_92')
        self.gridLayout_10.addWidget(self.label_92, 0, 0, 1, 3, QtCore.Qt.
            AlignHCenter)
        self.layoutWidget5 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget5.setGeometry(QtCore.QRect(50, 220, 431, 121))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.layoutWidget5.setFont(font)
        self.layoutWidget5.setObjectName('layoutWidget5')
        self.gridLayout_12 = QtWidgets.QGridLayout(self.layoutWidget5)
        self.gridLayout_12.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_12.setObjectName('gridLayout_12')
        self.label_95 = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_95.setFont(font)
        self.label_95.setObjectName('label_95')
        self.gridLayout_12.addWidget(self.label_95, 0, 0, 1, 3, QtCore.Qt.
            AlignHCenter)
        self.label_New_Formation = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_New_Formation.setFont(font)
        self.label_New_Formation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_New_Formation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_New_Formation.setWordWrap(False)
        self.label_New_Formation.setObjectName('label_New_Formation')
        self.gridLayout_12.addWidget(self.label_New_Formation, 3, 2, 1, 1)
        self.label_Leak = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Leak.setFont(font)
        self.label_Leak.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Leak.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Leak.setWordWrap(False)
        self.label_Leak.setObjectName('label_Leak')
        self.gridLayout_12.addWidget(self.label_Leak, 3, 0, 1, 1)
        self.label_Overpressure = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Overpressure.setFont(font)
        self.label_Overpressure.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Overpressure.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Overpressure.setWordWrap(False)
        self.label_Overpressure.setObjectName('label_Overpressure')
        self.gridLayout_12.addWidget(self.label_Overpressure, 3, 1, 1, 1)
        self.label_Lateral_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Lateral_Vibration.setFont(font)
        self.label_Lateral_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Lateral_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Lateral_Vibration.setWordWrap(False)
        self.label_Lateral_Vibration.setObjectName('label_Lateral_Vibration')
        self.gridLayout_12.addWidget(self.label_Lateral_Vibration, 1, 1, 1, 1)
        self.label_Axial_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Axial_Vibration.setFont(font)
        self.label_Axial_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Axial_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Axial_Vibration.setWordWrap(False)
        self.label_Axial_Vibration.setObjectName('label_Axial_Vibration')
        self.gridLayout_12.addWidget(self.label_Axial_Vibration, 1, 0, 1, 1)
        self.label_Stick_Slip = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Stick_Slip.setFont(font)
        self.label_Stick_Slip.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Stick_Slip.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Stick_Slip.setWordWrap(False)
        self.label_Stick_Slip.setObjectName('label_Stick_Slip')
        self.gridLayout_12.addWidget(self.label_Stick_Slip, 1, 2, 1, 1)
        self.label_Critical_Buckling = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Critical_Buckling.setFont(font)
        self.label_Critical_Buckling.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Critical_Buckling.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Critical_Buckling.setWordWrap(False)
        self.label_Critical_Buckling.setObjectName('label_Critical_Buckling')
        self.gridLayout_12.addWidget(self.label_Critical_Buckling, 2, 0, 1, 1)
        self.label_Over_Torque = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Over_Torque.setFont(font)
        self.label_Over_Torque.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Over_Torque.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Over_Torque.setWordWrap(False)
        self.label_Over_Torque.setObjectName('label_Over_Torque')
        self.gridLayout_12.addWidget(self.label_Over_Torque, 2, 1, 1, 1)
        self.label_Twist_Off = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Twist_Off.setFont(font)
        self.label_Twist_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Twist_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Twist_Off.setWordWrap(False)
        self.label_Twist_Off.setObjectName('label_Twist_Off')
        self.gridLayout_12.addWidget(self.label_Twist_Off, 2, 2, 1, 1)
        self.line_24 = QtWidgets.QFrame(self.centralwidget)
        self.line_24.setGeometry(QtCore.QRect(31, 350, 471, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_24.sizePolicy().
            hasHeightForWidth())
        self.line_24.setSizePolicy(sizePolicy)
        self.line_24.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_24.setObjectName('line_24')
        self.label_96 = QtWidgets.QLabel(self.centralwidget)
        self.label_96.setGeometry(QtCore.QRect(528, 134, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_96.sizePolicy().
            hasHeightForWidth())
        self.label_96.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_96.setFont(font)
        self.label_96.setObjectName('label_96')
        self.label_97 = QtWidgets.QLabel(self.centralwidget)
        self.label_97.setGeometry(QtCore.QRect(522, 914, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_97.sizePolicy().
            hasHeightForWidth())
        self.label_97.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_97.setFont(font)
        self.label_97.setObjectName('label_97')
        self.label_98 = QtWidgets.QLabel(self.centralwidget)
        self.label_98.setGeometry(QtCore.QRect(520, 784, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_98.sizePolicy().
            hasHeightForWidth())
        self.label_98.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_98.setFont(font)
        self.label_98.setObjectName('label_98')
        self.label_99 = QtWidgets.QLabel(self.centralwidget)
        self.label_99.setGeometry(QtCore.QRect(520, 654, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_99.sizePolicy().
            hasHeightForWidth())
        self.label_99.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_99.setFont(font)
        self.label_99.setObjectName('label_99')
        self.label_100 = QtWidgets.QLabel(self.centralwidget)
        self.label_100.setGeometry(QtCore.QRect(520, 524, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_100.sizePolicy().
            hasHeightForWidth())
        self.label_100.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_100.setFont(font)
        self.label_100.setObjectName('label_100')
        self.label_101 = QtWidgets.QLabel(self.centralwidget)
        self.label_101.setGeometry(QtCore.QRect(525, 393, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_101.sizePolicy().
            hasHeightForWidth())
        self.label_101.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_101.setFont(font)
        self.label_101.setObjectName('label_101')
        self.label_102 = QtWidgets.QLabel(self.centralwidget)
        self.label_102.setGeometry(QtCore.QRect(524, 264, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_102.sizePolicy().
            hasHeightForWidth())
        self.label_102.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_102.setFont(font)
        self.label_102.setObjectName('label_102')
        self.radioButton = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton.setGeometry(QtCore.QRect(570, 141, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton.setFont(font)
        self.radioButton.setText('')
        self.radioButton.setObjectName('radioButton')
        self.radioButton_2 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_2.setGeometry(QtCore.QRect(570, 270, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_2.setFont(font)
        self.radioButton_2.setText('')
        self.radioButton_2.setObjectName('radioButton_2')
        self.radioButton_3 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_3.setGeometry(QtCore.QRect(570, 400, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_3.setFont(font)
        self.radioButton_3.setText('')
        self.radioButton_3.setObjectName('radioButton_3')
        self.radioButton_5 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_5.setGeometry(QtCore.QRect(570, 530, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_5.setFont(font)
        self.radioButton_5.setText('')
        self.radioButton_5.setObjectName('radioButton_5')
        self.radioButton_6 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_6.setGeometry(QtCore.QRect(570, 660, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_6.setFont(font)
        self.radioButton_6.setText('')
        self.radioButton_6.setObjectName('radioButton_6')
        self.radioButton_7 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_7.setGeometry(QtCore.QRect(570, 790, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_7.setFont(font)
        self.radioButton_7.setText('')
        self.radioButton_7.setObjectName('radioButton_7')
        self.radioButton_9 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_9.setGeometry(QtCore.QRect(570, 920, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_9.setFont(font)
        self.radioButton_9.setText('')
        self.radioButton_9.setObjectName('radioButton_9')
        self.layoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_2.setGeometry(QtCore.QRect(504, 20, 221, 71))
        self.layoutWidget_2.setObjectName('layoutWidget_2')
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.layoutWidget_2)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName('verticalLayout_9')
        self.label_Rotating_2 = QtWidgets.QLabel(self.layoutWidget_2)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_Rotating_2.setFont(font)
        self.label_Rotating_2.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_2.setWordWrap(False)
        self.label_Rotating_2.setObjectName('label_Rotating_2')
        self.verticalLayout_9.addWidget(self.label_Rotating_2)
        self.Depthtracker_2 = QtWidgets.QLCDNumber(self.layoutWidget_2)
        self.Depthtracker_2.setObjectName('Depthtracker_2')
        self.verticalLayout_9.addWidget(self.Depthtracker_2)
        self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_3.setGeometry(QtCore.QRect(290, 820, 191, 98))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget_3.setFont(font)
        self.layoutWidget_3.setObjectName('layoutWidget_3')
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.layoutWidget_3)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setObjectName('verticalLayout_10')
        self.label_104 = QtWidgets.QLabel(self.layoutWidget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_104.sizePolicy().
            hasHeightForWidth())
        self.label_104.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_104.setFont(font)
        self.label_104.setObjectName('label_104')
        self.verticalLayout_10.addWidget(self.label_104, 0, QtCore.Qt.
            AlignHCenter)
        self.textBrowser_CurrentFormation = QtWidgets.QTextBrowser(self.
            layoutWidget_3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.textBrowser_CurrentFormation.setFont(font)
        self.textBrowser_CurrentFormation.setObjectName(
            'textBrowser_CurrentFormation')
        self.verticalLayout_10.addWidget(self.textBrowser_CurrentFormation)
        self.label_RockPicture = QtWidgets.QLabel(self.centralwidget)
        self.label_RockPicture.setGeometry(QtCore.QRect(586, 140, 61, 791))
        self.label_RockPicture.setObjectName('label_RockPicture')
        self.label_PipePicture = QtWidgets.QLabel(self.centralwidget)
        self.label_PipePicture.setGeometry(QtCore.QRect(567, 0, 71, 971))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_PipePicture.sizePolicy().
            hasHeightForWidth())
        self.label_PipePicture.setSizePolicy(sizePolicy)
        self.label_PipePicture.setObjectName('label_PipePicture')
        self.line_6 = QtWidgets.QFrame(self.centralwidget)
        self.line_6.setGeometry(QtCore.QRect(567, 149, 20, 781))
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName('line_6')
        self.label_Rotating_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_Rotating_3.setGeometry(QtCore.QRect(513, 11, 211, 81))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_Rotating_3.setFont(font)
        self.label_Rotating_3.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_3.setText('')
        self.label_Rotating_3.setWordWrap(False)
        self.label_Rotating_3.setObjectName('label_Rotating_3')
        self.line_7 = QtWidgets.QFrame(self.centralwidget)
        self.line_7.setGeometry(QtCore.QRect(720, 10, 20, 951))
        self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName('line_7')
        self.line_28 = QtWidgets.QFrame(self.centralwidget)
        self.line_28.setGeometry(QtCore.QRect(490, 8, 20, 951))
        self.line_28.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_28.setObjectName('line_28')
        self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox.setEnabled(True)
        self.checkBox.setGeometry(QtCore.QRect(740, 280, 231, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox.setFont(font)
        self.checkBox.setTristate(False)
        self.checkBox.setObjectName('checkBox')
        self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_2.setGeometry(QtCore.QRect(741, 477, 211, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox_2.setFont(font)
        self.checkBox_2.setObjectName('checkBox_2')
        self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_2.setEnabled(True)
        self.textBrowser_2.setGeometry(QtCore.QRect(740, 500, 531, 451))
        self.textBrowser_2.setObjectName('textBrowser_2')
        self.textBrowser_3 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_3.setGeometry(QtCore.QRect(740, 300, 531, 171))
        self.textBrowser_3.setObjectName('textBrowser_3')
        self.layoutWidget6 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget6.setGeometry(QtCore.QRect(290, 724, 191, 71))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget6.setFont(font)
        self.layoutWidget6.setObjectName('layoutWidget6')
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget6)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName('verticalLayout_5')
        self.label_94 = QtWidgets.QLabel(self.layoutWidget6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_94.sizePolicy().
            hasHeightForWidth())
        self.label_94.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_94.setFont(font)
        self.label_94.setObjectName('label_94')
        self.verticalLayout_5.addWidget(self.label_94, 0, QtCore.Qt.
            AlignHCenter)
        self.Depthtracker = QtWidgets.QLCDNumber(self.layoutWidget6)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.Depthtracker.setFont(font)
        self.Depthtracker.setObjectName('Depthtracker')
        self.verticalLayout_5.addWidget(self.Depthtracker)
        self.layoutWidget7 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget7.setGeometry(QtCore.QRect(50, 140, 435, 71))
        self.layoutWidget7.setObjectName('layoutWidget7')
        self.gridLayout_15 = QtWidgets.QGridLayout(self.layoutWidget7)
        self.gridLayout_15.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_15.setObjectName('gridLayout_15')
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName('horizontalLayout')
        self.pushButton_Start_Drilling = QtWidgets.QPushButton(self.
            layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Start_Drilling.
            sizePolicy().hasHeightForWidth())
        self.pushButton_Start_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Start_Drilling.setFont(font)
        self.pushButton_Start_Drilling.setObjectName(
            'pushButton_Start_Drilling')
        self.horizontalLayout.addWidget(self.pushButton_Start_Drilling)
        self.pushButton_Stop_Drilling = QtWidgets.QPushButton(self.
            layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling.
            sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling.setFont(font)
        self.pushButton_Stop_Drilling.setObjectName('pushButton_Stop_Drilling')
        self.horizontalLayout.addWidget(self.pushButton_Stop_Drilling)
        self.pushButton_Advanced_UI = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Advanced_UI.sizePolicy
            ().hasHeightForWidth())
        self.pushButton_Advanced_UI.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Advanced_UI.setFont(font)
        self.pushButton_Advanced_UI.setObjectName('pushButton_Advanced_UI')
        self.horizontalLayout.addWidget(self.pushButton_Advanced_UI)
        self.gridLayout_15.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName('horizontalLayout_2')
        self.pushButton_Stop_Rotation_2 = QtWidgets.QPushButton(self.
            layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Rotation_2.setFont(font)
        self.pushButton_Stop_Rotation_2.setObjectName(
            'pushButton_Stop_Rotation_2')
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Rotation_2)
        self.pushButton_Stop_Drilling_2 = QtWidgets.QPushButton(self.
            layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling_2.
            sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling_2.setFont(font)
        self.pushButton_Stop_Drilling_2.setObjectName(
            'pushButton_Stop_Drilling_2')
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Drilling_2)
        self.pushButton = QtWidgets.QPushButton(self.layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName('pushButton')
        self.horizontalLayout_2.addWidget(self.pushButton)
        self.gridLayout_15.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.label_93 = QtWidgets.QLabel(self.centralwidget)
        self.label_93.setGeometry(QtCore.QRect(940, 500, 132, 19))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
            QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_93.sizePolicy().
            hasHeightForWidth())
        self.label_93.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_93.setFont(font)
        self.label_93.setObjectName('label_93')
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(760, 520, 481, 431))
        self.widget.setObjectName('widget')
        self.gridLayout_11 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_11.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_11.setObjectName('gridLayout_11')
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName('gridLayout_4')
        self.doubleSpinBox_RPM = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_RPM.setFont(font)
        self.doubleSpinBox_RPM.setDecimals(0)
        self.doubleSpinBox_RPM.setMaximum(1500.0)
        self.doubleSpinBox_RPM.setObjectName('doubleSpinBox_RPM')
        self.gridLayout_4.addWidget(self.doubleSpinBox_RPM, 0, 1, 1, 1)
        self.label_84 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_84.setFont(font)
        self.label_84.setObjectName('label_84')
        self.gridLayout_4.addWidget(self.label_84, 0, 0, 1, 1)
        self.pushButton_StartRotation = QtWidgets.QPushButton(self.widget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush
            )
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
            brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight,
            brush)
        self.pushButton_StartRotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartRotation.setFont(font)
        self.pushButton_StartRotation.setObjectName('pushButton_StartRotation')
        self.gridLayout_4.addWidget(self.pushButton_StartRotation, 3, 0, 1, 2)
        spacerItem1 = QtWidgets.QSpacerItem(20, 12, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_4.addItem(spacerItem1, 2, 0, 1, 2)
        self.gridLayout_11.addLayout(self.gridLayout_4, 0, 0, 2, 1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 18, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem2, 0, 1, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(20, 38, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem3, 0, 2, 1, 1)
        self.pushButton_Stop_Rotation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Rotation.setFont(font)
        self.pushButton_Stop_Rotation.setObjectName('pushButton_Stop_Rotation')
        self.gridLayout_11.addWidget(self.pushButton_Stop_Rotation, 1, 1, 1, 1)
        self.pushButton_Reset_WOB_2 = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_WOB_2.setFont(font)
        self.pushButton_Reset_WOB_2.setObjectName('pushButton_Reset_WOB_2')
        self.gridLayout_11.addWidget(self.pushButton_Reset_WOB_2, 1, 2, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName('verticalLayout_2')
        self.pushButton_StartCirculation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartCirculation.setFont(font)
        self.pushButton_StartCirculation.setObjectName(
            'pushButton_StartCirculation')
        self.verticalLayout_2.addWidget(self.pushButton_StartCirculation)
        self.gridLayout_11.addLayout(self.verticalLayout_2, 2, 0, 1, 1)
        self.pushButton_Stop_Hoisting = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Hoisting.setFont(font)
        self.pushButton_Stop_Hoisting.setObjectName('pushButton_Stop_Hoisting')
        self.gridLayout_11.addWidget(self.pushButton_Stop_Hoisting, 2, 1, 1, 1)
        self.pushButton_Reset_Hook_Load = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Hook_Load.setFont(font)
        self.pushButton_Reset_Hook_Load.setObjectName(
            'pushButton_Reset_Hook_Load')
        self.gridLayout_11.addWidget(self.pushButton_Reset_Hook_Load, 2, 2,
            1, 1)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName('verticalLayout_3')
        self.pushButton_Open_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Open_Brake.setFont(font)
        self.pushButton_Open_Brake.setObjectName('pushButton_Open_Brake')
        self.verticalLayout_3.addWidget(self.pushButton_Open_Brake)
        self.gridLayout_11.addLayout(self.verticalLayout_3, 3, 0, 1, 1)
        self.pushButton_Stop_Pump = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Pump.setFont(font)
        self.pushButton_Stop_Pump.setObjectName('pushButton_Stop_Pump')
        self.gridLayout_11.addWidget(self.pushButton_Stop_Pump, 3, 1, 1, 1)
        self.pushButton_Reset_Stepper_Pos = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Stepper_Pos.setFont(font)
        self.pushButton_Reset_Stepper_Pos.setAcceptDrops(False)
        self.pushButton_Reset_Stepper_Pos.setObjectName(
            'pushButton_Reset_Stepper_Pos')
        self.gridLayout_11.addWidget(self.pushButton_Reset_Stepper_Pos, 3, 
            2, 1, 1)
        self.pushButton_TogglePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_TogglePID.setFont(font)
        self.pushButton_TogglePID.setObjectName('pushButton_TogglePID')
        self.gridLayout_11.addWidget(self.pushButton_TogglePID, 4, 0, 1, 1)
        self.pushButton_Close_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Close_Brake.setFont(font)
        self.pushButton_Close_Brake.setObjectName('pushButton_Close_Brake')
        self.gridLayout_11.addWidget(self.pushButton_Close_Brake, 4, 1, 1, 1)
        self.pushButton_Reset_ROP = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_ROP.setFont(font)
        self.pushButton_Reset_ROP.setObjectName('pushButton_Reset_ROP')
        self.gridLayout_11.addWidget(self.pushButton_Reset_ROP, 4, 2, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem4, 5, 0, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(20, 59, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem5, 5, 1, 3, 1)
        self.pushButton_Telementary = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Telementary.setFont(font)
        self.pushButton_Telementary.setObjectName('pushButton_Telementary')
        self.gridLayout_11.addWidget(self.pushButton_Telementary, 5, 2, 1, 1)
        self.label_81 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_81.setFont(font)
        self.label_81.setObjectName('label_81')
        self.gridLayout_11.addWidget(self.label_81, 6, 0, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(20, 78, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem6, 7, 2, 4, 1)
        self.comboBox_Actuator = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Actuator.setFont(font)
        self.comboBox_Actuator.setObjectName('comboBox_Actuator')
        self.gridLayout_11.addWidget(self.comboBox_Actuator, 8, 0, 1, 1)
        self.label_82 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_82.setFont(font)
        self.label_82.setObjectName('label_82')
        self.gridLayout_11.addWidget(self.label_82, 9, 0, 1, 1)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName('gridLayout_3')
        self.label_86 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_86.setFont(font)
        self.label_86.setObjectName('label_86')
        self.gridLayout_3.addWidget(self.label_86, 4, 1, 1, 1)
        self.pushButton_SavePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_SavePID.setFont(font)
        self.pushButton_SavePID.setObjectName('pushButton_SavePID')
        self.gridLayout_3.addWidget(self.pushButton_SavePID, 8, 1, 1, 2)
        self.label_89 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_89.setFont(font)
        self.label_89.setObjectName('label_89')
        self.gridLayout_3.addWidget(self.label_89, 5, 1, 1, 1)
        self.doubleSpinBox_WOB = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_WOB.setFont(font)
        self.doubleSpinBox_WOB.setDecimals(4)
        self.doubleSpinBox_WOB.setMaximum(30.0)
        self.doubleSpinBox_WOB.setValue(2.0)
        self.doubleSpinBox_WOB.setSingleStep(0.1)
        self.doubleSpinBox_WOB.setObjectName('doubleSpinBox_WOB')
        self.gridLayout_3.addWidget(self.doubleSpinBox_WOB, 4, 2, 1, 1)
        self.doubleSpinBox_Kp = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kp.setFont(font)
        self.doubleSpinBox_Kp.setDecimals(10)
        self.doubleSpinBox_Kp.setMaximum(1000.0)
        self.doubleSpinBox_Kp.setValue(1e-05)
        self.doubleSpinBox_Kp.setSingleStep(1e-06)
        self.doubleSpinBox_Kp.setObjectName('doubleSpinBox_Kp')
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kp, 5, 2, 1, 1)
        self.doubleSpinBox_Ki = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Ki.setFont(font)
        self.doubleSpinBox_Ki.setDecimals(10)
        self.doubleSpinBox_Ki.setMaximum(1000.0)
        self.doubleSpinBox_Ki.setValue(0.0001)
        self.doubleSpinBox_Ki.setSingleStep(1e-06)
        self.doubleSpinBox_Ki.setObjectName('doubleSpinBox_Ki')
        self.gridLayout_3.addWidget(self.doubleSpinBox_Ki, 6, 2, 1, 1)
        self.label_88 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_88.setFont(font)
        self.label_88.setObjectName('label_88')
        self.gridLayout_3.addWidget(self.label_88, 6, 1, 1, 1)
        self.label_87 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_87.setFont(font)
        self.label_87.setObjectName('label_87')
        self.gridLayout_3.addWidget(self.label_87, 7, 1, 1, 1)
        self.doubleSpinBox_Kd = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kd.setFont(font)
        self.doubleSpinBox_Kd.setDecimals(10)
        self.doubleSpinBox_Kd.setMaximum(1000.0)
        self.doubleSpinBox_Kd.setValue(0)
        self.doubleSpinBox_Kd.setSingleStep(1e-06)
        self.doubleSpinBox_Kd.setObjectName('doubleSpinBox_Kd')
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kd, 7, 2, 1, 1)
        self.label_90 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_90.setFont(font)
        self.label_90.setObjectName('label_90')
        self.gridLayout_3.addWidget(self.label_90, 3, 0, 1, 3, QtCore.Qt.
            AlignHCenter)
        self.gridLayout_11.addLayout(self.gridLayout_3, 9, 1, 6, 1)
        self.doubleSpinBox_Distance = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Distance.setFont(font)
        self.doubleSpinBox_Distance.setDecimals(3)
        self.doubleSpinBox_Distance.setMaximum(900.0)
        self.doubleSpinBox_Distance.setObjectName('doubleSpinBox_Distance')
        self.gridLayout_11.addWidget(self.doubleSpinBox_Distance, 10, 0, 1, 1)
        self.label_83 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_83.setFont(font)
        self.label_83.setObjectName('label_83')
        self.gridLayout_11.addWidget(self.label_83, 11, 0, 1, 1)
        self.spinBox_Stepper_Delay = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.spinBox_Stepper_Delay.setFont(font)
        self.spinBox_Stepper_Delay.setDecimals(4)
        self.spinBox_Stepper_Delay.setMinimum(35.0)
        self.spinBox_Stepper_Delay.setMaximum(500.0)
        self.spinBox_Stepper_Delay.setSingleStep(10.0)
        self.spinBox_Stepper_Delay.setProperty('value', 35.0)
        self.spinBox_Stepper_Delay.setObjectName('spinBox_Stepper_Delay')
        self.gridLayout_11.addWidget(self.spinBox_Stepper_Delay, 12, 0, 1, 1)
        self.label_85 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_85.setFont(font)
        self.label_85.setObjectName('label_85')
        self.gridLayout_11.addWidget(self.label_85, 13, 0, 1, 1)
        self.comboBox_Direction = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Direction.setFont(font)
        self.comboBox_Direction.setObjectName('comboBox_Direction')
        self.gridLayout_11.addWidget(self.comboBox_Direction, 14, 0, 1, 1)
        self.pushButton_MoveActuators = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_MoveActuators.setFont(font)
        self.pushButton_MoveActuators.setObjectName('pushButton_MoveActuators')
        self.gridLayout_11.addWidget(self.pushButton_MoveActuators, 15, 0, 1, 1
            )
        self.pushButton_WOB_Ctrl_off = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_Ctrl_off.setFont(font)
        self.pushButton_WOB_Ctrl_off.setObjectName('pushButton_WOB_Ctrl_off')
        self.gridLayout_11.addWidget(self.pushButton_WOB_Ctrl_off, 14, 2, 1, 1)
        self.pushButton_WOB_ctrl_on = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_ctrl_on.setFont(font)
        self.pushButton_WOB_ctrl_on.setObjectName('pushButton_WOB_ctrl_on')
        self.gridLayout_11.addWidget(self.pushButton_WOB_ctrl_on, 13, 2, 1, 1)
        self.label_93.raise_()
        self.layoutWidget.raise_()
        self.label_RockPicture.raise_()
        self.label_PipePicture.raise_()
        self.label_Rotating_3.raise_()
        self.line_6.raise_()
        self.radioButton_5.raise_()
        self.radioButton_3.raise_()
        self.radioButton_9.raise_()
        self.radioButton_7.raise_()
        self.radioButton.raise_()
        self.radioButton_6.raise_()
        self.radioButton_2.raise_()
        self.line_10.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.line_17.raise_()
        self.line_9.raise_()
        self.line_8.raise_()
        self.line_18.raise_()
        self.line_24.raise_()
        self.label_96.raise_()
        self.label_97.raise_()
        self.label_98.raise_()
        self.label_99.raise_()
        self.label_100.raise_()
        self.label_101.raise_()
        self.label_102.raise_()
        self.layoutWidget_2.raise_()
        self.layoutWidget_3.raise_()
        self.line_28.raise_()
        self.line_7.raise_()
        self.checkBox.raise_()
        self.checkBox_2.raise_()
        self.textBrowser_3.raise_()
        self.pushButton_WOB_ctrl_on.raise_()
        self.pushButton_WOB_Ctrl_off.raise_()
        self.textBrowser_2.raise_()
        self.retranslateUi(C)
        self.checkBox.toggled['bool'].connect(self.textBrowser_3.setHidden)
        self.checkBox.setChecked(True)
        self.checkBox_2.toggled['bool'].connect(self.textBrowser_2.setHidden)
        self.checkBox_2.setChecked(True)
        self.pushButton.clicked.connect(C.close)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.
            pushButton_Stop_Rotation.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.
            pushButton_Stop_Hoisting.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.
            pushButton_Stop_Pump.click)
        self.pushButton_Advanced_UI.clicked.connect(self.
            pushButton_Reset_Stepper_Pos.click)
        self.pushButton_Advanced_UI.clicked.connect(self.
            pushButton_Reset_WOB_2.click)
        QtCore.QMetaObject.connectSlotsByName(C)

    def retranslateUi(self, C):
        _translate = QtCore.QCoreApplication.translate
        C.setWindowTitle(_translate('C', 'MainWindow'))
        self.label_4.setText(_translate('C', 'DRILLING CHAIR CONTROLLER'))
        self.label_5.setText(_translate('C', 'Hoisting Port'))
        self.label_6.setText(_translate('C', 'Circulation Port'))
        self.label_7.setText(_translate('C', 'Rotation Port'))
        self.pushButton_OpenPorts.setText(_translate('C', 'Open'))
        self.label.setText(_translate('C',
            '<html><head/><body><p><img src=":C:/Users/TeamUiS/Desktop/Logo-resized.png"/></p></body></html>'
            ))
        self.label_91.setText(_translate('C',
            'University of Stavanger, IRIS, AkerBP'))
        self.label_Velocity.setText(_translate('C', '0'))
        self.label_31.setText(_translate('C', 'Velocity [m/h]'))
        self.label_32.setText(_translate('C', '3m.ROP [mm/s]'))
        self.label_ROP3.setText(_translate('C', '0'))
        self.label_RPM.setText(_translate('C', '0'))
        self.label_8.setText(_translate('C', 'RPM [mm/s]'))
        self.label_41.setText(_translate('C', 'WOB [kg]'))
        self.label_WOB.setText(_translate('C', '0'))
        self.label_10.setText(_translate('C', 'Topdrive Torque [Nm]'))
        self.label_Topdrive_Torque.setText(_translate('C', '0'))
        self.label_TAM_Torque.setText(_translate('C', '0'))
        self.label_13.setText(_translate('C', 'TAM Torque [Nm]'))
        self.label_15.setText(_translate('C', 'Pressure [barA]'))
        self.label_Pressure.setText(_translate('C', '0'))
        self.label_34.setText(_translate('C', 'Flow Rate Q [LPM]'))
        self.label_49.setText(_translate('C', 'Stepcounter [mm]'))
        self.label_StepCounter.setText(_translate('C', '0'))
        self.label_Flow_Rate_Q.setText(_translate('C', '0'))
        self.label_45.setText(_translate('C', 'Height-sensor [cm]'))
        self.label_Height_Sensor.setText(_translate('C', '0'))
        self.label_30.setText(_translate('C', '15s.ROP [mm/s]'))
        self.label_ROP15.setText(_translate('C', '0'))
        self.label_Act1StepCount.setText(_translate('C', '0'))
        self.label_39.setText(_translate('C', 'BitTorque [Nm]'))
        self.label_48.setText(_translate('C', 'Act1.Stepcounter'))
        self.label_Act3StepCount.setText(_translate('C', '0'))
        self.label_LoadCell_Z1.setText(_translate('C', '0'))
        self.label_LoadCell_Z2.setText(_translate('C', '0'))
        self.label_d_exponent.setText(_translate('C', '0'))
        self.label_Act2StepCount.setText(_translate('C', '0'))
        self.label_UCS.setText(_translate('C', '0'))
        self.label_23.setText(_translate('C', 'Load Cell 2 Z2'))
        self.label_27.setText(_translate('C', 'Load Cell 3 Z3'))
        self.label_Bit_Torque.setText(_translate('C', '0'))
        self.label_LoadCell_Z3.setText(_translate('C', '0'))
        self.label_29.setText(_translate('C', 'Hook Load ∑Z'))
        self.label_35.setText(_translate('C', 'MSE [MPa]'))
        self.label_37.setText(_translate('C', 'UCS [MPa]'))
        self.label_43.setText(_translate('C', 'd-exponent'))
        self.label_MSE.setText(_translate('C', '0'))
        self.label_50.setText(_translate('C', 'Act2.Stepcounter'))
        self.label_51.setText(_translate('C', 'Act3.Stepcounter'))
        self.label_19.setText(_translate('C', 'Load cell 1 Z1'))
        self.label_Hookload_SumZ.setText(_translate('C', '0'))
        self.label_Rotating_Bit.setText(_translate('C', 'Rotating Bit'))
        self.label_No_Rotation.setText(_translate('C', 'No Rotation'))
        self.label_80.setText(_translate('C', 'Rotation'))
        self.label_Hoisting_Stopped.setText(_translate('C', 'Stopped'))
        self.label_WOB_Ctrl.setText(_translate('C', 'WOB Control'))
        self.label_Moving.setText(_translate('C', 'Moving'))
        self.label_Brake_Open.setText(_translate('C', 'Brake Open'))
        self.label_Brake_Closed.setText(_translate('C', 'Brake Closed'))
        self.label_Start.setText(_translate('C', 'Start'))
        self.label_55.setText(_translate('C', 'Hoisting'))
        self.label_Calibrating.setText(_translate('C', 'Calibrating'))
        self.label_54.setText(_translate('C', 'Circulation'))
        self.label_Pump_Off.setText(_translate('C', 'Pump Off'))
        self.label_Starting.setText(_translate('C', 'Starting'))
        self.label_Pump_On.setText(_translate('C', 'Pump On'))
        self.label_LEAK.setText(_translate('C', 'LEAK'))
        self.label_Pack_Off.setText(_translate('C', 'Pack Off'))
        self.label_END.setText(_translate('C', 'END'))
        self.label_OFF.setText(_translate('C', 'OFF'))
        self.label_Monitor.setText(_translate('C', 'Monitor'))
        self.label_92.setText(_translate('C', 'Rig Operation Monitor'))
        self.label_95.setText(_translate('C', 'Ongoing Occurence'))
        self.label_New_Formation.setText(_translate('C', 'New Formation'))
        self.label_Leak.setText(_translate('C', 'Leak'))
        self.label_Overpressure.setText(_translate('C', 'Overpressure'))
        self.label_Lateral_Vibration.setText(_translate('C',
            'Lateral Vibration'))
        self.label_Axial_Vibration.setText(_translate('C', 'Axial Vibration'))
        self.label_Stick_Slip.setText(_translate('C', 'Torsional Vibrations'))
        self.label_Critical_Buckling.setText(_translate('C',
            'Critical Buckling'))
        self.label_Over_Torque.setText(_translate('C', 'Over-Torque'))
        self.label_Twist_Off.setText(_translate('C', 'Twist-Off'))
        self.label_96.setText(_translate('C', '0cm'))
        self.label_97.setText(_translate('C', '60cm'))
        self.label_98.setText(_translate('C', '50cm'))
        self.label_99.setText(_translate('C', '40cm'))
        self.label_100.setText(_translate('C', '30cm'))
        self.label_101.setText(_translate('C', '20cm'))
        self.label_102.setText(_translate('C', '10cm'))
        self.label_Rotating_2.setText(_translate('C', 'Duration [min]'))
        self.label_104.setText(_translate('C', 'Current Formation'))
        self.textBrowser_CurrentFormation.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:10pt; font-weight:600; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Sandstone</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">UCS = 110 MPa</span></p></body></html>"""
            ))
        self.label_RockPicture.setText(_translate('C',
            '<html><head/><body><p><img src=":/well/bit.png"/></p></body></html>'
            ))
        self.label_PipePicture.setText(_translate('C',
            '<html><head/><body><p><img src=":/bit/truebit.png"/></p></body></html>'
            ))
        self.checkBox.setText(_translate('C', 'Toggle Rig Operation Monitor'))
        self.checkBox_2.setText(_translate('C', 'Toggle Manual Controls'))
        self.textBrowser_2.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Autonomous Drillling State! Check box to access Manual Controls.</span></p></body></html>"""
            ))
        self.textBrowser_3.setHtml(_translate('C',
            """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Autonomous Drillling State! Check box to access the Rig Operation Monitor.</span></p></body></html>"""
            ))
        self.label_94.setText(_translate('C', 'TVD [cm]'))
        self.pushButton_Start_Drilling.setText(_translate('C',
            'START Autonomous'))
        self.pushButton_Stop_Drilling.setText(_translate('C', 'EMERGENCY STOP')
            )
        self.pushButton_Advanced_UI.setText(_translate('C', 'OPEN Adv. GUI'))
        self.pushButton_Stop_Rotation_2.setText(_translate('C',
            'Generate PDF report'))
        self.pushButton_Stop_Drilling_2.setText(_translate('C',
            'STOP ALL SYSTEMS'))
        self.pushButton.setText(_translate('C', 'CLOSE GUI'))
        self.label_93.setText(_translate('C', 'Manual Controls'))
        self.label_84.setText(_translate('C', 'RPM Input'))
        self.pushButton_StartRotation.setText(_translate('C', 'Start Rotation')
            )
        self.pushButton_Stop_Rotation.setText(_translate('C', 'Stop Rotation'))
        self.pushButton_Reset_WOB_2.setText(_translate('C', 'Reset WOB'))
        self.pushButton_StartCirculation.setText(_translate('C',
            'Start Circulation'))
        self.pushButton_Stop_Hoisting.setText(_translate('C', 'Stop Hoisting'))
        self.pushButton_Reset_Hook_Load.setText(_translate('C',
            'Reset Hook Load'))
        self.pushButton_Open_Brake.setText(_translate('C', 'Open Brakes'))
        self.pushButton_Stop_Pump.setText(_translate('C', 'Stop Pumps'))
        self.pushButton_Reset_Stepper_Pos.setText(_translate('C', 'Reset TVD'))
        self.pushButton_TogglePID.setText(_translate('C', 'Toggle PID'))
        self.pushButton_Close_Brake.setText(_translate('C', 'Close Brakes'))
        self.pushButton_Reset_ROP.setText(_translate('C', 'Reset ROP'))
        self.pushButton_Telementary.setText(_translate('C', 'Telemetry on/off')
            )
        self.label_81.setText(_translate('C', 'Acuator'))
        self.label_82.setText(_translate('C', 'Set Distance (mm)'))
        self.label_86.setText(_translate('C', 'WOB'))
        self.pushButton_SavePID.setText(_translate('C', 'Save Parameters'))
        self.label_89.setText(_translate('C', 'Kp'))
        self.label_88.setText(_translate('C', 'Ki'))
        self.label_87.setText(_translate('C', 'Kd'))
        self.label_90.setText(_translate('C', 'Submit parameters'))
        self.label_83.setText(_translate('C', 'Stepper delay'))
        self.label_85.setText(_translate('C', 'Direction'))
        self.pushButton_MoveActuators.setText(_translate('C',
            'Execute Manual Move'))
        self.pushButton_WOB_Ctrl_off.setText(_translate('C', 'WOB Control off')
            )
        self.pushButton_WOB_ctrl_on.setText(_translate('C', 'WOB Control on'))

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

# Form implementation generated from reading ui file 'Drillbotics2018.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_C(object):
    def setupUi(self, C):
        C.setObjectName("C")
        C.setEnabled(True)
        C.resize(1322, 979)
        font = QtGui.QFont()
        font.setFamily("Verdana")
        C.setFont(font)
        C.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        C.setAutoFillBackground(False)
        C.setStyleSheet("background-color: rgb(255, 255, 255)")
        #C.setDocumentMode(False)
        #C.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.centralwidget = QtWidgets.QWidget(C)
        self.centralwidget.setEnabled(True)
        self.centralwidget.setBaseSize(QtCore.QSize(1280, 1024))
        self.centralwidget.setObjectName("centralwidget")
        self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(50, 20, 441, 103))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget.setFont(font)
        self.layoutWidget.setObjectName("layoutWidget")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.layoutWidget)
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.label_4 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.gridLayout_9.addWidget(self.label_4, 0, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_5 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 2, 1, 1)
        self.comboBox_Circulation = QtWidgets.QComboBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Circulation.setFont(font)
        self.comboBox_Circulation.setObjectName("comboBox_Circulation")
        self.gridLayout_2.addWidget(self.comboBox_Circulation, 1, 1, 1, 1)
        self.comboBox_Hoisting = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Hoisting.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Hoisting.setFont(font)
        self.comboBox_Hoisting.setObjectName("comboBox_Hoisting")
        self.gridLayout_2.addWidget(self.comboBox_Hoisting, 1, 0, 1, 1)
        self.comboBox_Rotation = QtWidgets.QComboBox(self.layoutWidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.comboBox_Rotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Rotation.setFont(font)
        self.comboBox_Rotation.setObjectName("comboBox_Rotation")
        self.gridLayout_2.addWidget(self.comboBox_Rotation, 1, 2, 1, 1)
        self.pushButton_OpenPorts = QtWidgets.QPushButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_OpenPorts.setFont(font)
        self.pushButton_OpenPorts.setObjectName("pushButton_OpenPorts")
        self.gridLayout_2.addWidget(self.pushButton_OpenPorts, 1, 3, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.layoutWidget1 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(750, 10, 511, 273))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.layoutWidget1)
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label = QtWidgets.QLabel(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridLayout_6.addWidget(self.label, 1, 0, 1, 1)
        self.line_21 = QtWidgets.QFrame(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_21.sizePolicy().hasHeightForWidth())
        self.line_21.setSizePolicy(sizePolicy)
        self.line_21.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_21.setObjectName("line_21")
        self.gridLayout_6.addWidget(self.line_21, 4, 0, 1, 1)
        self.label_91 = QtWidgets.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setItalic(True)
        font.setUnderline(True)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_91.setFont(font)
        self.label_91.setObjectName("label_91")
        self.gridLayout_6.addWidget(self.label_91, 3, 0, 1, 1)
        self.layoutWidget2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget2.setGeometry(QtCore.QRect(50, 380, 221, 541))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget2.setFont(font)
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.layoutWidget2)
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.line_20 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_20.setFont(font)
        self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_20.setObjectName("line_20")
        self.gridLayout_5.addWidget(self.line_20, 5, 0, 1, 3)
        self.line_13 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_13.setFont(font)
        self.line_13.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_13.setObjectName("line_13")
        self.gridLayout_5.addWidget(self.line_13, 3, 0, 1, 3)
        self.label_Velocity = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Velocity.setFont(font)
        self.label_Velocity.setObjectName("label_Velocity")
        self.gridLayout_5.addWidget(self.label_Velocity, 4, 2, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_31.setFont(font)
        self.label_31.setObjectName("label_31")
        self.gridLayout_5.addWidget(self.label_31, 4, 0, 1, 1)
        self.label_32 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_32.setFont(font)
        self.label_32.setObjectName("label_32")
        self.gridLayout_5.addWidget(self.label_32, 2, 0, 1, 1)
        self.label_ROP3 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP3.setFont(font)
        self.label_ROP3.setObjectName("label_ROP3")
        self.gridLayout_5.addWidget(self.label_ROP3, 2, 2, 1, 1)
        self.label_RPM = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_RPM.setFont(font)
        self.label_RPM.setObjectName("label_RPM")
        self.gridLayout_5.addWidget(self.label_RPM, 6, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName("label_8")
        self.gridLayout_5.addWidget(self.label_8, 6, 0, 1, 1)
        self.line_16 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_16.setFont(font)
        self.line_16.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_16.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_16.setObjectName("line_16")
        self.gridLayout_5.addWidget(self.line_16, 7, 0, 1, 3)
        self.label_41 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_41.setFont(font)
        self.label_41.setObjectName("label_41")
        self.gridLayout_5.addWidget(self.label_41, 8, 0, 1, 1)
        self.label_WOB = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_WOB.setFont(font)
        self.label_WOB.setObjectName("label_WOB")
        self.gridLayout_5.addWidget(self.label_WOB, 8, 2, 1, 1)
        self.line_3 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_3.setFont(font)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout_5.addWidget(self.line_3, 11, 0, 1, 3)
        self.label_10 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setObjectName("label_10")
        self.gridLayout_5.addWidget(self.label_10, 10, 0, 1, 1)
        self.line_4 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_4.setFont(font)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridLayout_5.addWidget(self.line_4, 9, 0, 1, 3)
        self.label_Topdrive_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Topdrive_Torque.setFont(font)
        self.label_Topdrive_Torque.setObjectName("label_Topdrive_Torque")
        self.gridLayout_5.addWidget(self.label_Topdrive_Torque, 10, 2, 1, 1)
        self.label_TAM_Torque = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_TAM_Torque.setFont(font)
        self.label_TAM_Torque.setObjectName("label_TAM_Torque")
        self.gridLayout_5.addWidget(self.label_TAM_Torque, 12, 2, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_13.setFont(font)
        self.label_13.setObjectName("label_13")
        self.gridLayout_5.addWidget(self.label_13, 12, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_2.setFont(font)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_5.addWidget(self.line_2, 13, 0, 1, 3)
        self.label_15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_15.setFont(font)
        self.label_15.setObjectName("label_15")
        self.gridLayout_5.addWidget(self.label_15, 14, 0, 1, 1)
        self.label_Pressure = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Pressure.setFont(font)
        self.label_Pressure.setObjectName("label_Pressure")
        self.gridLayout_5.addWidget(self.label_Pressure, 14, 2, 1, 1)
        self.label_34 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_34.setFont(font)
        self.label_34.setObjectName("label_34")
        self.gridLayout_5.addWidget(self.label_34, 16, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line.setFont(font)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_5.addWidget(self.line, 15, 0, 1, 3)
        self.line_19 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_19.setFont(font)
        self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_19.setObjectName("line_19")
        self.gridLayout_5.addWidget(self.line_19, 19, 0, 1, 3)
        self.label_49 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_49.setFont(font)
        self.label_49.setObjectName("label_49")
        self.gridLayout_5.addWidget(self.label_49, 20, 0, 1, 1)
        self.label_StepCounter = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_StepCounter.setFont(font)
        self.label_StepCounter.setObjectName("label_StepCounter")
        self.gridLayout_5.addWidget(self.label_StepCounter, 20, 2, 1, 1)
        self.line_5 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_5.setFont(font)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.gridLayout_5.addWidget(self.line_5, 21, 0, 1, 3)
        self.label_Flow_Rate_Q = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Flow_Rate_Q.setFont(font)
        self.label_Flow_Rate_Q.setObjectName("label_Flow_Rate_Q")
        self.gridLayout_5.addWidget(self.label_Flow_Rate_Q, 16, 2, 1, 1)
        self.label_45 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_45.setFont(font)
        self.label_45.setObjectName("label_45")
        self.gridLayout_5.addWidget(self.label_45, 18, 0, 1, 1)
        self.line_14 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_14.setFont(font)
        self.line_14.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_14.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_14.setObjectName("line_14")
        self.gridLayout_5.addWidget(self.line_14, 17, 0, 1, 3)
        self.label_Height_Sensor = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Height_Sensor.setFont(font)
        self.label_Height_Sensor.setObjectName("label_Height_Sensor")
        self.gridLayout_5.addWidget(self.label_Height_Sensor, 18, 2, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_30.setFont(font)
        self.label_30.setObjectName("label_30")
        self.gridLayout_5.addWidget(self.label_30, 0, 0, 1, 1)
        self.label_ROP15 = QtWidgets.QLabel(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_ROP15.setFont(font)
        self.label_ROP15.setObjectName("label_ROP15")
        self.gridLayout_5.addWidget(self.label_ROP15, 0, 2, 1, 1)
        self.line_12 = QtWidgets.QFrame(self.layoutWidget2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_12.setFont(font)
        self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_12.setObjectName("line_12")
        self.gridLayout_5.addWidget(self.line_12, 1, 0, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(24, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem, 0, 1, 1, 1)
        self.layoutWidget3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget3.setGeometry(QtCore.QRect(290, 380, 191, 320))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget3.setFont(font)
        self.layoutWidget3.setObjectName("layoutWidget3")
        self.gridLayout_13 = QtWidgets.QGridLayout(self.layoutWidget3)
        self.gridLayout_13.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_13.setObjectName("gridLayout_13")
        self.line_22 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_22.setFont(font)
        self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_22.setObjectName("line_22")
        self.gridLayout_13.addWidget(self.line_22, 1, 0, 1, 3)
        self.line_26 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_26.setFont(font)
        self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_26.setObjectName("line_26")
        self.gridLayout_13.addWidget(self.line_26, 7, 0, 1, 3)
        self.label_Act1StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act1StepCount.setFont(font)
        self.label_Act1StepCount.setObjectName("label_Act1StepCount")
        self.gridLayout_13.addWidget(self.label_Act1StepCount, 8, 2, 1, 1)
        self.label_39 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_39.setFont(font)
        self.label_39.setObjectName("label_39")
        self.gridLayout_13.addWidget(self.label_39, 6, 0, 1, 1)
        self.label_48 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_48.setFont(font)
        self.label_48.setObjectName("label_48")
        self.gridLayout_13.addWidget(self.label_48, 8, 0, 1, 1)
        self.label_Act3StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act3StepCount.setFont(font)
        self.label_Act3StepCount.setObjectName("label_Act3StepCount")
        self.gridLayout_13.addWidget(self.label_Act3StepCount, 10, 2, 1, 1)
        self.label_LoadCell_Z1 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z1.setFont(font)
        self.label_LoadCell_Z1.setObjectName("label_LoadCell_Z1")
        self.gridLayout_13.addWidget(self.label_LoadCell_Z1, 12, 2, 1, 1)
        self.label_LoadCell_Z2 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z2.setFont(font)
        self.label_LoadCell_Z2.setObjectName("label_LoadCell_Z2")
        self.gridLayout_13.addWidget(self.label_LoadCell_Z2, 13, 2, 1, 1)
        self.line_15 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_15.setFont(font)
        self.line_15.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_15.setObjectName("line_15")
        self.gridLayout_13.addWidget(self.line_15, 3, 0, 1, 3)
        self.label_d_exponent = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_d_exponent.setFont(font)
        self.label_d_exponent.setObjectName("label_d_exponent")
        self.gridLayout_13.addWidget(self.label_d_exponent, 4, 2, 1, 1)
        self.label_Act2StepCount = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Act2StepCount.setFont(font)
        self.label_Act2StepCount.setObjectName("label_Act2StepCount")
        self.gridLayout_13.addWidget(self.label_Act2StepCount, 9, 2, 1, 1)
        self.label_UCS = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_UCS.setFont(font)
        self.label_UCS.setObjectName("label_UCS")
        self.gridLayout_13.addWidget(self.label_UCS, 2, 2, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_23.setFont(font)
        self.label_23.setObjectName("label_23")
        self.gridLayout_13.addWidget(self.label_23, 13, 0, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_27.setFont(font)
        self.label_27.setObjectName("label_27")
        self.gridLayout_13.addWidget(self.label_27, 14, 0, 1, 1)
        self.label_Bit_Torque = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Bit_Torque.setFont(font)
        self.label_Bit_Torque.setObjectName("label_Bit_Torque")
        self.gridLayout_13.addWidget(self.label_Bit_Torque, 6, 2, 1, 1)
        self.label_LoadCell_Z3 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_LoadCell_Z3.setFont(font)
        self.label_LoadCell_Z3.setObjectName("label_LoadCell_Z3")
        self.gridLayout_13.addWidget(self.label_LoadCell_Z3, 14, 2, 1, 1)
        self.label_29 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_29.setFont(font)
        self.label_29.setObjectName("label_29")
        self.gridLayout_13.addWidget(self.label_29, 15, 0, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_35.setFont(font)
        self.label_35.setObjectName("label_35")
        self.gridLayout_13.addWidget(self.label_35, 0, 0, 1, 1)
        self.label_37 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_37.setFont(font)
        self.label_37.setObjectName("label_37")
        self.gridLayout_13.addWidget(self.label_37, 2, 0, 1, 1)
        self.label_43 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_43.setFont(font)
        self.label_43.setObjectName("label_43")
        self.gridLayout_13.addWidget(self.label_43, 4, 0, 1, 1)
        self.label_MSE = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_MSE.setFont(font)
        self.label_MSE.setObjectName("label_MSE")
        self.gridLayout_13.addWidget(self.label_MSE, 0, 2, 1, 1)
        self.label_50 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_50.setFont(font)
        self.label_50.setObjectName("label_50")
        self.gridLayout_13.addWidget(self.label_50, 9, 0, 1, 1)
        self.label_51 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_51.setFont(font)
        self.label_51.setObjectName("label_51")
        self.gridLayout_13.addWidget(self.label_51, 10, 0, 1, 1)
        self.line_27 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_27.setFont(font)
        self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_27.setObjectName("line_27")
        self.gridLayout_13.addWidget(self.line_27, 5, 0, 1, 3)
        self.line_25 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_25.setFont(font)
        self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_25.setObjectName("line_25")
        self.gridLayout_13.addWidget(self.line_25, 11, 0, 1, 3)
        self.label_19 = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_19.setFont(font)
        self.label_19.setObjectName("label_19")
        self.gridLayout_13.addWidget(self.label_19, 12, 0, 1, 1)
        self.line_11 = QtWidgets.QFrame(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.line_11.setFont(font)
        self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_11.setObjectName("line_11")
        self.gridLayout_13.addWidget(self.line_11, 16, 0, 1, 3)
        self.label_Hookload_SumZ = QtWidgets.QLabel(self.layoutWidget3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setUnderline(False)
        self.label_Hookload_SumZ.setFont(font)
        self.label_Hookload_SumZ.setObjectName("label_Hookload_SumZ")
        self.gridLayout_13.addWidget(self.label_Hookload_SumZ, 15, 2, 1, 1)
        self.line_10 = QtWidgets.QFrame(self.centralwidget)
        self.line_10.setGeometry(QtCore.QRect(30, 950, 1241, 16))
        self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_10.setObjectName("line_10")
        self.line_17 = QtWidgets.QFrame(self.centralwidget)
        self.line_17.setGeometry(QtCore.QRect(20, 0, 1241, 16))
        self.line_17.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_17.setObjectName("line_17")
        self.line_18 = QtWidgets.QFrame(self.centralwidget)
        self.line_18.setGeometry(QtCore.QRect(737, 460, 531, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_18.sizePolicy().hasHeightForWidth())
        self.line_18.setSizePolicy(sizePolicy)
        self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_18.setObjectName("line_18")
        self.line_9 = QtWidgets.QFrame(self.centralwidget)
        self.line_9.setGeometry(QtCore.QRect(1262, 8, 20, 951))
        self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_9.setObjectName("line_9")
        self.line_8 = QtWidgets.QFrame(self.centralwidget)
        self.line_8.setGeometry(QtCore.QRect(20, 8, 20, 951))
        self.line_8.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName("line_8")
        self.layoutWidget4 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget4.setGeometry(QtCore.QRect(740, 300, 521, 162))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.layoutWidget4.setFont(font)
        self.layoutWidget4.setObjectName("layoutWidget4")
        self.gridLayout_10 = QtWidgets.QGridLayout(self.layoutWidget4)
        self.gridLayout_10.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.gridLayout_10.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.gridLayout_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.label_Rotating_Bit = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Rotating_Bit.setFont(font)
        self.label_Rotating_Bit.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_Bit.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_Bit.setWordWrap(False)
        self.label_Rotating_Bit.setOpenExternalLinks(False)
        self.label_Rotating_Bit.setObjectName("label_Rotating_Bit")
        self.gridLayout_7.addWidget(self.label_Rotating_Bit, 1, 0, 1, 2)
        self.label_No_Rotation = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_No_Rotation.setFont(font)
        self.label_No_Rotation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_No_Rotation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_No_Rotation.setWordWrap(False)
        self.label_No_Rotation.setObjectName("label_No_Rotation")
        self.gridLayout_7.addWidget(self.label_No_Rotation, 2, 0, 1, 2)
        self.label_80 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_80.sizePolicy().hasHeightForWidth())
        self.label_80.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_80.setFont(font)
        self.label_80.setObjectName("label_80")
        self.gridLayout_7.addWidget(self.label_80, 0, 0, 1, 2)
        self.gridLayout_10.addLayout(self.gridLayout_7, 1, 0, 1, 1)
        self.gridLayout_8 = QtWidgets.QGridLayout()
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.label_Hoisting_Stopped = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Hoisting_Stopped.setFont(font)
        self.label_Hoisting_Stopped.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Hoisting_Stopped.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Hoisting_Stopped.setWordWrap(False)
        self.label_Hoisting_Stopped.setObjectName("label_Hoisting_Stopped")
        self.gridLayout_8.addWidget(self.label_Hoisting_Stopped, 1, 0, 1, 1)
        self.label_WOB_Ctrl = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_WOB_Ctrl.setFont(font)
        self.label_WOB_Ctrl.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_WOB_Ctrl.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_WOB_Ctrl.setWordWrap(False)
        self.label_WOB_Ctrl.setObjectName("label_WOB_Ctrl")
        self.gridLayout_8.addWidget(self.label_WOB_Ctrl, 1, 1, 1, 1)
        self.label_Moving = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Moving.setFont(font)
        self.label_Moving.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Moving.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Moving.setWordWrap(False)
        self.label_Moving.setObjectName("label_Moving")
        self.gridLayout_8.addWidget(self.label_Moving, 2, 0, 1, 1)
        self.label_Brake_Open = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Open.setFont(font)
        self.label_Brake_Open.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Open.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Open.setWordWrap(False)
        self.label_Brake_Open.setObjectName("label_Brake_Open")
        self.gridLayout_8.addWidget(self.label_Brake_Open, 3, 0, 1, 1)
        self.label_Brake_Closed = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Brake_Closed.setFont(font)
        self.label_Brake_Closed.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Brake_Closed.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Brake_Closed.setWordWrap(False)
        self.label_Brake_Closed.setObjectName("label_Brake_Closed")
        self.label_Brake_Closed.setStyleSheet("background-color: yellow")
        self.gridLayout_8.addWidget(self.label_Brake_Closed, 3, 1, 1, 1)
        self.label_Start = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Start.setFont(font)
        self.label_Start.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Start.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Start.setWordWrap(False)
        self.label_Start.setObjectName("label_Start")
        self.gridLayout_8.addWidget(self.label_Start, 4, 0, 1, 2)
        self.label_55 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_55.sizePolicy().hasHeightForWidth())
        self.label_55.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_55.setFont(font)
        self.label_55.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_55.setObjectName("label_55")
        self.gridLayout_8.addWidget(self.label_55, 0, 0, 1, 2)
        self.label_Calibrating = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Calibrating.setFont(font)
        self.label_Calibrating.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Calibrating.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Calibrating.setWordWrap(False)
        self.label_Calibrating.setObjectName("label_Calibrating")
        self.gridLayout_8.addWidget(self.label_Calibrating, 2, 1, 1, 1)
        self.gridLayout_10.addLayout(self.gridLayout_8, 1, 1, 1, 1)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.label_54 = QtWidgets.QLabel(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_54.sizePolicy().hasHeightForWidth())
        self.label_54.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_54.setFont(font)
        self.label_54.setObjectName("label_54")
        self.verticalLayout_6.addWidget(self.label_54)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_Pump_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_Off.setFont(font)
        self.label_Pump_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_Off.setWordWrap(False)
        self.label_Pump_Off.setObjectName("label_Pump_Off")
        self.gridLayout.addWidget(self.label_Pump_Off, 0, 1, 1, 1)
        self.label_Starting = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Starting.setFont(font)
        self.label_Starting.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Starting.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Starting.setWordWrap(False)
        self.label_Starting.setObjectName("label_Starting")
        self.gridLayout.addWidget(self.label_Starting, 1, 0, 1, 1)
        self.label_Pump_On = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pump_On.setFont(font)
        self.label_Pump_On.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pump_On.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pump_On.setWordWrap(False)
        self.label_Pump_On.setObjectName("label_Pump_On")
        self.gridLayout.addWidget(self.label_Pump_On, 0, 0, 1, 1)
        self.label_LEAK = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_LEAK.setFont(font)
        self.label_LEAK.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_LEAK.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_LEAK.setWordWrap(False)
        self.label_LEAK.setObjectName("label_LEAK")
        self.gridLayout.addWidget(self.label_LEAK, 2, 0, 1, 1)
        self.label_Pack_Off = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Pack_Off.setFont(font)
        self.label_Pack_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Pack_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Pack_Off.setWordWrap(False)
        self.label_Pack_Off.setObjectName("label_Pack_Off")
        self.gridLayout.addWidget(self.label_Pack_Off, 3, 1, 1, 1)
        self.label_END = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_END.setFont(font)
        self.label_END.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_END.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_END.setWordWrap(False)
        self.label_END.setObjectName("label_END")
        self.gridLayout.addWidget(self.label_END, 3, 0, 1, 1)
        self.label_OFF = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_OFF.setFont(font)
        self.label_OFF.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_OFF.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_OFF.setWordWrap(False)
        self.label_OFF.setObjectName("label_OFF")
        self.gridLayout.addWidget(self.label_OFF, 1, 1, 1, 1)
        self.label_Monitor = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_Monitor.setFont(font)
        self.label_Monitor.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Monitor.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Monitor.setWordWrap(False)
        self.label_Monitor.setObjectName("label_Monitor")
        self.gridLayout.addWidget(self.label_Monitor, 2, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout)
        self.gridLayout_10.addLayout(self.verticalLayout_6, 1, 2, 1, 1)
        self.label_92 = QtWidgets.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_92.setFont(font)
        self.label_92.setObjectName("label_92")
        self.gridLayout_10.addWidget(self.label_92, 0, 0, 1, 3, QtCore.Qt.AlignHCenter)
        self.layoutWidget5 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget5.setGeometry(QtCore.QRect(50, 220, 431, 121))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.layoutWidget5.setFont(font)
        self.layoutWidget5.setObjectName("layoutWidget5")
        self.gridLayout_12 = QtWidgets.QGridLayout(self.layoutWidget5)
        self.gridLayout_12.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.label_95 = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_95.setFont(font)
        self.label_95.setObjectName("label_95")
        self.gridLayout_12.addWidget(self.label_95, 0, 0, 1, 3, QtCore.Qt.AlignHCenter)
        self.label_New_Formation = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_New_Formation.setFont(font)
        self.label_New_Formation.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_New_Formation.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_New_Formation.setWordWrap(False)
        self.label_New_Formation.setObjectName("label_New_Formation")
        self.gridLayout_12.addWidget(self.label_New_Formation, 3, 2, 1, 1)
        self.label_Leak = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Leak.setFont(font)
        self.label_Leak.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Leak.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Leak.setWordWrap(False)
        self.label_Leak.setObjectName("label_Leak")
        self.gridLayout_12.addWidget(self.label_Leak, 3, 0, 1, 1)
        self.label_Overpressure = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Overpressure.setFont(font)
        self.label_Overpressure.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Overpressure.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Overpressure.setWordWrap(False)
        self.label_Overpressure.setObjectName("label_Overpressure")
        self.gridLayout_12.addWidget(self.label_Overpressure, 3, 1, 1, 1)
        self.label_Lateral_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Lateral_Vibration.setFont(font)
        self.label_Lateral_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Lateral_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Lateral_Vibration.setWordWrap(False)
        self.label_Lateral_Vibration.setObjectName("label_Lateral_Vibration")
        self.gridLayout_12.addWidget(self.label_Lateral_Vibration, 1, 1, 1, 1)
        self.label_Axial_Vibration = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Axial_Vibration.setFont(font)
        self.label_Axial_Vibration.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Axial_Vibration.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Axial_Vibration.setWordWrap(False)
        self.label_Axial_Vibration.setObjectName("label_Axial_Vibration")
        self.gridLayout_12.addWidget(self.label_Axial_Vibration, 1, 0, 1, 1)
        self.label_Stick_Slip = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Stick_Slip.setFont(font)
        self.label_Stick_Slip.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Stick_Slip.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Stick_Slip.setWordWrap(False)
        self.label_Stick_Slip.setObjectName("label_Stick_Slip")
        self.gridLayout_12.addWidget(self.label_Stick_Slip, 1, 2, 1, 1)
        self.label_Critical_Buckling = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Critical_Buckling.setFont(font)
        self.label_Critical_Buckling.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Critical_Buckling.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Critical_Buckling.setWordWrap(False)
        self.label_Critical_Buckling.setObjectName("label_Critical_Buckling")
        self.gridLayout_12.addWidget(self.label_Critical_Buckling, 2, 0, 1, 1)
        self.label_Over_Torque = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Over_Torque.setFont(font)
        self.label_Over_Torque.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Over_Torque.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Over_Torque.setWordWrap(False)
        self.label_Over_Torque.setObjectName("label_Over_Torque")
        self.gridLayout_12.addWidget(self.label_Over_Torque, 2, 1, 1, 1)
        self.label_Twist_Off = QtWidgets.QLabel(self.layoutWidget5)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_Twist_Off.setFont(font)
        self.label_Twist_Off.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Twist_Off.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Twist_Off.setWordWrap(False)
        self.label_Twist_Off.setObjectName("label_Twist_Off")
        self.gridLayout_12.addWidget(self.label_Twist_Off, 2, 2, 1, 1)
        self.line_24 = QtWidgets.QFrame(self.centralwidget)
        self.line_24.setGeometry(QtCore.QRect(31, 350, 471, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_24.sizePolicy().hasHeightForWidth())
        self.line_24.setSizePolicy(sizePolicy)
        self.line_24.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_24.setObjectName("line_24")
        self.label_96 = QtWidgets.QLabel(self.centralwidget)
        self.label_96.setGeometry(QtCore.QRect(528, 134, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_96.sizePolicy().hasHeightForWidth())
        self.label_96.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_96.setFont(font)
        self.label_96.setObjectName("label_96")
        self.label_97 = QtWidgets.QLabel(self.centralwidget)
        self.label_97.setGeometry(QtCore.QRect(522, 914, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_97.sizePolicy().hasHeightForWidth())
        self.label_97.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_97.setFont(font)
        self.label_97.setObjectName("label_97")
        self.label_98 = QtWidgets.QLabel(self.centralwidget)
        self.label_98.setGeometry(QtCore.QRect(520, 784, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_98.sizePolicy().hasHeightForWidth())
        self.label_98.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_98.setFont(font)
        self.label_98.setObjectName("label_98")
        self.label_99 = QtWidgets.QLabel(self.centralwidget)
        self.label_99.setGeometry(QtCore.QRect(520, 654, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_99.sizePolicy().hasHeightForWidth())
        self.label_99.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_99.setFont(font)
        self.label_99.setObjectName("label_99")
        self.label_100 = QtWidgets.QLabel(self.centralwidget)
        self.label_100.setGeometry(QtCore.QRect(520, 524, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_100.sizePolicy().hasHeightForWidth())
        self.label_100.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_100.setFont(font)
        self.label_100.setObjectName("label_100")
        self.label_101 = QtWidgets.QLabel(self.centralwidget)
        self.label_101.setGeometry(QtCore.QRect(525, 393, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_101.sizePolicy().hasHeightForWidth())
        self.label_101.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_101.setFont(font)
        self.label_101.setObjectName("label_101")
        self.label_102 = QtWidgets.QLabel(self.centralwidget)
        self.label_102.setGeometry(QtCore.QRect(524, 264, 41, 23))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_102.sizePolicy().hasHeightForWidth())
        self.label_102.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label_102.setFont(font)
        self.label_102.setObjectName("label_102")
        self.radioButton = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton.setGeometry(QtCore.QRect(570, 141, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton.setFont(font)
        self.radioButton.setText("")
        self.radioButton.setObjectName("radioButton")
        self.radioButton_2 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_2.setGeometry(QtCore.QRect(570, 270, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_2.setFont(font)
        self.radioButton_2.setText("")
        self.radioButton_2.setObjectName("radioButton_2")
        self.radioButton_3 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_3.setGeometry(QtCore.QRect(570, 400, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_3.setFont(font)
        self.radioButton_3.setText("")
        self.radioButton_3.setObjectName("radioButton_3")
        self.radioButton_5 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_5.setGeometry(QtCore.QRect(570, 530, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_5.setFont(font)
        self.radioButton_5.setText("")
        self.radioButton_5.setObjectName("radioButton_5")
        self.radioButton_6 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_6.setGeometry(QtCore.QRect(570, 660, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_6.setFont(font)
        self.radioButton_6.setText("")
        self.radioButton_6.setObjectName("radioButton_6")
        self.radioButton_7 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_7.setGeometry(QtCore.QRect(570, 790, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_7.setFont(font)
        self.radioButton_7.setText("")
        self.radioButton_7.setObjectName("radioButton_7")
        self.radioButton_9 = QtWidgets.QRadioButton(self.centralwidget)
        self.radioButton_9.setGeometry(QtCore.QRect(570, 920, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(6)
        self.radioButton_9.setFont(font)
        self.radioButton_9.setText("")
        self.radioButton_9.setObjectName("radioButton_9")
        self.layoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_2.setGeometry(QtCore.QRect(504, 20, 221, 71))
        self.layoutWidget_2.setObjectName("layoutWidget_2")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.layoutWidget_2)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.label_Rotating_2 = QtWidgets.QLabel(self.layoutWidget_2)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_Rotating_2.setFont(font)
        self.label_Rotating_2.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_2.setWordWrap(False)
        self.label_Rotating_2.setObjectName("label_Rotating_2")
        self.verticalLayout_9.addWidget(self.label_Rotating_2)
        self.Depthtracker_2 = QtWidgets.QLCDNumber(self.layoutWidget_2)
        self.Depthtracker_2.setObjectName("Depthtracker_2")
        self.verticalLayout_9.addWidget(self.Depthtracker_2)
        self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget_3.setGeometry(QtCore.QRect(290, 820, 191, 98))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget_3.setFont(font)
        self.layoutWidget_3.setObjectName("layoutWidget_3")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.layoutWidget_3)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.label_104 = QtWidgets.QLabel(self.layoutWidget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_104.sizePolicy().hasHeightForWidth())
        self.label_104.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_104.setFont(font)
        self.label_104.setObjectName("label_104")
        self.verticalLayout_10.addWidget(self.label_104, 0, QtCore.Qt.AlignHCenter)
        self.textBrowser_CurrentFormation = QtWidgets.QTextBrowser(self.layoutWidget_3)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.textBrowser_CurrentFormation.setFont(font)
        self.textBrowser_CurrentFormation.setObjectName("textBrowser_CurrentFormation")
        self.verticalLayout_10.addWidget(self.textBrowser_CurrentFormation)
        self.label_RockPicture = QtWidgets.QLabel(self.centralwidget)
        self.label_RockPicture.setGeometry(QtCore.QRect(586, 140, 61, 791))
        self.label_RockPicture.setObjectName("label_RockPicture")
        self.label_PipePicture = QtWidgets.QLabel(self.centralwidget)
        self.label_PipePicture.setGeometry(QtCore.QRect(567, 0, 71, 971))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_PipePicture.sizePolicy().hasHeightForWidth())
        self.label_PipePicture.setSizePolicy(sizePolicy)
        self.label_PipePicture.setObjectName("label_PipePicture")
        self.line_6 = QtWidgets.QFrame(self.centralwidget)
        self.line_6.setGeometry(QtCore.QRect(567, 149, 20, 781))
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName("line_6")
        self.label_Rotating_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_Rotating_3.setGeometry(QtCore.QRect(513, 11, 211, 81))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_Rotating_3.setFont(font)
        self.label_Rotating_3.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label_Rotating_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_Rotating_3.setText("")
        self.label_Rotating_3.setWordWrap(False)
        self.label_Rotating_3.setObjectName("label_Rotating_3")
        self.line_7 = QtWidgets.QFrame(self.centralwidget)
        self.line_7.setGeometry(QtCore.QRect(720, 10, 20, 951))
        self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName("line_7")
        self.line_28 = QtWidgets.QFrame(self.centralwidget)
        self.line_28.setGeometry(QtCore.QRect(490, 8, 20, 951))
        self.line_28.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_28.setObjectName("line_28")
        self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox.setEnabled(True)
        self.checkBox.setGeometry(QtCore.QRect(740, 280, 231, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox.setFont(font)
        self.checkBox.setTristate(False)
        self.checkBox.setObjectName("checkBox")
        self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_2.setGeometry(QtCore.QRect(741, 477, 211, 17))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.checkBox_2.setFont(font)
        self.checkBox_2.setObjectName("checkBox_2")
        self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_2.setEnabled(True)
        self.textBrowser_2.setGeometry(QtCore.QRect(740, 500, 531, 451))
        self.textBrowser_2.setObjectName("textBrowser_2")
        self.textBrowser_3 = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser_3.setGeometry(QtCore.QRect(740, 300, 531, 171))
        self.textBrowser_3.setObjectName("textBrowser_3")
        self.layoutWidget6 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget6.setGeometry(QtCore.QRect(290, 724, 191, 71))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.layoutWidget6.setFont(font)
        self.layoutWidget6.setObjectName("layoutWidget6")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget6)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label_94 = QtWidgets.QLabel(self.layoutWidget6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_94.sizePolicy().hasHeightForWidth())
        self.label_94.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_94.setFont(font)
        self.label_94.setObjectName("label_94")
        self.verticalLayout_5.addWidget(self.label_94, 0, QtCore.Qt.AlignHCenter)
        self.Depthtracker = QtWidgets.QLCDNumber(self.layoutWidget6)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.Depthtracker.setFont(font)
        self.Depthtracker.setObjectName("Depthtracker")
        self.verticalLayout_5.addWidget(self.Depthtracker)
        self.layoutWidget7 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget7.setGeometry(QtCore.QRect(50, 140, 435, 71))
        self.layoutWidget7.setObjectName("layoutWidget7")
        self.gridLayout_15 = QtWidgets.QGridLayout(self.layoutWidget7)
        self.gridLayout_15.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_15.setObjectName("gridLayout_15")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_Start_Drilling = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Start_Drilling.sizePolicy().hasHeightForWidth())
        self.pushButton_Start_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Start_Drilling.setFont(font)
        self.pushButton_Start_Drilling.setObjectName("pushButton_Start_Drilling")
        self.horizontalLayout.addWidget(self.pushButton_Start_Drilling)
        self.pushButton_Stop_Drilling = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling.sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling.setFont(font)
        self.pushButton_Stop_Drilling.setObjectName("pushButton_Stop_Drilling")
        self.horizontalLayout.addWidget(self.pushButton_Stop_Drilling)
        self.pushButton_Advanced_UI = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Advanced_UI.sizePolicy().hasHeightForWidth())
        self.pushButton_Advanced_UI.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Advanced_UI.setFont(font)
        self.pushButton_Advanced_UI.setObjectName("pushButton_Advanced_UI")
        self.horizontalLayout.addWidget(self.pushButton_Advanced_UI)
        self.gridLayout_15.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_Stop_Rotation_2 = QtWidgets.QPushButton(self.layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Rotation_2.setFont(font)
        self.pushButton_Stop_Rotation_2.setObjectName("pushButton_Stop_Rotation_2")
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Rotation_2)
        self.pushButton_Stop_Drilling_2 = QtWidgets.QPushButton(self.layoutWidget7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_Stop_Drilling_2.sizePolicy().hasHeightForWidth())
        self.pushButton_Stop_Drilling_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_Stop_Drilling_2.setFont(font)
        self.pushButton_Stop_Drilling_2.setObjectName("pushButton_Stop_Drilling_2")
        self.horizontalLayout_2.addWidget(self.pushButton_Stop_Drilling_2)
        self.pushButton = QtWidgets.QPushButton(self.layoutWidget7)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_2.addWidget(self.pushButton)
        self.gridLayout_15.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.label_93 = QtWidgets.QLabel(self.centralwidget)
        self.label_93.setGeometry(QtCore.QRect(940, 500, 132, 19))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_93.sizePolicy().hasHeightForWidth())
        self.label_93.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_93.setFont(font)
        self.label_93.setObjectName("label_93")
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(760, 520, 481, 431))
        self.widget.setObjectName("widget")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_11.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.doubleSpinBox_RPM = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_RPM.setFont(font)
        self.doubleSpinBox_RPM.setDecimals(0)
        self.doubleSpinBox_RPM.setMaximum(1500.0)
        self.doubleSpinBox_RPM.setObjectName("doubleSpinBox_RPM")
        self.gridLayout_4.addWidget(self.doubleSpinBox_RPM, 0, 1, 1, 1)
        self.label_84 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_84.setFont(font)
        self.label_84.setObjectName("label_84")
        self.gridLayout_4.addWidget(self.label_84, 0, 0, 1, 1)
        self.pushButton_StartRotation = QtWidgets.QPushButton(self.widget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 171, 173))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
        self.pushButton_StartRotation.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartRotation.setFont(font)
        self.pushButton_StartRotation.setObjectName("pushButton_StartRotation")
        self.gridLayout_4.addWidget(self.pushButton_StartRotation, 3, 0, 1, 2)
        spacerItem1 = QtWidgets.QSpacerItem(20, 12, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_4.addItem(spacerItem1, 2, 0, 1, 2)
        self.gridLayout_11.addLayout(self.gridLayout_4, 0, 0, 2, 1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 18, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem2, 0, 1, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(20, 38, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem3, 0, 2, 1, 1)
        self.pushButton_Stop_Rotation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Rotation.setFont(font)
        self.pushButton_Stop_Rotation.setObjectName("pushButton_Stop_Rotation")
        self.gridLayout_11.addWidget(self.pushButton_Stop_Rotation, 1, 1, 1, 1)
        self.pushButton_Reset_WOB_2 = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_WOB_2.setFont(font)
        self.pushButton_Reset_WOB_2.setObjectName("pushButton_Reset_WOB_2")
        self.gridLayout_11.addWidget(self.pushButton_Reset_WOB_2, 1, 2, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pushButton_StartCirculation = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_StartCirculation.setFont(font)
        self.pushButton_StartCirculation.setObjectName("pushButton_StartCirculation")
        self.verticalLayout_2.addWidget(self.pushButton_StartCirculation)
        self.gridLayout_11.addLayout(self.verticalLayout_2, 2, 0, 1, 1)
        self.pushButton_Stop_Hoisting = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Hoisting.setFont(font)
        self.pushButton_Stop_Hoisting.setObjectName("pushButton_Stop_Hoisting")
        self.gridLayout_11.addWidget(self.pushButton_Stop_Hoisting, 2, 1, 1, 1)
        self.pushButton_Reset_Hook_Load = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Hook_Load.setFont(font)
        self.pushButton_Reset_Hook_Load.setObjectName("pushButton_Reset_Hook_Load")
        self.gridLayout_11.addWidget(self.pushButton_Reset_Hook_Load, 2, 2, 1, 1)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.pushButton_Open_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Open_Brake.setFont(font)
        self.pushButton_Open_Brake.setObjectName("pushButton_Open_Brake")
        self.verticalLayout_3.addWidget(self.pushButton_Open_Brake)
        self.gridLayout_11.addLayout(self.verticalLayout_3, 3, 0, 1, 1)
        self.pushButton_Stop_Pump = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Stop_Pump.setFont(font)
        self.pushButton_Stop_Pump.setObjectName("pushButton_Stop_Pump")
        self.gridLayout_11.addWidget(self.pushButton_Stop_Pump, 3, 1, 1, 1)
        self.pushButton_Reset_Stepper_Pos = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_Stepper_Pos.setFont(font)
        self.pushButton_Reset_Stepper_Pos.setAcceptDrops(False)
        self.pushButton_Reset_Stepper_Pos.setObjectName("pushButton_Reset_Stepper_Pos")
        self.gridLayout_11.addWidget(self.pushButton_Reset_Stepper_Pos, 3, 2, 1, 1)
        self.pushButton_TogglePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_TogglePID.setFont(font)
        self.pushButton_TogglePID.setObjectName("pushButton_TogglePID")
        self.gridLayout_11.addWidget(self.pushButton_TogglePID, 4, 0, 1, 1)
        self.pushButton_Close_Brake = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Close_Brake.setFont(font)
        self.pushButton_Close_Brake.setObjectName("pushButton_Close_Brake")
        self.gridLayout_11.addWidget(self.pushButton_Close_Brake, 4, 1, 1, 1)
        self.pushButton_Reset_ROP = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Reset_ROP.setFont(font)
        self.pushButton_Reset_ROP.setObjectName("pushButton_Reset_ROP")
        self.gridLayout_11.addWidget(self.pushButton_Reset_ROP, 4, 2, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem4, 5, 0, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(20, 59, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem5, 5, 1, 3, 1)
        self.pushButton_Telementary = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_Telementary.setFont(font)
        self.pushButton_Telementary.setObjectName("pushButton_Telementary")
        self.gridLayout_11.addWidget(self.pushButton_Telementary, 5, 2, 1, 1)
        self.label_81 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_81.setFont(font)
        self.label_81.setObjectName("label_81")
        self.gridLayout_11.addWidget(self.label_81, 6, 0, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(20, 78, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_11.addItem(spacerItem6, 7, 2, 4, 1)
        self.comboBox_Actuator = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Actuator.setFont(font)
        self.comboBox_Actuator.setObjectName("comboBox_Actuator")
        self.gridLayout_11.addWidget(self.comboBox_Actuator, 8, 0, 1, 1)
        self.label_82 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_82.setFont(font)
        self.label_82.setObjectName("label_82")
        self.gridLayout_11.addWidget(self.label_82, 9, 0, 1, 1)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_86 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_86.setFont(font)
        self.label_86.setObjectName("label_86")
        self.gridLayout_3.addWidget(self.label_86, 4, 1, 1, 1)
        self.pushButton_SavePID = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_SavePID.setFont(font)
        self.pushButton_SavePID.setObjectName("pushButton_SavePID")
        self.gridLayout_3.addWidget(self.pushButton_SavePID, 8, 1, 1, 2)
        self.label_89 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_89.setFont(font)
        self.label_89.setObjectName("label_89")
        self.gridLayout_3.addWidget(self.label_89, 5, 1, 1, 1)
        self.doubleSpinBox_WOB = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_WOB.setFont(font)
        self.doubleSpinBox_WOB.setDecimals(4)
        self.doubleSpinBox_WOB.setMaximum(30.0)
        self.doubleSpinBox_WOB.setValue(2.0)
        self.doubleSpinBox_WOB.setSingleStep(0.1)
        self.doubleSpinBox_WOB.setObjectName("doubleSpinBox_WOB")
        self.gridLayout_3.addWidget(self.doubleSpinBox_WOB, 4, 2, 1, 1)
        self.doubleSpinBox_Kp = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kp.setFont(font)
        self.doubleSpinBox_Kp.setDecimals(10)
        self.doubleSpinBox_Kp.setMaximum(1000.0)
        self.doubleSpinBox_Kp.setValue(0.00001)
        self.doubleSpinBox_Kp.setSingleStep(1e-06)
        self.doubleSpinBox_Kp.setObjectName("doubleSpinBox_Kp")
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kp, 5, 2, 1, 1)
        self.doubleSpinBox_Ki = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Ki.setFont(font)
        self.doubleSpinBox_Ki.setDecimals(10)
        self.doubleSpinBox_Ki.setMaximum(1000.0)
        self.doubleSpinBox_Ki.setValue(0.0001)
        self.doubleSpinBox_Ki.setSingleStep(1e-06)
        self.doubleSpinBox_Ki.setObjectName("doubleSpinBox_Ki")
        self.gridLayout_3.addWidget(self.doubleSpinBox_Ki, 6, 2, 1, 1)
        self.label_88 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_88.setFont(font)
        self.label_88.setObjectName("label_88")
        self.gridLayout_3.addWidget(self.label_88, 6, 1, 1, 1)
        self.label_87 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_87.setFont(font)
        self.label_87.setObjectName("label_87")
        self.gridLayout_3.addWidget(self.label_87, 7, 1, 1, 1)
        self.doubleSpinBox_Kd = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Kd.setFont(font)
        self.doubleSpinBox_Kd.setDecimals(10)
        self.doubleSpinBox_Kd.setMaximum(1000.0)
        self.doubleSpinBox_Kd.setValue(0)
        self.doubleSpinBox_Kd.setSingleStep(1e-06)
        self.doubleSpinBox_Kd.setObjectName("doubleSpinBox_Kd")
        self.gridLayout_3.addWidget(self.doubleSpinBox_Kd, 7, 2, 1, 1)
        self.label_90 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_90.setFont(font)
        self.label_90.setObjectName("label_90")
        self.gridLayout_3.addWidget(self.label_90, 3, 0, 1, 3, QtCore.Qt.AlignHCenter)
        self.gridLayout_11.addLayout(self.gridLayout_3, 9, 1, 6, 1)
        self.doubleSpinBox_Distance = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.doubleSpinBox_Distance.setFont(font)
        self.doubleSpinBox_Distance.setDecimals(3)
        self.doubleSpinBox_Distance.setMaximum(900.0)
        self.doubleSpinBox_Distance.setObjectName("doubleSpinBox_Distance")
        self.gridLayout_11.addWidget(self.doubleSpinBox_Distance, 10, 0, 1, 1)
        self.label_83 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_83.setFont(font)
        self.label_83.setObjectName("label_83")
        self.gridLayout_11.addWidget(self.label_83, 11, 0, 1, 1)
        self.spinBox_Stepper_Delay = QtWidgets.QDoubleSpinBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.spinBox_Stepper_Delay.setFont(font)
        self.spinBox_Stepper_Delay.setDecimals(4)
        self.spinBox_Stepper_Delay.setMinimum(35.0)
        self.spinBox_Stepper_Delay.setMaximum(500.0)
        self.spinBox_Stepper_Delay.setSingleStep(10.0)
        self.spinBox_Stepper_Delay.setProperty("value", 35.0)
        self.spinBox_Stepper_Delay.setObjectName("spinBox_Stepper_Delay")
        self.gridLayout_11.addWidget(self.spinBox_Stepper_Delay, 12, 0, 1, 1)
        self.label_85 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_85.setFont(font)
        self.label_85.setObjectName("label_85")
        self.gridLayout_11.addWidget(self.label_85, 13, 0, 1, 1)
        self.comboBox_Direction = QtWidgets.QComboBox(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.comboBox_Direction.setFont(font)
        self.comboBox_Direction.setObjectName("comboBox_Direction")
        self.gridLayout_11.addWidget(self.comboBox_Direction, 14, 0, 1, 1)
        self.pushButton_MoveActuators = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_MoveActuators.setFont(font)
        self.pushButton_MoveActuators.setObjectName("pushButton_MoveActuators")
        self.gridLayout_11.addWidget(self.pushButton_MoveActuators, 15, 0, 1, 1)
        self.pushButton_WOB_Ctrl_off = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_Ctrl_off.setFont(font)
        self.pushButton_WOB_Ctrl_off.setObjectName("pushButton_WOB_Ctrl_off")
        self.gridLayout_11.addWidget(self.pushButton_WOB_Ctrl_off, 14, 2, 1, 1)
        self.pushButton_WOB_ctrl_on = QtWidgets.QPushButton(self.widget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_WOB_ctrl_on.setFont(font)
        self.pushButton_WOB_ctrl_on.setObjectName("pushButton_WOB_ctrl_on")
        self.gridLayout_11.addWidget(self.pushButton_WOB_ctrl_on, 13, 2, 1, 1)
        self.label_93.raise_()
        self.layoutWidget.raise_()
        self.label_RockPicture.raise_()
        self.label_PipePicture.raise_()
        self.label_Rotating_3.raise_()
        self.line_6.raise_()
        self.radioButton_5.raise_()
        self.radioButton_3.raise_()
        self.radioButton_9.raise_()
        self.radioButton_7.raise_()
        self.radioButton.raise_()
        self.radioButton_6.raise_()
        self.radioButton_2.raise_()
        self.line_10.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.layoutWidget.raise_()
        self.line_17.raise_()
        self.line_9.raise_()
        self.line_8.raise_()
        self.line_18.raise_()
        self.line_24.raise_()
        self.label_96.raise_()
        self.label_97.raise_()
        self.label_98.raise_()
        self.label_99.raise_()
        self.label_100.raise_()
        self.label_101.raise_()
        self.label_102.raise_()
        self.layoutWidget_2.raise_()
        self.layoutWidget_3.raise_()
        self.line_28.raise_()
        self.line_7.raise_()
        self.checkBox.raise_()
        self.checkBox_2.raise_()
        self.textBrowser_3.raise_()
        self.pushButton_WOB_ctrl_on.raise_()
        self.pushButton_WOB_Ctrl_off.raise_()
        self.textBrowser_2.raise_()
#        C.setCentralWidget(self.centralwidget)

        self.retranslateUi(C)
        self.checkBox.toggled['bool'].connect(self.textBrowser_3.setHidden)
        self.checkBox.setChecked(True)
        self.checkBox_2.toggled['bool'].connect(self.textBrowser_2.setHidden)
        self.checkBox_2.setChecked(True)
        self.pushButton.clicked.connect(C.close)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.pushButton_Stop_Rotation.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.pushButton_Stop_Hoisting.click)
        self.pushButton_Stop_Drilling_2.clicked.connect(self.pushButton_Stop_Pump.click)
        self.pushButton_Advanced_UI.clicked.connect(self.pushButton_Reset_Stepper_Pos.click)
        self.pushButton_Advanced_UI.clicked.connect(self.pushButton_Reset_WOB_2.click)
        QtCore.QMetaObject.connectSlotsByName(C)

    def retranslateUi(self, C):
        _translate = QtCore.QCoreApplication.translate
        C.setWindowTitle(_translate("C", "MainWindow"))
        self.label_4.setText(_translate("C", "DRILLING CHAIR CONTROLLER"))
        self.label_5.setText(_translate("C", "Hoisting Port"))
        self.label_6.setText(_translate("C", "Circulation Port"))
        self.label_7.setText(_translate("C", "Rotation Port"))
        self.pushButton_OpenPorts.setText(_translate("C", "Open"))
        self.label.setText(_translate("C", "<html><head/><body><p><img src=\":C:/Users/TeamUiS/Desktop/Logo-resized.png\"/></p></body></html>"))
        self.label_91.setText(_translate("C", "University of Stavanger, IRIS, AkerBP"))
        self.label_Velocity.setText(_translate("C", "0"))
        self.label_31.setText(_translate("C", "Velocity [m/h]"))
        self.label_32.setText(_translate("C", "3m.ROP [mm/s]"))
        self.label_ROP3.setText(_translate("C", "0"))
        self.label_RPM.setText(_translate("C", "0"))
        self.label_8.setText(_translate("C", "RPM [mm/s]"))
        self.label_41.setText(_translate("C", "WOB [kg]"))
        self.label_WOB.setText(_translate("C", "0"))
        self.label_10.setText(_translate("C", "Topdrive Torque [Nm]"))
        self.label_Topdrive_Torque.setText(_translate("C", "0"))
        self.label_TAM_Torque.setText(_translate("C", "0"))
        self.label_13.setText(_translate("C", "TAM Torque [Nm]"))
        self.label_15.setText(_translate("C", "Pressure [barA]"))
        self.label_Pressure.setText(_translate("C", "0"))
        self.label_34.setText(_translate("C", "Flow Rate Q [LPM]"))
        self.label_49.setText(_translate("C", "Stepcounter [mm]"))
        self.label_StepCounter.setText(_translate("C", "0"))
        self.label_Flow_Rate_Q.setText(_translate("C", "0"))
        self.label_45.setText(_translate("C", "Height-sensor [cm]"))
        self.label_Height_Sensor.setText(_translate("C", "0"))
        self.label_30.setText(_translate("C", "15s.ROP [mm/s]"))
        self.label_ROP15.setText(_translate("C", "0"))
        self.label_Act1StepCount.setText(_translate("C", "0"))
        self.label_39.setText(_translate("C", "BitTorque [Nm]"))
        self.label_48.setText(_translate("C", "Act1.Stepcounter"))
        self.label_Act3StepCount.setText(_translate("C", "0"))
        self.label_LoadCell_Z1.setText(_translate("C", "0"))
        self.label_LoadCell_Z2.setText(_translate("C", "0"))
        self.label_d_exponent.setText(_translate("C", "0"))
        self.label_Act2StepCount.setText(_translate("C", "0"))
        self.label_UCS.setText(_translate("C", "0"))
        self.label_23.setText(_translate("C", "Load Cell 2 Z2"))
        self.label_27.setText(_translate("C", "Load Cell 3 Z3"))
        self.label_Bit_Torque.setText(_translate("C", "0"))
        self.label_LoadCell_Z3.setText(_translate("C", "0"))
        self.label_29.setText(_translate("C", "Hook Load ∑Z"))
        self.label_35.setText(_translate("C", "MSE [MPa]"))
        self.label_37.setText(_translate("C", "UCS [MPa]"))
        self.label_43.setText(_translate("C", "d-exponent"))
        self.label_MSE.setText(_translate("C", "0"))
        self.label_50.setText(_translate("C", "Act2.Stepcounter"))
        self.label_51.setText(_translate("C", "Act3.Stepcounter"))
        self.label_19.setText(_translate("C", "Load cell 1 Z1"))
        self.label_Hookload_SumZ.setText(_translate("C", "0"))
        self.label_Rotating_Bit.setText(_translate("C", "Rotating Bit"))
        self.label_No_Rotation.setText(_translate("C", "No Rotation"))
        self.label_80.setText(_translate("C", "Rotation"))
        self.label_Hoisting_Stopped.setText(_translate("C", "Stopped"))
        self.label_WOB_Ctrl.setText(_translate("C", "WOB Control"))
        self.label_Moving.setText(_translate("C", "Moving"))
        self.label_Brake_Open.setText(_translate("C", "Brake Open"))
        self.label_Brake_Closed.setText(_translate("C", "Brake Closed"))
        self.label_Start.setText(_translate("C", "Start"))
        self.label_55.setText(_translate("C", "Hoisting"))
        self.label_Calibrating.setText(_translate("C", "Calibrating"))
        self.label_54.setText(_translate("C", "Circulation"))
        self.label_Pump_Off.setText(_translate("C", "Pump Off"))
        self.label_Starting.setText(_translate("C", "Starting"))
        self.label_Pump_On.setText(_translate("C", "Pump On"))
        self.label_LEAK.setText(_translate("C", "LEAK"))
        self.label_Pack_Off.setText(_translate("C", "Pack Off"))
        self.label_END.setText(_translate("C", "END"))
        self.label_OFF.setText(_translate("C", "OFF"))
        self.label_Monitor.setText(_translate("C", "Monitor"))
        self.label_92.setText(_translate("C", "Rig Operation Monitor"))
        self.label_95.setText(_translate("C", "Ongoing Occurence"))
        self.label_New_Formation.setText(_translate("C", "New Formation"))
        self.label_Leak.setText(_translate("C", "Leak"))
        self.label_Overpressure.setText(_translate("C", "Overpressure"))
        self.label_Lateral_Vibration.setText(_translate("C", "Lateral Vibration"))
        self.label_Axial_Vibration.setText(_translate("C", "Axial Vibration"))
        self.label_Stick_Slip.setText(_translate("C", "Torsional Vibrations"))
        self.label_Critical_Buckling.setText(_translate("C", "Critical Buckling"))
        self.label_Over_Torque.setText(_translate("C", "Over-Torque"))
        self.label_Twist_Off.setText(_translate("C", "Twist-Off"))
        self.label_96.setText(_translate("C", "0cm"))
        self.label_97.setText(_translate("C", "60cm"))
        self.label_98.setText(_translate("C", "50cm"))
        self.label_99.setText(_translate("C", "40cm"))
        self.label_100.setText(_translate("C", "30cm"))
        self.label_101.setText(_translate("C", "20cm"))
        self.label_102.setText(_translate("C", "10cm"))
        self.label_Rotating_2.setText(_translate("C", "Duration [min]"))
        self.label_104.setText(_translate("C", "Current Formation"))
        self.textBrowser_CurrentFormation.setHtml(_translate("C", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:10pt; font-weight:600; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">Sandstone</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">UCS = 110 MPa</span></p></body></html>"))
        self.label_RockPicture.setText(_translate("C", "<html><head/><body><p><img src=\":/well/bit.png\"/></p></body></html>"))
        self.label_PipePicture.setText(_translate("C", "<html><head/><body><p><img src=\":/bit/truebit.png\"/></p></body></html>"))
        self.checkBox.setText(_translate("C", "Toggle Rig Operation Monitor"))
        self.checkBox_2.setText(_translate("C", "Toggle Manual Controls"))
        self.textBrowser_2.setHtml(_translate("C", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Autonomous Drillling State! Check box to access Manual Controls.</span></p></body></html>"))
        self.textBrowser_3.setHtml(_translate("C", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Autonomous Drillling State! Check box to access the Rig Operation Monitor.</span></p></body></html>"))
        self.label_94.setText(_translate("C", "TVD [cm]"))
        self.pushButton_Start_Drilling.setText(_translate("C", "START Autonomous"))
        self.pushButton_Stop_Drilling.setText(_translate("C", "EMERGENCY STOP"))
        self.pushButton_Advanced_UI.setText(_translate("C", "OPEN Adv. GUI"))
        self.pushButton_Stop_Rotation_2.setText(_translate("C", "Generate PDF report"))
        self.pushButton_Stop_Drilling_2.setText(_translate("C", "STOP ALL SYSTEMS"))
        self.pushButton.setText(_translate("C", "CLOSE GUI"))
        self.label_93.setText(_translate("C", "Manual Controls"))
        self.label_84.setText(_translate("C", "RPM Input"))
        self.pushButton_StartRotation.setText(_translate("C", "Start Rotation"))
        self.pushButton_Stop_Rotation.setText(_translate("C", "Stop Rotation"))
        self.pushButton_Reset_WOB_2.setText(_translate("C", "Reset WOB"))
        self.pushButton_StartCirculation.setText(_translate("C", "Start Circulation"))
        self.pushButton_Stop_Hoisting.setText(_translate("C", "Stop Hoisting"))
        self.pushButton_Reset_Hook_Load.setText(_translate("C", "Reset Hook Load"))
        self.pushButton_Open_Brake.setText(_translate("C", "Open Brakes"))
        self.pushButton_Stop_Pump.setText(_translate("C", "Stop Pumps"))
        self.pushButton_Reset_Stepper_Pos.setText(_translate("C", "Reset TVD"))
        self.pushButton_TogglePID.setText(_translate("C", "Toggle PID"))
        self.pushButton_Close_Brake.setText(_translate("C", "Close Brakes"))
        self.pushButton_Reset_ROP.setText(_translate("C", "Reset ROP"))
        self.pushButton_Telementary.setText(_translate("C", "Telemetry on/off"))
        self.label_81.setText(_translate("C", "Acuator"))
        self.label_82.setText(_translate("C", "Set Distance (mm)"))
        self.label_86.setText(_translate("C", "WOB"))
        self.pushButton_SavePID.setText(_translate("C", "Save Parameters"))
        self.label_89.setText(_translate("C", "Kp"))
        self.label_88.setText(_translate("C", "Ki"))
        self.label_87.setText(_translate("C", "Kd"))
        self.label_90.setText(_translate("C", "Submit parameters"))
        self.label_83.setText(_translate("C", "Stepper delay"))
        self.label_85.setText(_translate("C", "Direction"))
        self.pushButton_MoveActuators.setText(_translate("C", "Execute Manual Move"))
        self.pushButton_WOB_Ctrl_off.setText(_translate("C", "WOB Control off"))
        self.pushButton_WOB_ctrl_on.setText(_translate("C", "WOB Control on"))

#import Logo_rc
#import bit_rc
#import well_rc
