From 8b4d79ca03495e522a1953e04ca17527f33c853a Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 28 十月 2019 13:22:17 +0800
Subject: [PATCH] 合并完成代码

---
 ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs
index 47fbae8..2c0eff2 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs
@@ -411,7 +411,7 @@
         {
             List<string> listAllFile = Global.FileListByHomeId();
 
-            string strroot = UserCenterResourse.LocalRootPath;
+            string strroot = Common.Config.Instance.FullPath;
             string autoPath = System.IO.Path.Combine(strroot, DirNameResourse.LocalMemoryDirectory, DirNameResourse.AutoBackupDirectory);
             foreach (string file in listAllFile)
             {
@@ -440,6 +440,18 @@
                 this.ShowMassage(ShowMsgType.Error, msg);
                 return false;
             }
+            if (backName.Contains("##") == true)
+            {
+                //瀛樺湪闈炴硶瀛楃銆�##銆�
+                string msg = Language.StringByID(R.MyInternationalizationString.uErrorFieldIsEsixt);
+                if (msg.Contains("{0}") == true)
+                {
+                    msg = string.Format(msg, "##");
+                }
+                this.ShowMassage(ShowMsgType.Error, msg);
+                return false;
+            }
+
             return true;
         }
         #endregion

--
Gitblit v1.8.0