| | |
| | | //开启倒计时线程
|
| | | this.StartTimeCountThread(textValue);
|
| | |
|
| | | new System.Threading.Thread(async () =>
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | | {
|
| | | while (this.IsThreadAction)
|
| | | {
|
| | |
| | | //检测搜索到的网关,然后添加到画面的行里面
|
| | | await this.CheckZbGatewayAndSetRow();
|
| | | }
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | |
| | | //搜索时间
|
| | | this.searchTime = 60;
|
| | |
|
| | | new System.Threading.Thread(() =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | while (this.IsThreadAction)
|
| | | {
|
| | |
| | | btnStop.Text = textValue;
|
| | | }
|
| | | });
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | |
|
| | | #endregion
|