From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs index 1f2a4b8..6dcd028 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs @@ -28,6 +28,12 @@ public int ColorTemperature = 0; /// <summary> + ///铚傞福鍣ㄦ槸鍚﹀湪鍝嶇潃(true:鍝嶇潃 false:涓嶅搷) + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public bool IsBuzzerRing = false; + + /// <summary> /// 璇诲彇浜害 /// </summary> public void ReadLevel() @@ -43,6 +49,14 @@ ReadAttri(Device.Cluster_ID.ColorControl, AttriButeId.LevelControl); } + /// <summary> + /// 璇诲彇铚傞福鍣ㄧ姸鎬�(灏忓鐏笓鐢�) + /// </summary> + public void ReadBuzzerStatu() + { + ReadAttri((Cluster_ID)1282, 0); + } + ///<summary > ///璁剧疆璁惧浜害锛圠evel锛� ///<para>value:浜害鍊煎彇鍊艰寖鍥达細0-254</para> -- Gitblit v1.8.0