From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 14 十二月 2020 09:59:01 +0800
Subject: [PATCH] 请合并代码,完成晾衣架最终功能。

---
 ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs |   26 ++------------------------
 1 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs
index 8f5900b..bf22b16 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs
@@ -298,7 +298,7 @@
                 HdlThreadLogic.Current.RunMain(() =>
                 {
                     //鍏抽棴鎵�鏈夌晫闈�
-                    UserCenterLogic.CloseAllOpenForm();
+                    UserCenterLogic.CloseAllOpenForm(null, false);
                     //鍒囨崲鍒颁富椤�
                     UserView.UserPage.Instance.ReFreshControl();
                 });
@@ -365,7 +365,7 @@
         {
             HdlThreadLogic.Current.RunThread(() =>
             {
-                int result = HdlAutoBackupLogic.DoUpLoadAutoBackupData();
+                int result = HdlAutoBackupLogic.DoUpLoadAutoBackupDataByHand();
                 if (result == -1)
                 {
                     //鏂囦欢涓婁紶澶辫触
@@ -526,28 +526,6 @@
         #endregion
 
         #region 鈻� 涓�鑸柟娉昣__________________________
-
-        /// <summary>
-        /// 鎶婃湰鍦版墍鏈夋枃浠剁Щ鍔ㄥ埌鑷姩澶囦唤鏂囦欢澶�
-        /// </summary>
-        private void CopyLocationAllFileToAutoBackDirectory()
-        {
-            List<string> listAllFile = Shared.Common.Global.FileListByHomeId();
-
-            string strroot = Common.Config.Instance.FullPath;
-            string autoPath = System.IO.Path.Combine(strroot, DirNameResourse.LocalMemoryDirectory, DirNameResourse.AutoBackupDirectory);
-            foreach (string file in listAllFile)
-            {
-                //鍒ゆ柇鏄惁鏄簲璇ヤ笂浼犵殑鏂囦欢
-                if (HdlBackupLogic.Current.IsNotUpLoadFile(file) == true)
-                {
-                    continue;
-                }
-                string sourseName = System.IO.Path.Combine(strroot, file);
-                string newName = System.IO.Path.Combine(autoPath, file);
-                System.IO.File.Copy(sourseName, newName, true);
-            }
-        }
 
         /// <summary>
         /// 妫�娴嬪鑰冨悕绉�

--
Gitblit v1.8.0