From 05ce435c3b58e53eeab04c672affdeeab75f3036 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 15 十一月 2019 14:41:39 +0800
Subject: [PATCH] 2019.11.15-1

---
 ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayBackUpForm.cs
index 2251c8d..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;
 

--
Gitblit v1.8.0