diff --git a/ClientsLibrary/ClientsLibrary.csproj b/ClientsLibrary/ClientsLibrary.csproj
index b8f7482..db4d61e 100644
--- a/ClientsLibrary/ClientsLibrary.csproj
+++ b/ClientsLibrary/ClientsLibrary.csproj
@@ -33,11 +33,11 @@
..\CommonLibrary\bin\Debug\CommonLibrary.dll
-
- ..\packages\HslCommunication.4.3.0\lib\net35\HslCommunication.dll
+
+ ..\packages\HslCommunication.5.0.4\lib\net35\HslCommunication.dll
-
- ..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll
+
+ ..\packages\Newtonsoft.Json.11.0.2\lib\net35\Newtonsoft.Json.dll
@@ -256,6 +256,7 @@
+
diff --git a/ClientsLibrary/UserClient.cs b/ClientsLibrary/UserClient.cs
index bf24185..87176a5 100644
--- a/ClientsLibrary/UserClient.cs
+++ b/ClientsLibrary/UserClient.cs
@@ -37,7 +37,7 @@ namespace ClientsLibrary
///
/// 本软件的当前版本,用来验证更新的关键依据
///
- public static SystemVersion CurrentVersion { get; } = new SystemVersion("1.0.0.171026");
+ public static SystemVersion CurrentVersion { get; } = new SystemVersion("1.0.0.180429");
///
@@ -64,7 +64,7 @@ namespace ClientsLibrary
new VersionInfo()
{
VersionNum = new SystemVersion("1.0.0"),
- ReleaseDate = new DateTime(2017, 10, 1), // 该版本发布的日期
+ ReleaseDate = new DateTime(2018, 5, 1), // 该版本发布的日期
UpdateDetails = new StringBuilder(
"1.本系统第一版本正式发布使用。"+Environment.NewLine+
"2.提供了多客户端用时在线的功能。"+Environment.NewLine+
@@ -91,20 +91,18 @@ namespace ClientsLibrary
///
/// 用于访问服务器数据的网络对象类,必须修改这个端口参数,否则运行失败
///
- public static NetSimplifyClient Net_simplify_client { get; set; } = new NetSimplifyClient(
- new IPEndPoint(IPAddress.Parse(ServerIp), UserSystem.Port_Second_Net))
+ public static NetSimplifyClient Net_simplify_client { get; set; } = new NetSimplifyClient(ServerIp, UserSystem.Port_Second_Net)
{
- KeyToken = UserSystem.KeyToken,
- ConnectTimeout = 5000,
+ Token = UserSystem.KeyToken,
+ ConnectTimeOut = 5000,
};
///
/// 用于使用udp向服务器进行发送即时可丢失数据的对象
///
- public static NetUdpClient Net_Udp_Client { get; set; } = new NetUdpClient(
- new IPEndPoint(IPAddress.Parse(ServerIp), UserSystem.Port_Udp_Server))
+ public static NetUdpClient Net_Udp_Client { get; set; } = new NetUdpClient(ServerIp, UserSystem.Port_Udp_Server)
{
- KeyToken = UserSystem.KeyToken,
+ Token = UserSystem.KeyToken,
};
@@ -146,7 +144,7 @@ namespace ClientsLibrary
///
public static IntegrationFileClient Net_File_Client { get; set; } = new IntegrationFileClient()
{
- KeyToken = UserSystem.KeyToken,
+ Token = UserSystem.KeyToken,
LogNet = LogNet,
ServerIpEndPoint = new IPEndPoint(IPAddress.Parse(ServerIp), UserSystem.Port_Ultimate_File_Server)
};
@@ -156,7 +154,7 @@ namespace ClientsLibrary
///
public static IntegrationFileClient Net_Update_Client { get; set; } = new IntegrationFileClient()
{
- KeyToken = UserSystem.KeyToken,
+ Token = UserSystem.KeyToken,
LogNet = LogNet,
ServerIpEndPoint = new IPEndPoint(IPAddress.Parse(ServerIp), UserSystem.Port_Advanced_File_Server)
};
diff --git a/ClientsLibrary/app.config b/ClientsLibrary/app.config
new file mode 100644
index 0000000..2bbe771
--- /dev/null
+++ b/ClientsLibrary/app.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ClientsLibrary/packages.config b/ClientsLibrary/packages.config
index 22347a5..2a3a232 100644
--- a/ClientsLibrary/packages.config
+++ b/ClientsLibrary/packages.config
@@ -1,5 +1,5 @@
-
-
+
+
\ No newline at end of file
diff --git a/CommonLibrary/BasicSupport/FormAbout.designer.cs b/CommonLibrary/BasicSupport/FormAbout.designer.cs
index c17d6bb..b8bb40f 100644
--- a/CommonLibrary/BasicSupport/FormAbout.designer.cs
+++ b/CommonLibrary/BasicSupport/FormAbout.designer.cs
@@ -101,7 +101,6 @@
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(421, 198);
diff --git a/CommonLibrary/BasicSupport/FormAboutVersion.designer.cs b/CommonLibrary/BasicSupport/FormAboutVersion.designer.cs
index 65ce9d3..687741f 100644
--- a/CommonLibrary/BasicSupport/FormAboutVersion.designer.cs
+++ b/CommonLibrary/BasicSupport/FormAboutVersion.designer.cs
@@ -125,7 +125,6 @@
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(454, 229);
diff --git a/CommonLibrary/BasicSupport/FormInputAndAction.designer.cs b/CommonLibrary/BasicSupport/FormInputAndAction.designer.cs
index c88313d..09ce440 100644
--- a/CommonLibrary/BasicSupport/FormInputAndAction.designer.cs
+++ b/CommonLibrary/BasicSupport/FormInputAndAction.designer.cs
@@ -101,7 +101,6 @@
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(547, 319);
diff --git a/CommonLibrary/BasicSupport/FormPasswordCheck.designer.cs b/CommonLibrary/BasicSupport/FormPasswordCheck.designer.cs
index 407c78e..2c53ac1 100644
--- a/CommonLibrary/BasicSupport/FormPasswordCheck.designer.cs
+++ b/CommonLibrary/BasicSupport/FormPasswordCheck.designer.cs
@@ -64,7 +64,6 @@
this.ClientSize = new System.Drawing.Size(407, 109);
this.Controls.Add(this.userButton1);
this.Controls.Add(this.textBox2);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximumSize = new System.Drawing.Size(423, 148);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(423, 148);
diff --git a/CommonLibrary/CommonLibrary.csproj b/CommonLibrary/CommonLibrary.csproj
index 020e8d4..b879f84 100644
--- a/CommonLibrary/CommonLibrary.csproj
+++ b/CommonLibrary/CommonLibrary.csproj
@@ -30,11 +30,11 @@
4
-
- ..\packages\HslCommunication.4.3.0\lib\net35\HslCommunication.dll
+
+ ..\packages\HslCommunication.5.0.4\lib\net35\HslCommunication.dll
-
- ..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll
+
+ ..\packages\Newtonsoft.Json.11.0.2\lib\net35\Newtonsoft.Json.dll
@@ -168,7 +168,6 @@
-