stten7 fix
This commit is contained in:
parent
987698cc8d
commit
8c24b3a783
@ -8,9 +8,9 @@ label_printer: present
|
|||||||
extra_label_printer: present
|
extra_label_printer: present
|
||||||
remote_api: absent
|
remote_api: absent
|
||||||
tecna_t3: present
|
tecna_t3: present
|
||||||
digital_io: present
|
digital_io: absent
|
||||||
barcode_recipe_selection: present
|
barcode_recipe_selection: present
|
||||||
show_instructions: yes
|
show_instructions: no
|
||||||
|
|
||||||
[tecna_t3]
|
[tecna_t3]
|
||||||
port: COM4
|
port: COM4
|
||||||
@ -28,7 +28,7 @@ printer: zd421
|
|||||||
|
|
||||||
[extra_label_printer]
|
[extra_label_printer]
|
||||||
platform: windows
|
platform: windows
|
||||||
printer: xlp504
|
printer: zt231
|
||||||
|
|
||||||
|
|
||||||
[digital_io]
|
[digital_io]
|
||||||
@ -90,10 +90,12 @@ filling_time: 15
|
|||||||
settling_time: 10
|
settling_time: 10
|
||||||
settling_pressure_min_percent: 5
|
settling_pressure_min_percent: 5
|
||||||
settling_pressure_max_percent: 5
|
settling_pressure_max_percent: 5
|
||||||
test_time: 10
|
|
||||||
test_pressure_qneg: 10
|
|
||||||
test_pressure: 5000
|
test_pressure: 5000
|
||||||
test_pressure_qpos: 5
|
test_time: 10
|
||||||
|
test_pressure_qpos: 7
|
||||||
|
test_pressure_qneg: 17
|
||||||
|
test_pressure_tt_qpos: 1 # Q+ Upper test leak limit (tube-tube) (positive mbar)
|
||||||
|
test_pressure_tt_qneg: 5 # Q- Lower test leak limit (tube-tube) (negative mbar)
|
||||||
flush_time: 1
|
flush_time: 1
|
||||||
flush_pressure: 100
|
flush_pressure: 100
|
||||||
relay_config: 1
|
relay_config: 1
|
||||||
@ -326,15 +326,15 @@ class Test(Widget):
|
|||||||
elif self.step.type == "wait":
|
elif self.step.type == "wait":
|
||||||
self.next_timer.start(1000)
|
self.next_timer.start(1000)
|
||||||
# UPDATE COUNT DISPLAY
|
# UPDATE COUNT DISPLAY
|
||||||
self.updaate_count_display()
|
self.update_count_display()
|
||||||
|
|
||||||
def count_reset(self):
|
def reset_count(self):
|
||||||
# COUNT RESET
|
# COUNT RESET
|
||||||
self.pieces["ok"] = 0
|
self.pieces["ok"] = 0
|
||||||
self.pieces["ko"] = 0
|
self.pieces["ko"] = 0
|
||||||
self.updaate_count_display()
|
self.update_count_display()
|
||||||
|
|
||||||
def updaate_count_display(self):
|
def update_count_display(self):
|
||||||
self.pieces_count_l.setText(f"{self.pieces['ok']} OK / {self.pieces['ko']} NOK / {sum(self.pieces.values())} TOT")
|
self.pieces_count_l.setText(f"{self.pieces['ok']} OK / {self.pieces['ko']} NOK / {sum(self.pieces.values())} TOT")
|
||||||
|
|
||||||
def set_recipe(self, recipe=None):
|
def set_recipe(self, recipe=None):
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -72,6 +73,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -85,6 +87,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -104,6 +107,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -135,6 +139,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -148,6 +153,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -189,6 +195,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -220,6 +227,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -233,6 +241,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -249,6 +258,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>16</pointsize>
|
<pointsize>16</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -265,6 +275,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -294,6 +305,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -324,6 +336,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -340,6 +353,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -356,6 +370,7 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>12</pointsize>
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -368,11 +383,12 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="8" rowspan="2">
|
<item row="1" column="8" rowspan="2">
|
||||||
<widget class="QPushButton" name="reset_cont_b">
|
<widget class="QPushButton" name="reset_count_b">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>DejaVu Sans</family>
|
<family>DejaVu Sans</family>
|
||||||
<pointsize>11</pointsize>
|
<pointsize>11</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
@ -32,7 +32,7 @@ class Test_Leak(Test_Test):
|
|||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
self.components["tecna_t3"].stop_test()
|
self.components["tecna_t3"].stop_test()
|
||||||
super.reset()
|
super().reset()
|
||||||
|
|
||||||
def stop_test(self):
|
def stop_test(self):
|
||||||
self.components["tecna_t3"].stop_test()
|
self.components["tecna_t3"].stop_test()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user