From b94f318b1cb5c3618dd53b5240c1d999c8427b71 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 29 十一月 2019 13:09:25 +0800
Subject: [PATCH] 2019.11.29
---
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