| | |
| | | this.ShowProgressBar();
|
| | |
|
| | | //获取PIR传感器的【配置信息】
|
| | | this.pirConfigure = await HdlDevicePirSensorLogic.Current.GetPirSensorLightSettion(this.iASZone);
|
| | | this.pirConfigure = HdlDevicePirSensorLogic.Current.GetPirSensorLightSettion(this.iASZone);
|
| | | if (pirConfigure == null)
|
| | | {
|
| | | //关闭进度条
|
| | |
| | | /// <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();
|