diff --git a/config/machine_settings/st-ten-10.ini b/config/machine_settings/st-ten-10.ini index d8da464..1ab0bc4 100644 --- a/config/machine_settings/st-ten-10.ini +++ b/config/machine_settings/st-ten-10.ini @@ -10,7 +10,7 @@ label_printer_2: present # Brother label printer used only in st-ten-10 remote_api: absent tecna_t3: absent furness_controls: absent -barcode_recipe_selection : present +barcode_recipe_selection : absent digital_io: absent # used only for instruction images leak_disabled: active #disable the tecna_t3 and furness_controls from starting by setting the tester-component to None @@ -48,7 +48,7 @@ discard_idx:12 # BIT NUMBER OF THE I/0 MODULE USED FOR DISCARD SENSING port: COM5 [recipe] -recipe_name_field: cod_semilavorato_raccordato_e_cablato +recipe_name_field: cod semilavorato raccordato e cablato part_number_field: cod finito cliente label_template_field: etichetta interoperazionale barcode_enable_field: verifica_codice_a_barre_abilitata diff --git a/src/ui/barcodes_step_editor/barcodes_step_editor.py b/src/ui/barcodes_step_editor/barcodes_step_editor.py index 7d3f230..0eb74ba 100644 --- a/src/ui/barcodes_step_editor/barcodes_step_editor.py +++ b/src/ui/barcodes_step_editor/barcodes_step_editor.py @@ -9,6 +9,7 @@ class Barcodes_Step_Editor(Editor): "barcode_input_1": self.serial_le_2, "barcode_input_2": self.serial_le_3, "barcode_input_3": self.serial_le_4, + "barcode_input_4": self.serial_le_5, "n_pieces":self.n_comp_le }) diff --git a/src/ui/barcodes_step_editor/barcodes_step_editor.ui b/src/ui/barcodes_step_editor/barcodes_step_editor.ui index 5cc17fe..c65c4b8 100644 --- a/src/ui/barcodes_step_editor/barcodes_step_editor.ui +++ b/src/ui/barcodes_step_editor/barcodes_step_editor.ui @@ -7,150 +7,172 @@ 0 0 538 - 160 + 234 Connector Step Editor - - - - 20 - 10 - 521 - 311 - - - - - 10 - 50 - false - - - - Specifica codici a barre - - - - - 20 - 30 - 61 - 16 - - - - Seriale-1 - - - - - - 110 - 30 - 133 - 22 - - - - - - - 110 - 60 - 133 - 22 - - - - - - - 20 - 60 - 51 - 16 - - - - Seriale-2 - - - - - - 110 - 90 - 133 - 22 - - - - - - - 20 - 90 - 51 - 16 - - - - Seriale-3 - - - - - - 110 - 120 - 133 - 22 - - - - - - - 20 - 120 - 51 - 16 - - - - Seriale-4 - - - - - - 380 - 30 - 133 - 22 - - - - - - - - - - 280 - 30 - 91 - 16 - - - - N. Componenti - - - + + + + + + 10 + 50 + false + + + + Specifica codici a barre + + + + + 10 + 33 + 52 + 16 + + + + Seriale-1 + + + + + + 68 + 33 + 133 + 22 + + + + + + + 68 + 68 + 133 + 22 + + + + + + + 10 + 68 + 52 + 16 + + + + Seriale-2 + + + + + + 68 + 103 + 133 + 22 + + + + + + + 10 + 103 + 52 + 16 + + + + Seriale-3 + + + + + + 68 + 138 + 133 + 22 + + + + + + + 10 + 138 + 52 + 16 + + + + Seriale-4 + + + + + + 297 + 33 + 133 + 22 + + + + + + + + + + 207 + 33 + 84 + 16 + + + + N. Componenti + + + + + + 68 + 173 + 133 + 22 + + + + + + + + + + 10 + 173 + 52 + 16 + + + + Seriale-4 + + + + + diff --git a/src/ui/recipe_selection/recipe_selection.py b/src/ui/recipe_selection/recipe_selection.py index af9f6c9..7f3b3f1 100755 --- a/src/ui/recipe_selection/recipe_selection.py +++ b/src/ui/recipe_selection/recipe_selection.py @@ -206,6 +206,7 @@ class Recipe_Selection(Widget): "barcode_input_1": row.get("barcode_input_1", "-"), "barcode_input_2": row.get("barcode_input_2", "-"), "barcode_input_3": row.get("barcode_input_3", "-"), + "barcode_input_4": row.get("barcode_input_4", "-"), }, "resistance": {