Aktuelle Version
This commit is contained in:
parent
0d9bb5a0a1
commit
78efd306df
@ -356,12 +356,12 @@ class MainWindow2( MainWindow):
|
|||||||
self.ui.p2_amount_INPUT.setValue(5)
|
self.ui.p2_amount_INPUT.setValue(5)
|
||||||
self.ui.p3_amount_INPUT.setValue(5)
|
self.ui.p3_amount_INPUT.setValue(5)
|
||||||
self.ui.run_BTN.clicked.emit()
|
self.ui.run_BTN.clicked.emit()
|
||||||
self.ui.lineEdit_2.setText("1200")
|
self.ui.lineEdit_2.setText("900")
|
||||||
self.ui.start_flow_EDIT.setText("600")
|
self.ui.start_flow_EDIT.setText("600")
|
||||||
self.ui.checkBox_2.setChecked(True)
|
self.ui.checkBox_2.setChecked(True)
|
||||||
self.ui.lineEdit_3.setText("40")
|
self.ui.lineEdit_3.setText("40")
|
||||||
self.ui.time_wait_EDIT.setText("10")
|
self.ui.time_wait_EDIT.setText("10")
|
||||||
self.ui.start_BTN.clicked.emit()
|
self.ui.run_BTN.clicked.emit()
|
||||||
else:
|
else:
|
||||||
self.ui.stop_BTN.clicked.emit()
|
self.ui.stop_BTN.clicked.emit()
|
||||||
|
|
||||||
@ -374,6 +374,8 @@ class MainWindow2( MainWindow):
|
|||||||
def startmotor(self,state):
|
def startmotor(self,state):
|
||||||
if state == 1:
|
if state == 1:
|
||||||
print("start motor ")
|
print("start motor ")
|
||||||
|
#self.ui.send_all_BTN.clicked.emit()
|
||||||
|
#time.sleep(1)
|
||||||
self.ui.run_BTN.clicked.emit()
|
self.ui.run_BTN.clicked.emit()
|
||||||
else :
|
else :
|
||||||
print("stop motor")
|
print("stop motor")
|
||||||
@ -480,7 +482,7 @@ class AutoP(QtCore.QRunnable):
|
|||||||
def run(self):
|
def run(self):
|
||||||
self.waittime = 5
|
self.waittime = 5
|
||||||
while True :
|
while True :
|
||||||
#print(f" now waiting {self.status}")
|
print(f" now waiting {self.status}")
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
if self.status == 'flow':
|
if self.status == 'flow':
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user