2.2.0 dev lxy 1218 (#73)

* Modification: Migrate login interface

* Change 'China' to 'Chinese Mainland'

* Add: wcp_networktestdialog

* Optimization: Main process freezing when connecting devices

* Add: wcp_gettimelapseinstance & wcp_defectdetactionconfig

* Change: network test level

* Optimization: U1 piece-by-piece printing alarm alert

* Optimization: Adjust the display order of brands for the selected models

* Fix: WebpresetDialog now loads presets synchronously to prevent crashes

* Add: wcp_sw_SubscribePageStateChange & wcp_sw_UnsubscribePageStateChange
This commit is contained in:
xiaoyeliu
2025-12-18 20:02:40 +08:00
committed by GitHub
parent e145435f6f
commit ece21860e7
11 changed files with 271 additions and 19 deletions

View File

@@ -773,15 +773,15 @@ void NetworkTestDialog::start_test_telnet(TestJob job, wxString name, wxString s
wxString grade_desc;
wxString grade_icon;
if (connect_time <= 100) {
if (connect_time <= 50) {
grade = 1;
grade_desc = "Excellent";
grade_icon = "[Level 1]";
} else if (connect_time <= 500) {
} else if (connect_time <= 100) {
grade = 2;
grade_desc = "Good";
grade_icon = "[Level 2]";
} else if (connect_time <= 1000) {
} else if (connect_time <= 400) {
grade = 3;
grade_desc = "Fair";
grade_icon = "[Level 3]";