From 2bc230cf2e7a7329c2329b07307a47b059835bbc Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期五, 18 十月 2019 10:20:52 +0800
Subject: [PATCH] 2019-10-18-1

---
 ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs
index adf20fc..2e6c079 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs
@@ -65,12 +65,11 @@
         //    listView.Height = bodyFrameLayout.Height;
         //    bodyFrameLayout.AddChidren(listView);
 
-        //    new System.Threading.Thread(() =>
+        //    HdlThreadLogic.Current.Run(() =>
         //    {
         //        //浠庝簯绔幏鍙栨暟鎹�
         //        this.SetBackupInfoToForm();
-        //    })
-        //    { IsBackground = true }.Start();
+        //    });
         //}
 
         #endregion
@@ -184,7 +183,7 @@
         ///// <param name="BackupClassId"></param>
         //public void LoadBackupInfo(string BackupClassId)
         //{
-        //    new System.Threading.Thread(async () =>
+        //    HdlThreadLogic.Current.Run(async () =>
         //    {
         //        //鑾峰彇缃戝叧涓婇潰瀛樺湪鐨勫叏閮ㄦ枃浠�
         //        var listFile = await this.GetGatewayFileFromGateway();
@@ -211,8 +210,7 @@
         //        //缃戝叧鎭㈠鎴愬姛
         //        string msg = Language.StringByID(R.MyInternationalizationString.uGatewayFileRecoverSuccess);
         //        this.ShowNormalMsg(msg);
-        //    })
-        //    { IsBackground = true }.Start();
+        //    });
         //}
 
         //#endregion
@@ -259,7 +257,7 @@
         //    appendText = Language.StringByID(R.MyInternationalizationString.uDataUpLoad);
         //    ProgressBar.SetAppendText(appendText);
 
-        //    new System.Threading.Thread(async () =>
+        //    HdlThreadLogic.Current.Run(async () =>
         //    {
         //        //涓婁紶鏁版嵁鍒颁簯绔�
         //        directory = UserCenterLogic.CombinePath(directory);
@@ -281,8 +279,7 @@
 
         //        //鍒锋柊鐢婚潰
         //        this.SetBackupInfoToForm();
-        //    })
-        //    { IsBackground = true }.Start();
+        //    });
         //}
 
         //#endregion
@@ -446,7 +443,7 @@
         //    {
         //        return null;
         //    }
-            
+
         //    int timeOutCount = 0;
         //    bool receiving = false;
 
@@ -526,7 +523,7 @@
         //        //涓嬭浇鏂囦欢
         //        var saveFileName = await zbRealGateway.SetDownloadFileAsync(fileName);
         //        //妫�娴嬬綉鍏宠繑鍥炵殑鍏遍�氶敊璇姸鎬佺爜
-        //        var error = UserCenterLogic.CheckCommonErrorCode(saveFileName);
+        //        var error = HdlCheckLogic.Current.CheckCommonErrorCode(saveFileName);
         //        if (error != null)
         //        {
         //            this.ShowMassage(error);
@@ -558,7 +555,7 @@
         //{
         //    var fileData = await zbRealGateway.FileTransferLsDirAsync();
         //    //妫�娴嬬綉鍏宠繑鍥炵殑鍏遍�氶敊璇姸鎬佺爜
-        //    string error = UserCenterLogic.CheckCommonErrorCode(fileData);
+        //    string error = HdlCheckLogic.Current.CheckCommonErrorCode(fileData);
         //    if (error != null)
         //    {
         //        this.ShowErrorMsg(error);

--
Gitblit v1.8.0