From 2109463fab2eb1caed189e4f258e0e763c5cea7b Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 07 十一月 2019 11:58:53 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-wjc
---
ZigbeeApp/Shared/Phone/ZigBee/Device/AC.cs | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/AC.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/AC.cs
index 2855c62..b8477ee 100755
--- a/ZigbeeApp/Shared/Phone/ZigBee/Device/AC.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/AC.cs
@@ -79,7 +79,12 @@
/// 鏀寔鐨勯閫熸ā寮�
/// </summary>
public List<FanMode> fanModes = new List<FanMode> { };
-
+ /// <summary>
+ /// <para>鑷畾涔夌┖璋冩敮鎸佺殑妯″紡(榛樿鍏ㄥ叧)</para>
+ /// <para>鏁扮粍绱㈠紩 -> 0:鍒跺喎 1:鍒剁儹 2:閫侀 3:闄ゆ箍 4:鑷姩</para>
+ /// <para>鍊� -> 1:浠h〃浣跨敤 0:浠h〃涓嶄娇鐢�</para>
+ /// </summary>
+ public int[] listSupportMode = new int[5] { 0, 0, 0, 0, 0 };
/// <summary>
/// 鑾峰彇褰撳墠瀹ゅ唴娓╁害.
@@ -154,6 +159,14 @@
ReadAttri(Device.Cluster_ID.FanControl, AttriButeId.FanModeSequence);
}
+ /// <summary>
+ /// 鑾峰彇绌鸿皟鑷畾涔夎缃殑鏀寔妯″紡
+ /// </summary>
+ public void ReadModeSupport()
+ {
+ ReadAttri(Device.Cluster_ID.Thermostat, AttriButeId.AcModeSupport);
+ }
+
///<summary >
///璁剧疆鍒跺喎搴︽暟.
/// </summary>
--
Gitblit v1.8.0