fix dual chan wip

This commit is contained in:
Eduardo 2026-05-12 09:03:55 +02:00
parent 3e57f4b559
commit 93f579086b
2 changed files with 8 additions and 3 deletions

View File

@ -17,7 +17,7 @@ digital_io: absent
digital_io_flush_blow: present digital_io_flush_blow: present
second_leak_test: present second_leak_test: present
barcode_recipe_selection: present barcode_recipe_selection: present
external_flush_blow: present # EXTERNAL BOX CONTROLLING MULTI-CHANNEL TEST (IF PRESENT), BLOW-CLEANING AND EXTERNAL FLUSH external_flush_blow: absent # EXTERNAL BOX CONTROLLING MULTI-CHANNEL TEST (IF PRESENT), BLOW-CLEANING AND EXTERNAL FLUSH
dual_channel: present dual_channel: present
freefall: absent freefall: absent
#fixture_id: present #fixture_id: present
@ -65,6 +65,7 @@ label_template_field: modello_etichetta
description_field: descrizione description_field: descrizione
[recipes_defaults] [recipes_defaults]
tester_discharge_enable: yes
dimensione_lotto_abilitata: dimensione_lotto_abilitata:
tempo_soffiaggio: 5 tempo_soffiaggio: 5
tempo_pre_riempimento: 0 tempo_pre_riempimento: 0

View File

@ -1122,8 +1122,12 @@ class Test(Widget):
# Process any {M43:X:Y} patterns in the barcode format # Process any {M43:X:Y} patterns in the barcode format
processed_barcode_format = self.process_m43_patterns(self.barcode_format, context) processed_barcode_format = self.process_m43_patterns(self.barcode_format, context)
if processed_barcode_format is not None:
formatted_barcode = processed_barcode_format.format(**context) if processed_barcode_format is None:
processed_barcode_format = self.print_step.spec.get("barcode", "-")
formatted_barcode = processed_barcode_format.format(**context)
context['BCODE'] = formatted_barcode context['BCODE'] = formatted_barcode
self.printed_barcode = formatted_barcode self.printed_barcode = formatted_barcode
if self.archived is not None: if self.archived is not None: