From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 16 十二月 2020 13:09:08 +0800 Subject: [PATCH] 新云端代码Ver1.2 --- 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