HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-03-06 a5b3c4bae726ef6770d4bfcbf2f4b50a37ed4a15
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs
@@ -95,7 +95,7 @@
        {
            //不允许按系统的返回键
            Shared.Common.CommonPage.BackKeyCanClick = false;
            UserCenterResourse.Option.AppCanSignout = false;
            UserCenterResourse.AccountOption.AppCanSignout = false;
            //首先先创建一个临时文件夹,存在文件则清空
            string newDir = System.IO.Path.Combine(DirNameResourse.LocalMemoryDirectory, DirNameResourse.DownLoadBackupTempDirectory);
@@ -109,7 +109,7 @@
                ProgressFormBar.Current.Close();
                //允许按系统的返回键
                Shared.Common.CommonPage.BackKeyCanClick = true;
                UserCenterResourse.Option.AppCanSignout = true;
                UserCenterResourse.AccountOption.AppCanSignout = true;
                return null;
            }
@@ -132,7 +132,7 @@
                    ProgressFormBar.Current.Close();
                    //允许按系统的返回键
                    Shared.Common.CommonPage.BackKeyCanClick = true;
                    UserCenterResourse.Option.AppCanSignout = true;
                    UserCenterResourse.AccountOption.AppCanSignout = true;
                    return null;
                }
@@ -145,7 +145,7 @@
                    ProgressFormBar.Current.Close();
                    //允许按系统的返回键
                    Shared.Common.CommonPage.BackKeyCanClick = true;
                    UserCenterResourse.Option.AppCanSignout = true;
                    UserCenterResourse.AccountOption.AppCanSignout = true;
                    return null;
                }
                //将输入写入本地的临时文件夹
@@ -157,7 +157,7 @@
            ProgressFormBar.Current.Close();
            //允许按系统的返回键
            Shared.Common.CommonPage.BackKeyCanClick = true;
            UserCenterResourse.Option.AppCanSignout = true;
            UserCenterResourse.AccountOption.AppCanSignout = true;
            return newDir;
        }
@@ -287,7 +287,7 @@
            //不允许按系统的返回键
            Shared.Common.CommonPage.BackKeyCanClick = false;
            UserCenterResourse.Option.AppCanSignout = false;
            UserCenterResourse.AccountOption.AppCanSignout = false;
            //你说为什么这里不分一个函数出来(理论上是分函数出来的)
            //是因为如果分函数的话,会出现双重异步,导致主线程的进度条的百分比永远定死0%
@@ -301,7 +301,7 @@
                    ProgressFormBar.Current.Close();
                    //允许按系统的返回键
                    Shared.Common.CommonPage.BackKeyCanClick = true;
                    UserCenterResourse.Option.AppCanSignout = true;
                    UserCenterResourse.AccountOption.AppCanSignout = true;
                    return false;
                }
                //判断是否是应该上传的文件
@@ -326,7 +326,7 @@
                    ProgressFormBar.Current.Close();
                    //允许按系统的返回键
                    Shared.Common.CommonPage.BackKeyCanClick = true;
                    UserCenterResourse.Option.AppCanSignout = true;
                    UserCenterResourse.AccountOption.AppCanSignout = true;
                    return false;
                }
                //设置进度值
@@ -343,7 +343,7 @@
                    ProgressFormBar.Current.Close();
                    //允许按系统的返回键
                    Shared.Common.CommonPage.BackKeyCanClick = true;
                    UserCenterResourse.Option.AppCanSignout = true;
                    UserCenterResourse.AccountOption.AppCanSignout = true;
                    return false;
                }
@@ -358,7 +358,7 @@
                    ProgressFormBar.Current.Close();
                    //允许按系统的返回键
                    Shared.Common.CommonPage.BackKeyCanClick = true;
                    UserCenterResourse.Option.AppCanSignout = true;
                    UserCenterResourse.AccountOption.AppCanSignout = true;
                    return false;
                }
                //设置进度值
@@ -369,7 +369,7 @@
            ProgressFormBar.Current.Close();
            //允许按系统的返回键
            Shared.Common.CommonPage.BackKeyCanClick = true;
            UserCenterResourse.Option.AppCanSignout = true;
            UserCenterResourse.AccountOption.AppCanSignout = true;
            return true;
        }