From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 11 九月 2020 09:16:59 +0800
Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp20200828/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs
old mode 100644
new mode 100755
similarity index 98%
rename from ZigbeeApp20200828/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs
rename to ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs
index 9265a5b..cf828c0
--- a/ZigbeeApp20200828/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs
@@ -151,8 +151,7 @@
                 //璁剧疆杩涘害鍊�
                 ProgressFormBar.Current.SetValue(i + 1, listFileCount);
             }
-            //鍏抽棴杩涘害鏉�
-            ProgressFormBar.Current.Close();
+
             //鍏佽鎸夌郴缁熺殑杩斿洖閿�
             Shared.Common.CommonPage.BackKeyCanClick = true;
             UserCenterResourse.AccountOption.AppCanSignout = true;
@@ -291,7 +290,7 @@
             }
 
             //寮�鍚繘搴︽潯
-            int listFileCount = listAllFile.Count;
+            int listFileCount = listPicFile.Count + listNormalFile.Count;
             if (showBar == true)
             {
                 //寮�鍚繘搴︽潯 姝e湪涓婁紶澶囦唤鏂囦欢
@@ -795,6 +794,12 @@
                 //寮�鍚悗鍙拌皟璇旳pp鍔熻兘(Debug鐢�)
                 UserCenterResourse.HideOption.StartDebugApp = 1;
             }
+            checkKeys = UserCenterLogic.EncryptPassword(UserCenterResourse.FileEncryptKey, DirNameResourse.CheckDeviceTypeFile + UserCenterResourse.UserInfo.Account);
+            if (listFile.Contains(checkKeys) == true)
+            {
+                //寮�鍚娴嬭澶嘥ype鐨�(Debug鐢�)
+                UserCenterResourse.HideOption.CheckDeviceType = 1;
+            }
 
             //鎭㈠
             IMessageCommon.Current.IgnoreError = false;
@@ -823,8 +828,6 @@
                 ProgressFormBar.Current.Close();
                 return false;
             }
-            //鍏抽棴杩涘害鏉�
-            ProgressFormBar.Current.Close();
 
             //娓呯┖鍏ㄩ儴鎴块棿
             HdlRoomLogic.Current.DeleteAllRoom();
@@ -845,6 +848,9 @@
             //鍒锋柊鏈湴缂撳瓨
             UserCenterLogic.RefreshAllMemory();
 
+            //鍏抽棴杩涘害鏉�
+            ProgressFormBar.Current.Close();
+
             return true;
         }
 

--
Gitblit v1.8.0