From adb12dcdbb2ddaeac687c3aa9e57bb7ed459ab7e Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 24 六月 2020 15:26:46 +0800 Subject: [PATCH] 2020.06.24.01 --- ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs index 0964bf2..39ffcf6 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs @@ -41,10 +41,10 @@ //璁剧疆澶撮儴淇℃伅 base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uWorkMode)); - HdlThreadLogic.Current.RunThread(async () => + HdlThreadLogic.Current.RunThread(() => { //鑾峰彇鍒濆鏁版嵁 - var result = await this.GetDeviceAllDefultData(); + var result = this.GetDeviceAllDefultData(); if (result == false) { return; @@ -237,7 +237,7 @@ /// 鑾峰彇鍒濆鏁版嵁 /// </summary> /// <returns></returns> - private async Task<bool> GetDeviceAllDefultData() + private bool GetDeviceAllDefultData() { //鎵撳紑杩涘害鏉� this.ShowProgressBar(); -- Gitblit v1.8.0