| | |
| | | //5.能远程 |
| | | if (canRemote) { |
| | | if (!CommonPage.IsRemote) { |
| | | if (UserConfig.Instance.CheckHomeGateways ()) { |
| | | if (!string.IsNullOrEmpty (UserConfig.Instance.CurrentRegion.HomeGateways [0].GatewayUniqueId)) { |
| | | if (UserConfig.Instance.CheckHomeGatewaysNotEmpty ()) { |
| | | // 5.1能远程,显示CloudUnlink状态,IsRemote设为true开始远程 |
| | | //MainPage.AddTip ("Please wait, starting remote connection..."); |
| | | //MainPage.LoadingStart ("Please wait, starting remote connection..."); |
| | |
| | | SmartHome.MqttCommon.InitState (); |
| | | Utlis.ShowAppLinkStatus (AppLinkStatus.CloudUnlink); |
| | | |
| | | } |
| | | } |
| | | } |
| | | |