将V8中的deviceIp字段设为只读,解决IDE0044警告
This commit is contained in:
@@ -128,7 +128,7 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 私有字段
|
// 私有字段
|
||||||
private string deviceIp;
|
private readonly string deviceIp;
|
||||||
private Socket socket = null;
|
private Socket socket = null;
|
||||||
private static bool isSdkInitialized = false;
|
private static bool isSdkInitialized = false;
|
||||||
private static readonly Dictionary<string, V8> deviceInstances = new Dictionary<string, V8>();
|
private static readonly Dictionary<string, V8> deviceInstances = new Dictionary<string, V8>();
|
||||||
|
|||||||
Reference in New Issue
Block a user