From b800fbdf874cdc75ddc137ea2c22ac2c25d8b45c Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 26 十一月 2019 10:10:37 +0800
Subject: [PATCH] 2019.11.26

---
 ZigbeeApp/Shared/Phone/Device/Category/Category.cs |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs
index ed78c9f..bafef14 100644
--- a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs
@@ -283,6 +283,20 @@
                                                 ac.currentSystemMode = attriButeList[0].AttriButeData;
                                                 ac.LastDateTime = DateTime.Now;
                                                 break;
+
+                                            case 4099:
+                                                var value = Convert.ToString(attriButeList[0].AttriButeData, 2).PadLeft(16, '0');
+                                                var modeStr = value.Substring(value.Length - 5, 5);
+                                                for (int j = 0; j < modeStr.Length; j++)
+                                                {
+                                                    ac.listSupportMode[j] = Convert.ToInt32(modeStr[j]) == 49 ? 1 : 0;
+                                                }
+                                                break;
+
+                                            case 4097:
+                                                //杩囪檻缃戞竻娲楁爣蹇�:42
+                                                ac.CleanStatu = attriButeList[0].AttriButeData == 42;
+                                                break;
                                         }
 
                                         var row = rowLayout.GetChildren(0) as CategoryFunctionRow;
@@ -1223,6 +1237,8 @@
                                     ac.ReadFanMode();
                                     ac.ReadSystemMode();
                                     ac.ReadSystemFansSwingMode();
+                                    ac.ReadModeSupport();
+                                    ac.ReadCleanStatu();
                                 });
                             }
                             else
@@ -1238,12 +1254,14 @@
                                     ac.ReadFanMode();
                                     ac.ReadSystemMode();
                                     ac.ReadSystemFansSwingMode();
+                                    ac.ReadModeSupport();
+                                    ac.ReadCleanStatu();
                                 }
                             }
 
                             var deviceTypeRowLayout = new RowLayout()
                             {
-                                Height = Application.GetRealHeight(127 + 35),
+                                Height = Application.GetRealHeight(129 + 35),
                                 LineColor = ZigbeeColor.Current.GXCBackgroundColor,
                                 Tag = deviceUI
                             };

--
Gitblit v1.8.0