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/UserView/UserPage.cs |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
index 1510970..4e7b0c3 100644
--- a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
@@ -186,6 +186,18 @@
                                     case 28:
                                         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:
+                                        ac.CleanStatu = attriButeList[0].AttriButeData == 42;
                                         break;
                                 }
                             }

--
Gitblit v1.8.0