From 72e1b4e4626315ebd4b879a68c94e7738fd0473e Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 28 十月 2019 11:00:28 +0800
Subject: [PATCH] 2019-10-28-1
---
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs
index 501dc8a..ed9d6cd 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs
@@ -59,7 +59,7 @@
//鏅鸿兘缃戝叧姝e湪閰嶇疆缃戠粶涓�
var btnMsg1 = new NormalViewControl(bodyFrameLayout.Width, false);
- btnMsg1.TextID = R.MyInternationalizationString.uGatewaySetting;
+ btnMsg1.TextID = R.MyInternationalizationString.uGatewaySearching;
btnMsg1.Y = Application.GetRealHeight(1036);
btnMsg1.TextAlignment = TextAlignment.Center;
bodyFrameLayout.AddChidren(btnMsg1);
@@ -145,7 +145,7 @@
frame.AddChidren(btnRound);
animateThread = true;
- new System.Threading.Thread(() =>
+ HdlThreadLogic.Current.RunThread(() =>
{
int index = 1;
int timeCount = 0;
@@ -176,8 +176,7 @@
}
});
}
- })
- { IsBackground = true }.Start();
+ });
}
#endregion
@@ -189,7 +188,7 @@
/// </summary>
private void CheckZbGatewayAndSetRow()
{
- new System.Threading.Thread(async () =>
+ HdlThreadLogic.Current.RunThread(async () =>
{
while (animateThread == true && this.Parent != null)
{
@@ -260,8 +259,8 @@
//鎼滅储寰楀埌鏃犵嚎缃戝叧
if (mode != GatewayBindMode.Binded)
{
- var form = new GatewayInfoAddForm();
- this.AddFromAndRemoveNowForm(form, realWay);
+ //var form = new GatewayInfoAddForm();
+ //this.AddFromAndRemoveNowForm(form, realWay);
}
}
});
@@ -273,8 +272,7 @@
}
}
}
- })
- { IsBackground = true }.Start();
+ });
}
#endregion
--
Gitblit v1.8.0