HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-05-19 e747e6d8524e3146bb48dc304a713f309966b1c6
ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorWorkModeMenuForm.cs
@@ -243,7 +243,7 @@
            this.ShowProgressBar();
            //获取PIR传感器的【配置信息】
            this.pirConfigure = await HdlDevicePirSensorLogic.Current.GetPirSensorLightSettion(this.iASZone);
            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();