mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-14 07:52:56 +00:00
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:
@@ -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]";
|
||||
|
||||
Reference in New Issue
Block a user