From 2ed75b8b337048e5d75e6d9ec8307633134f02fd Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 10 十月 2019 11:33:04 +0800 Subject: [PATCH] 个人中心添加楼层和创建房间,实装二级验证 --- ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayListBackUpForm.cs | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayListBackUpForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayListBackUpForm.cs index 43dcb15..8c39464 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayListBackUpForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlGatewayListBackUpForm.cs @@ -62,7 +62,7 @@ //璁剧疆鎺ュ彈鍦ㄧ嚎鐘舵�佹帹閫� this.AddGatewayOnlinePush(); - new System.Threading.Thread(() => + HdlThreadLogic.Current.RunThread(() => { List<ZbGateway> listway = HdlGatewayLogic.Current.GetAllLocalGateway(); if (listway.Count == 0) @@ -83,8 +83,7 @@ //寮�鍚綉鍏冲湪绾跨洃娴嬬殑绾跨▼ this.StartGatewayOnlieCheckThread(listway); }); - }) - { IsBackground = true }.Start(); + }); } #endregion @@ -157,7 +156,7 @@ /// <param name="listway"></param> private void StartGatewayOnlieCheckThread(List<ZbGateway> listway) { - new System.Threading.Thread(() => + HdlThreadLogic.Current.RunThread(() => { System.Threading.Thread.Sleep(300); //鍒锋柊缃戝叧鍦ㄧ嚎鐘舵�� @@ -173,8 +172,7 @@ } //缃戝叧鏂扮増鏈娴� this.CheckGatewayNewVersion(listway); - }) - { IsBackground = true }.Start(); + }); } /// <summary> -- Gitblit v1.8.0