| | |
| | | if (!string.IsNullOrEmpty (UserConfig.Instance.CurrentRegion.HomeGateways [0].GatewayUniqueId)) { |
| | | // 5.1能远程,显示CloudUnlink状态,IsRemote设为true开始远程 |
| | | //MainPage.AddTip ("Please wait, starting remote connection..."); |
| | | MainPage.LoadingStart ("Please wait, starting remote connection..."); |
| | | //MainPage.LoadingStart ("Please wait, starting remote connection..."); |
| | | |
| | | MainPage.LoadingTipShow ("Please wait, starting remote connection..."); |
| | | |
| | | CommonPage.IsRemote = true; |
| | | IsRemoteLoadingShow = true; |
| | | //重置参数状态 |
| | |
| | | Utlis.WriteLine ("CheckLinkRemote : " + ex.ToString ()); |
| | | } finally { |
| | | isConnectiong = false; |
| | | if (!IsRemoteLoadingShow) { |
| | | Application.RunOnMainThread (() => { |
| | | MainPage.Loading.Hide (); |
| | | }); |
| | | } |
| | | //if (!IsRemoteLoadingShow) { |
| | | // Application.RunOnMainThread (() => { |
| | | // MainPage.Loading.Hide (); |
| | | // }); |
| | | //} |
| | | |
| | | Application.RunOnMainThread (() => { |
| | | MainPage.Loading.Hide (); |
| | | }); |
| | | } |
| | | }) { IsBackground = true }.Start (); |
| | | } |