dev stten2 ok

This commit is contained in:
ST-TEN-1 2023-01-05 14:15:48 +01:00
parent e60fe622ed
commit abdf103016
3 changed files with 28 additions and 11 deletions

View File

@ -69,7 +69,7 @@ status_pin: 0
[multicomp] [multicomp]
; port: ? ; port: ?
baudrate: 115200 baudrate: 115200
cable_resistance: 0.75 cable_resistance: 0.8
[neo_pixels] [neo_pixels]
; port: ? ; port: ?

View File

@ -309,7 +309,7 @@ class Test(Widget):
*([ *([
Steps(type="resistance", spec={ Steps(type="resistance", spec={
"scale": 500, "scale": 500,
"expected": 2, "expected": 1,
"tolerance_pos": 5, "tolerance_pos": 5,
"tolerance_neg": 5, "tolerance_neg": 5,
"autotest": True, "autotest": True,
@ -323,9 +323,9 @@ class Test(Widget):
}), }),
Steps(type="resistance", spec={ Steps(type="resistance", spec={
"scale": 500, "scale": 500,
"expected": 20, "expected": 10,
"tolerance_pos": 5, "tolerance_pos": 1,
"tolerance_neg": 5, "tolerance_neg": 1,
"autotest": True, "autotest": True,
}), }),
Steps(type="resistance", spec={ Steps(type="resistance", spec={
@ -340,19 +340,36 @@ class Test(Widget):
Steps(type="leak", spec={ Steps(type="leak", spec={
"pre_filling_time": 0, "pre_filling_time": 0,
"pre_filling_pressure": 1000, "pre_filling_pressure": 1000,
"filling_time": 10, "filling_time": 5,
"settling_time": 10, "settling_time": 5,
"settling_pressure_min_percent": 5, "settling_pressure_min_percent": 5,
"settling_pressure_max_percent": 5, "settling_pressure_max_percent": 5,
"test_time": 10, "test_time": 10,
"test_pressure_min_delta": 30, "test_pressure_min_delta": 5,
"test_pressure": 15000, "test_pressure": 9000,
"test_pressure_max_delta": 30, "test_pressure_max_delta": 5,
"flush_time": 1, "flush_time": 1,
"flush_pressure": 100, "flush_pressure": 100,
"autotest": True, "autotest": True,
}), }),
] if "leak" not in self.unsupported_steps else []), ] if "leak" not in self.unsupported_steps else []),
*([
Steps(type="leak", spec={
"pre_filling_time": 0,
"pre_filling_pressure": 1000,
"filling_time": 5,
"settling_time": 5,
"settling_pressure_min_percent": 5,
"settling_pressure_max_percent": 5,
"test_time": 10,
"test_pressure_min_delta": 5,
"test_pressure": 9000,
"test_pressure_max_delta": 5,
"flush_time": 1,
"flush_pressure": 100,
"autotest": False,
}),
] if "leak" not in self.unsupported_steps else []),
Steps(type="done"), Steps(type="done"),
Steps(type="wait"), Steps(type="wait"),
] ]

View File

@ -93,7 +93,7 @@
<string notr="true">background-color:rgb(254, 254, 114);</string> <string notr="true">background-color:rgb(254, 254, 114);</string>
</property> </property>
<property name="text"> <property name="text">
<string>COONTINUA SENZA LOTTO</string> <string>CONTINUA SENZA LOTTO</string>
</property> </property>
</widget> </widget>
</item> </item>