supporto assemblati whip

This commit is contained in:
eduardo 2024-05-21 08:45:27 +02:00
parent 057baabcdd
commit 7f489d6634
4 changed files with 165 additions and 141 deletions

View File

@ -10,7 +10,7 @@ label_printer_2: present # Brother label printer used only in st-ten-10
remote_api: absent remote_api: absent
tecna_t3: absent tecna_t3: absent
furness_controls: absent furness_controls: absent
barcode_recipe_selection : present barcode_recipe_selection : absent
digital_io: absent # used only for instruction images 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 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 port: COM5
[recipe] [recipe]
recipe_name_field: cod_semilavorato_raccordato_e_cablato recipe_name_field: cod semilavorato raccordato e cablato
part_number_field: cod finito cliente part_number_field: cod finito cliente
label_template_field: etichetta interoperazionale label_template_field: etichetta interoperazionale
barcode_enable_field: verifica_codice_a_barre_abilitata barcode_enable_field: verifica_codice_a_barre_abilitata

View File

@ -9,6 +9,7 @@ class Barcodes_Step_Editor(Editor):
"barcode_input_1": self.serial_le_2, "barcode_input_1": self.serial_le_2,
"barcode_input_2": self.serial_le_3, "barcode_input_2": self.serial_le_3,
"barcode_input_3": self.serial_le_4, "barcode_input_3": self.serial_le_4,
"barcode_input_4": self.serial_le_5,
"n_pieces":self.n_comp_le "n_pieces":self.n_comp_le
}) })

View File

@ -7,150 +7,172 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>538</width> <width>538</width>
<height>160</height> <height>234</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Connector Step Editor</string> <string>Connector Step Editor</string>
</property> </property>
<widget class="QGroupBox" name="groupBox"> <layout class="QGridLayout" name="gridLayout">
<property name="geometry"> <item row="0" column="0">
<rect> <widget class="QGroupBox" name="groupBox">
<x>20</x> <property name="font">
<y>10</y> <font>
<width>521</width> <pointsize>10</pointsize>
<height>311</height> <weight>50</weight>
</rect> <bold>false</bold>
</property> </font>
<property name="font"> </property>
<font> <property name="title">
<pointsize>10</pointsize> <string>Specifica codici a barre</string>
<weight>50</weight> </property>
<bold>false</bold> <widget class="QLabel" name="label">
</font> <property name="geometry">
</property> <rect>
<property name="title"> <x>10</x>
<string>Specifica codici a barre</string> <y>33</y>
</property> <width>52</width>
<widget class="QLabel" name="label"> <height>16</height>
<property name="geometry"> </rect>
<rect> </property>
<x>20</x> <property name="text">
<y>30</y> <string>Seriale-1</string>
<width>61</width> </property>
<height>16</height> </widget>
</rect> <widget class="QLineEdit" name="serial_le">
</property> <property name="geometry">
<property name="text"> <rect>
<string>Seriale-1</string> <x>68</x>
</property> <y>33</y>
</widget> <width>133</width>
<widget class="QLineEdit" name="serial_le"> <height>22</height>
<property name="geometry"> </rect>
<rect> </property>
<x>110</x> </widget>
<y>30</y> <widget class="QLineEdit" name="serial_le_2">
<width>133</width> <property name="geometry">
<height>22</height> <rect>
</rect> <x>68</x>
</property> <y>68</y>
</widget> <width>133</width>
<widget class="QLineEdit" name="serial_le_2"> <height>22</height>
<property name="geometry"> </rect>
<rect> </property>
<x>110</x> </widget>
<y>60</y> <widget class="QLabel" name="label_2">
<width>133</width> <property name="geometry">
<height>22</height> <rect>
</rect> <x>10</x>
</property> <y>68</y>
</widget> <width>52</width>
<widget class="QLabel" name="label_2"> <height>16</height>
<property name="geometry"> </rect>
<rect> </property>
<x>20</x> <property name="text">
<y>60</y> <string>Seriale-2</string>
<width>51</width> </property>
<height>16</height> </widget>
</rect> <widget class="QLineEdit" name="serial_le_3">
</property> <property name="geometry">
<property name="text"> <rect>
<string>Seriale-2</string> <x>68</x>
</property> <y>103</y>
</widget> <width>133</width>
<widget class="QLineEdit" name="serial_le_3"> <height>22</height>
<property name="geometry"> </rect>
<rect> </property>
<x>110</x> </widget>
<y>90</y> <widget class="QLabel" name="label_3">
<width>133</width> <property name="geometry">
<height>22</height> <rect>
</rect> <x>10</x>
</property> <y>103</y>
</widget> <width>52</width>
<widget class="QLabel" name="label_3"> <height>16</height>
<property name="geometry"> </rect>
<rect> </property>
<x>20</x> <property name="text">
<y>90</y> <string>Seriale-3</string>
<width>51</width> </property>
<height>16</height> </widget>
</rect> <widget class="QLineEdit" name="serial_le_4">
</property> <property name="geometry">
<property name="text"> <rect>
<string>Seriale-3</string> <x>68</x>
</property> <y>138</y>
</widget> <width>133</width>
<widget class="QLineEdit" name="serial_le_4"> <height>22</height>
<property name="geometry"> </rect>
<rect> </property>
<x>110</x> </widget>
<y>120</y> <widget class="QLabel" name="label_4">
<width>133</width> <property name="geometry">
<height>22</height> <rect>
</rect> <x>10</x>
</property> <y>138</y>
</widget> <width>52</width>
<widget class="QLabel" name="label_4"> <height>16</height>
<property name="geometry"> </rect>
<rect> </property>
<x>20</x> <property name="text">
<y>120</y> <string>Seriale-4</string>
<width>51</width> </property>
<height>16</height> </widget>
</rect> <widget class="QLineEdit" name="n_comp_le">
</property> <property name="geometry">
<property name="text"> <rect>
<string>Seriale-4</string> <x>297</x>
</property> <y>33</y>
</widget> <width>133</width>
<widget class="QLineEdit" name="n_comp_le"> <height>22</height>
<property name="geometry"> </rect>
<rect> </property>
<x>380</x> <property name="text">
<y>30</y> <string/>
<width>133</width> </property>
<height>22</height> </widget>
</rect> <widget class="QLabel" name="label_5">
</property> <property name="geometry">
<property name="text"> <rect>
<string/> <x>207</x>
</property> <y>33</y>
</widget> <width>84</width>
<widget class="QLabel" name="label_5"> <height>16</height>
<property name="geometry"> </rect>
<rect> </property>
<x>280</x> <property name="text">
<y>30</y> <string>N. Componenti</string>
<width>91</width> </property>
<height>16</height> </widget>
</rect> <widget class="QLineEdit" name="serial_le_5">
</property> <property name="geometry">
<property name="text"> <rect>
<string>N. Componenti</string> <x>68</x>
</property> <y>173</y>
</widget> <width>133</width>
</widget> <height>22</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>10</x>
<y>173</y>
<width>52</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Seriale-4</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>

View File

@ -206,6 +206,7 @@ class Recipe_Selection(Widget):
"barcode_input_1": row.get("barcode_input_1", "-"), "barcode_input_1": row.get("barcode_input_1", "-"),
"barcode_input_2": row.get("barcode_input_2", "-"), "barcode_input_2": row.get("barcode_input_2", "-"),
"barcode_input_3": row.get("barcode_input_3", "-"), "barcode_input_3": row.get("barcode_input_3", "-"),
"barcode_input_4": row.get("barcode_input_4", "-"),
}, },
"resistance": { "resistance": {