HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2019-10-28 1f5636d69332170ea3a41c76c9519f6ff6f0a8d9
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
@@ -620,7 +620,6 @@
                try
                {
                    ZigBee.Device.ZbGateway.RemoteMqttClient?.DisconnectAsync();
                    ZigBee.Device.ZbGateway.RemoteMqttClient = null;
                }
                catch { }
@@ -850,11 +849,11 @@
                ProgressBar.SetAppendText(string.Empty);
                //0:已经同步过,不需要同步,这个时候需要提示备份
                if (result == 0)
                {
                    //开启自动备份提示
                    //HdlAutoBackupLogic.ShowAutoBackupPromptedForm();
                }
                //if (result == 0)
                //{
                //    //开启自动备份提示
                //    HdlAutoBackupLogic.ShowAutoBackupPromptedForm();
                //}
            }
            //恢复可关闭进度条
@@ -1153,7 +1152,7 @@
            Global.CreateEmptyDirectory(directory);
            //用户图片目录路径【文件夹】
            if (!System.IO.Directory.Exists(UserCenterResourse.Option.UserPictruePath))
            if (UserCenterResourse.Option.UserPictruePath != string.Empty && !System.IO.Directory.Exists(UserCenterResourse.Option.UserPictruePath))
            {
                System.IO.Directory.CreateDirectory(UserCenterResourse.Option.UserPictruePath);
            }