HDL Home App 第二版本 旧平台金堂用 正在使用
wjc
2022-12-01 351bdda734832d821a9764b0cde8be5d83c4ec50
ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs
@@ -298,7 +298,7 @@
                HdlThreadLogic.Current.RunMain(() =>
                {
                    //关闭所有界面
                    UserCenterLogic.CloseAllOpenForm();
                    UserCenterLogic.CloseAllOpenForm(null, false);
                    //切换到主页
                    UserView.UserPage.Instance.ReFreshControl();
                });
@@ -321,6 +321,14 @@
        {
            HdlThreadLogic.Current.RunThread(() =>
            {
                //绑定还没有成功的网关
                var result2 = HdlGatewayLogic.Current.ResetComandToBindBackupGateway();
                if (result2 == false)
                {
                    //临时这么写,新云端就会写到R文件了
                    this.ShowMassage(ShowMsgType.Tip, "绑定网关失败,请重新上传");
                    return;
                }
                //创建一个备份名字
                string backupClassId = HdlBackupLogic.Current.CreatNewBackupNameToDB(backName);
                if (backupClassId == null)
@@ -365,7 +373,15 @@
        {
            HdlThreadLogic.Current.RunThread(() =>
            {
                int result = HdlAutoBackupLogic.DoUpLoadAutoBackupData();
                //绑定还没有成功的网关
                var result2 = HdlGatewayLogic.Current.ResetComandToBindBackupGateway();
                if (result2 == false)
                {
                    //临时这么写,新云端就会写到R文件了
                    this.ShowMassage(ShowMsgType.Tip, "绑定网关失败,请重新上传");
                    return;
                }
                int result = HdlAutoBackupLogic.DoUpLoadAutoBackupDataByHand();
                if (result == -1)
                {
                    //文件上传失败