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

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


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(760, 613)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.btn_IOCardConnect = QtWidgets.QPushButton(self.centralwidget)
        self.btn_IOCardConnect.setGeometry(QtCore.QRect(160, 10, 139, 43))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_IOCardConnect.sizePolicy().hasHeightForWidth())
        self.btn_IOCardConnect.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_IOCardConnect.setFont(font)
        self.btn_IOCardConnect.setObjectName("btn_IOCardConnect")
        self.state_input3 = QtWidgets.QLabel(self.centralwidget)
        self.state_input3.setGeometry(QtCore.QRect(330, 130, 50, 50))
        self.state_input3.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input3.setStyleSheet("background-color: green;")
        self.state_input3.setText("")
        self.state_input3.setObjectName("state_input3")
        self.state_input2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input2.setGeometry(QtCore.QRect(390, 130, 50, 50))
        self.state_input2.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input2.setStyleSheet("background-color: green;")
        self.state_input2.setText("")
        self.state_input2.setObjectName("state_input2")
        self.state_input1 = QtWidgets.QLabel(self.centralwidget)
        self.state_input1.setGeometry(QtCore.QRect(450, 130, 50, 50))
        self.state_input1.setMinimumSize(QtCore.QSize(50, 50))
        self.state_input1.setStyleSheet("background-color: green;")
        self.state_input1.setText("")
        self.state_input1.setObjectName("state_input1")
        self.state_input0 = QtWidgets.QLabel(self.centralwidget)
        self.state_input0.setGeometry(QtCore.QRect(510, 130, 50, 50))
        self.state_input0.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input0.setStyleSheet("background-color: green;")
        self.state_input0.setText("")
        self.state_input0.setObjectName("state_input0")
        self.state_input0_2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input0_2.setGeometry(QtCore.QRect(510, 130, 50, 50))
        self.state_input0_2.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input0_2.setStyleSheet("background-color: red;")
        self.state_input0_2.setText("")
        self.state_input0_2.setObjectName("state_input0_2")
        self.state_input1_2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input1_2.setGeometry(QtCore.QRect(450, 130, 50, 50))
        self.state_input1_2.setMinimumSize(QtCore.QSize(50, 50))
        self.state_input1_2.setStyleSheet("background-color: red;")
        self.state_input1_2.setText("")
        self.state_input1_2.setObjectName("state_input1_2")
        self.state_input2_2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input2_2.setGeometry(QtCore.QRect(390, 130, 50, 50))
        self.state_input2_2.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input2_2.setStyleSheet("background-color: red;")
        self.state_input2_2.setText("")
        self.state_input2_2.setObjectName("state_input2_2")
        self.state_input3_2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input3_2.setGeometry(QtCore.QRect(330, 130, 50, 50))
        self.state_input3_2.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input3_2.setStyleSheet("background-color: red;")
        self.state_input3_2.setText("")
        self.state_input3_2.setObjectName("state_input3_2")
        self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 130, 305, 409))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.btn_motorGoHome = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_motorGoHome.sizePolicy().hasHeightForWidth())
        self.btn_motorGoHome.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_motorGoHome.setFont(font)
        self.btn_motorGoHome.setObjectName("btn_motorGoHome")
        self.verticalLayout.addWidget(self.btn_motorGoHome)
        self.btn_motorMove = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_motorMove.sizePolicy().hasHeightForWidth())
        self.btn_motorMove.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_motorMove.setFont(font)
        self.btn_motorMove.setObjectName("btn_motorMove")
        self.verticalLayout.addWidget(self.btn_motorMove)
        self.btn_openAll = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_openAll.sizePolicy().hasHeightForWidth())
        self.btn_openAll.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_openAll.setFont(font)
        self.btn_openAll.setObjectName("btn_openAll")
        self.verticalLayout.addWidget(self.btn_openAll)
        self.btn_closeAll = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_closeAll.sizePolicy().hasHeightForWidth())
        self.btn_closeAll.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_closeAll.setFont(font)
        self.btn_closeAll.setObjectName("btn_closeAll")
        self.verticalLayout.addWidget(self.btn_closeAll)
        self.btn_write = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_write.sizePolicy().hasHeightForWidth())
        self.btn_write.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_write.setFont(font)
        self.btn_write.setObjectName("btn_write")
        self.verticalLayout.addWidget(self.btn_write)
        self.btn_useBack = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_useBack.sizePolicy().hasHeightForWidth())
        self.btn_useBack.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_useBack.setFont(font)
        self.btn_useBack.setObjectName("btn_useBack")
        self.verticalLayout.addWidget(self.btn_useBack)
        self.btn_motorStandBy_2 = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_motorStandBy_2.sizePolicy().hasHeightForWidth())
        self.btn_motorStandBy_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_motorStandBy_2.setFont(font)
        self.btn_motorStandBy_2.setObjectName("btn_motorStandBy_2")
        self.verticalLayout.addWidget(self.btn_motorStandBy_2)
        self.btn_powerOff = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_powerOff.sizePolicy().hasHeightForWidth())
        self.btn_powerOff.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.btn_powerOff.setFont(font)
        self.btn_powerOff.setObjectName("btn_powerOff")
        self.verticalLayout.addWidget(self.btn_powerOff)
        self.state_input9 = QtWidgets.QLabel(self.centralwidget)
        self.state_input9.setGeometry(QtCore.QRect(330, 250, 50, 50))
        self.state_input9.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input9.setStyleSheet("background-color: green;")
        self.state_input9.setText("")
        self.state_input9.setObjectName("state_input9")
        self.state_input8 = QtWidgets.QLabel(self.centralwidget)
        self.state_input8.setGeometry(QtCore.QRect(390, 250, 50, 50))
        self.state_input8.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input8.setStyleSheet("background-color: green;")
        self.state_input8.setText("")
        self.state_input8.setObjectName("state_input8")
        self.lineEdit_Dist = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit_Dist.setGeometry(QtCore.QRect(330, 320, 101, 20))
        self.lineEdit_Dist.setObjectName("lineEdit_Dist")
        self.lineEdit_speed = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit_speed.setGeometry(QtCore.QRect(330, 350, 101, 20))
        self.lineEdit_speed.setObjectName("lineEdit_speed")
        self.state_input4_2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input4_2.setGeometry(QtCore.QRect(390, 250, 50, 50))
        self.state_input4_2.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input4_2.setStyleSheet("background-color: red;")
        self.state_input4_2.setText("")
        self.state_input4_2.setObjectName("state_input4_2")
        self.state_input5_2 = QtWidgets.QLabel(self.centralwidget)
        self.state_input5_2.setGeometry(QtCore.QRect(330, 250, 50, 50))
        self.state_input5_2.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input5_2.setStyleSheet("background-color: red;")
        self.state_input5_2.setText("")
        self.state_input5_2.setObjectName("state_input5_2")
        self.state_input7 = QtWidgets.QLabel(self.centralwidget)
        self.state_input7.setGeometry(QtCore.QRect(330, 190, 50, 50))
        self.state_input7.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input7.setStyleSheet("background-color: green;")
        self.state_input7.setText("")
        self.state_input7.setObjectName("state_input7")
        self.state_input3_4 = QtWidgets.QLabel(self.centralwidget)
        self.state_input3_4.setGeometry(QtCore.QRect(330, 190, 50, 50))
        self.state_input3_4.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input3_4.setStyleSheet("background-color: red;")
        self.state_input3_4.setText("")
        self.state_input3_4.setObjectName("state_input3_4")
        self.state_input5 = QtWidgets.QLabel(self.centralwidget)
        self.state_input5.setGeometry(QtCore.QRect(450, 190, 50, 50))
        self.state_input5.setMinimumSize(QtCore.QSize(50, 50))
        self.state_input5.setStyleSheet("background-color: green;")
        self.state_input5.setText("")
        self.state_input5.setObjectName("state_input5")
        self.state_input0_3 = QtWidgets.QLabel(self.centralwidget)
        self.state_input0_3.setGeometry(QtCore.QRect(510, 190, 50, 50))
        self.state_input0_3.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input0_3.setStyleSheet("background-color: red;")
        self.state_input0_3.setText("")
        self.state_input0_3.setObjectName("state_input0_3")
        self.state_input1_4 = QtWidgets.QLabel(self.centralwidget)
        self.state_input1_4.setGeometry(QtCore.QRect(450, 190, 50, 50))
        self.state_input1_4.setMinimumSize(QtCore.QSize(50, 50))
        self.state_input1_4.setStyleSheet("background-color: red;")
        self.state_input1_4.setText("")
        self.state_input1_4.setObjectName("state_input1_4")
        self.state_input6 = QtWidgets.QLabel(self.centralwidget)
        self.state_input6.setGeometry(QtCore.QRect(390, 190, 50, 50))
        self.state_input6.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input6.setStyleSheet("background-color: green;")
        self.state_input6.setText("")
        self.state_input6.setObjectName("state_input6")
        self.state_input2_4 = QtWidgets.QLabel(self.centralwidget)
        self.state_input2_4.setGeometry(QtCore.QRect(390, 190, 50, 50))
        self.state_input2_4.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input2_4.setStyleSheet("background-color: red;")
        self.state_input2_4.setText("")
        self.state_input2_4.setObjectName("state_input2_4")
        self.state_input4 = QtWidgets.QLabel(self.centralwidget)
        self.state_input4.setGeometry(QtCore.QRect(510, 190, 50, 50))
        self.state_input4.setMinimumSize(QtCore.QSize(50, 0))
        self.state_input4.setStyleSheet("background-color: green;")
        self.state_input4.setText("")
        self.state_input4.setObjectName("state_input4")
        self.state_input1_4.raise_()
        self.state_input2_4.raise_()
        self.state_input3_4.raise_()
        self.layoutWidget.raise_()
        self.state_input0_2.raise_()
        self.state_input1_2.raise_()
        self.state_input3_2.raise_()
        self.state_input2_2.raise_()
        self.btn_IOCardConnect.raise_()
        self.state_input3.raise_()
        self.state_input2.raise_()
        self.state_input1.raise_()
        self.state_input0.raise_()
        self.lineEdit_Dist.raise_()
        self.lineEdit_speed.raise_()
        self.state_input4_2.raise_()
        self.state_input5_2.raise_()
        self.state_input8.raise_()
        self.state_input9.raise_()
        self.state_input7.raise_()
        self.state_input5.raise_()
        self.state_input0_3.raise_()
        self.state_input6.raise_()
        self.state_input4.raise_()
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 760, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusBar = QtWidgets.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.btn_IOCardConnect.setText(_translate("MainWindow", "IO卡連線"))
        self.btn_motorGoHome.setText(_translate("MainWindow", "回home"))
        self.btn_motorMove.setText(_translate("MainWindow", "移動"))
        self.btn_openAll.setText(_translate("MainWindow", "全開"))
        self.btn_closeAll.setText(_translate("MainWindow", "全關"))
        self.btn_write.setText(_translate("MainWindow", "寫入"))
        self.btn_useBack.setText(_translate("MainWindow", "後感測器掃瞄並修正"))
        self.btn_motorStandBy_2.setText(_translate("MainWindow", "馬達回到待命點"))
        self.btn_powerOff.setText(_translate("MainWindow", "power_off"))
        self.lineEdit_Dist.setText(_translate("MainWindow", "10"))
        self.lineEdit_speed.setText(_translate("MainWindow", "10"))
