实现接口

This commit is contained in:
zqm
2025-10-27 13:18:15 +08:00
parent 5bbc94f87f
commit 5a3d8dd975
2 changed files with 848 additions and 352 deletions

View File

@@ -2260,6 +2260,9 @@ namespace JoyD.Windows.CS.Toprie
return; return;
} }
// 当所有连接尝试都失败时明确更新状态为Disconnected
UpdateConnectionStatus(ConnectionStatus.Disconnected, "所有连接尝试失败");
// 设置下一次重连的时间间隔 // 设置下一次重连的时间间隔
int retryInterval = _reconnectInterval; int retryInterval = _reconnectInterval;
if (_currentReconnectAttempt % 5 == 0) // 每5次尝试后增加间隔 if (_currentReconnectAttempt % 5 == 0) // 每5次尝试后增加间隔

File diff suppressed because it is too large Load Diff