wxr
2024-01-08 22288c2816f39348316a961806dc41bbe0ab6822
HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
@@ -225,7 +225,31 @@
                            var regionId = (string)btnHomeName.Tag;
                            dialog.Close();
                            LoadEvent_ChangeCurHome(home);
                            LoadContentView();
                            new System.Threading.Thread(() => {
                                try
                                {
                                    while (true)
                                    {
                                        if (Common.ApiUtlis.Ins.DownloadDataComplete)
                                        {
                                            System.Threading.Thread.Sleep(100);
                                        }
                                        else
                                        {
                                            Application.RunOnMainThread(() =>
                                            {
                                                LoadContentView();
                                            });
                                            break;
                                        }
                                    }
                                }
                                catch { }
                                {
                                }
                            }) { IsBackground = true }.Start();
                            HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.ChangeCurrHome(home);
                        };
                    }
@@ -409,7 +433,31 @@
                    var regionId = (string)btnHomeName.Tag;
                    dialog.Close();
                    LoadEvent_ChangeCurHome(home);
                    LoadContentView();
                    new System.Threading.Thread(() => {
                        try
                        {
                            while (true)
                            {
                                if (Common.ApiUtlis.Ins.DownloadDataComplete)
                                {
                                    System.Threading.Thread.Sleep(100);
                                }
                                else
                                {
                                    Application.RunOnMainThread(() =>
                                    {
                                        LoadContentView();
                                    });
                                    break;
                                }
                            }
                        }
                        catch { }
                        {
                        }
                    })
                    { IsBackground = true }.Start();
                    HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.ChangeCurrHome(home);
                };
            }