更新NuGet包到4.0.0,并完成相关的修改适配工作,v1.7.8

This commit is contained in:
dathlin
2017-11-22 14:18:35 +08:00
parent b1f123366d
commit 9c4f98a66f
38 changed files with 62 additions and 65 deletions

View File

@@ -223,7 +223,7 @@ namespace 软件系统客户端Wpf
{
FormAccountManage fam = new FormAccountManage(() =>
{
OperateResultString result = UserClient.Net_simplify_client.ReadFromServer(CommonHeadCode.SimplifyHeadCode.);
OperateResult<string> result = UserClient.Net_simplify_client.ReadFromServer(CommonHeadCode.SimplifyHeadCode.);
if (result.IsSuccess) return result.Content;
else return result.ToMessageShowString();
}, m => UserClient.Net_simplify_client.ReadFromServer(CommonHeadCode.SimplifyHeadCode., m).IsSuccess);
@@ -275,7 +275,7 @@ namespace 软件系统客户端Wpf
{
using (FormSuper fs = new FormSuper(() =>
{
OperateResultBytes result = UserClient.Net_simplify_client.ReadFromServer(CommonHeadCode.SimplifyHeadCode., new byte[0]);
OperateResult<byte[]> result = UserClient.Net_simplify_client.ReadFromServer(CommonHeadCode.SimplifyHeadCode., new byte[0]);
//解析
if (result.IsSuccess)
{