删除DeviceManager和V8类中未使用的字段,消除CS0414警告
This commit is contained in:
@@ -129,8 +129,7 @@ namespace JoyD.Windows.CS.Toprie
|
||||
|
||||
// 私有字段
|
||||
private string deviceIp;
|
||||
private Socket socket;
|
||||
private bool isConnected = false;
|
||||
private Socket socket = null;
|
||||
private static bool isSdkInitialized = false;
|
||||
private static Dictionary<string, V8> deviceInstances = new Dictionary<string, V8>();
|
||||
|
||||
@@ -157,10 +156,9 @@ namespace JoyD.Windows.CS.Toprie
|
||||
if (socket != null)
|
||||
{
|
||||
socket.Close();
|
||||
socket = null;
|
||||
}
|
||||
isConnected = false;
|
||||
Console.WriteLine("UDP通信状态已重置");
|
||||
socket = null;
|
||||
}
|
||||
Console.WriteLine("UDP通信状态已重置");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user