diff --git a/src/design/data.py b/src/design/data.py index 43e4032..4bef64e 100644 --- a/src/design/data.py +++ b/src/design/data.py @@ -6,6 +6,7 @@ _NO = "No" _LOAD = "200" _199 = "199" +_SPACE = " " _CONDITION_LINES = {8877, 8305, 9610, 9599, 8315, 8237, 8284, 8333, 8324, 6014, 8248} @@ -39,8 +40,10 @@ 2827: _NA, # : accessories 481: _NA, # CLASSII: battery 483: _NA, # : accessories + 477: _SPACE, # : earth resistance 478: _199, # : insulation resistance 479: _199, # : insulation resistance enclosure + 485: _SPACE, # : touch current 6019: _NA, # WHEELCHAIR: attachments 6010: _NA, # : charger 6011: _NA, # : battery diff --git a/src/pages/TestPage.py b/src/pages/TestPage.py index 85bf10c..b5af39b 100644 --- a/src/pages/TestPage.py +++ b/src/pages/TestPage.py @@ -150,7 +150,7 @@ def display_test(self, script: Script, test: Test) -> None: ttk.Label(self.frame, text="Result").grid(column=0, row=row, columnspan=4) row += 1 overall_results = get_overall_results(self.shared.job.customer_number) - result = tkinter.StringVar(value=self.test.final_result or overall_results[0].nickname) + result = tkinter.StringVar(value=self.test.final_result or overall_results[0].fullname) for i, (nickname, fullname) in enumerate(overall_results): button = ttk.Radiobutton(self.frame, text=nickname, variable=result, value=fullname, width=15) Tooltip(button, fullname)