修复DeviceManager.cs中缺少_reconnectAttempts字段的错误
This commit is contained in:
@@ -190,6 +190,8 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
private System.Threading.Timer _reconnectTimer;
|
private System.Threading.Timer _reconnectTimer;
|
||||||
// 重连间隔(毫秒)
|
// 重连间隔(毫秒)
|
||||||
private int _reconnectInterval = 2000;
|
private int _reconnectInterval = 2000;
|
||||||
|
// 重连尝试次数
|
||||||
|
private int _reconnectAttempts = 0;
|
||||||
// 最大重连尝试次数
|
// 最大重连尝试次数
|
||||||
public static int MaxReconnectAttempts = 5;
|
public static int MaxReconnectAttempts = 5;
|
||||||
// 连接检查定时器
|
// 连接检查定时器
|
||||||
|
|||||||
Reference in New Issue
Block a user