From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs index 7645945..6dcd028 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/ColorTemperatureLight.cs @@ -22,10 +22,16 @@ public int Level = 0; /// <summary> - ///鑹叉俯锛屽彇鍊艰寖鍥达細3400~6000 + ///鑹叉俯锛屽彇鍊艰寖鍥达細3000~6000(杩欓噷璁板綍鐨勫�肩殑鍗曚綅鏄� 鍗�) /// </summary> [Newtonsoft.Json.JsonIgnore] public int ColorTemperature = 0; + + /// <summary> + ///铚傞福鍣ㄦ槸鍚﹀湪鍝嶇潃(true:鍝嶇潃 false:涓嶅搷) + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public bool IsBuzzerRing = false; /// <summary> /// 璇诲彇浜害 @@ -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