From 0bf9e65bc3ba98391e7835c922b15baab3c77876 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 01 六月 2020 14:59:39 +0800
Subject: [PATCH] 上传一个合并的版本

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs
index a48780e..0964bf2 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs
@@ -241,9 +241,9 @@
         {
             //鎵撳紑杩涘害鏉�
             this.ShowProgressBar();
-           
-            //鑾峰彇鐏厜鐨勯厤缃俊鎭�
-            this.pirConfigure = await HdlDevicePirSensorLogic.Current.GetPirSensorLightSettion(this.iASZone);
+
+            //鑾峰彇PIR浼犳劅鍣ㄧ殑銆愰厤缃俊鎭��
+            this.pirConfigure = HdlDevicePirSensorLogic.Current.GetPirSensorLightSettion(this.iASZone);
             if (pirConfigure == null)
             {
                 //鍏抽棴杩涘害鏉�
@@ -263,12 +263,12 @@
         /// <summary>
         /// 淇濆瓨Pir浼犳劅鍣ㄦ暟鎹�
         /// </summary>
-        private async void SavePirSensorData()
+        private void SavePirSensorData()
         {
             //鎵撳紑杩涘害鏉�
             this.ShowProgressBar();
             //淇濆瓨閰嶇疆淇℃伅
-            var result = await HdlDevicePirSensorLogic.Current.SetPirSensorSettion(this.iASZone, this.pirConfigure);
+            var result = HdlDevicePirSensorLogic.Current.SetPirSensorSettion(this.iASZone, this.pirConfigure);
 
             //鍏抽棴杩涘害鏉�
             this.CloseProgressBar();

--
Gitblit v1.8.0