| | |
| | | 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); |
| | | }; |
| | | } |
| | |
| | | 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); |
| | | }; |
| | | } |