| | |
| | | curView = this; |
| | | myLoading = new Loading (); |
| | | |
| | | myLoading.TextColor = 0xFFA9A9A9; |
| | | myLoading.LodingBackgroundColor = SkinStyle.Current.MainColor; |
| | | |
| | | //#if __IOS__ |
| | | myLoading.LodingBackgroundColor = 0x00999999; |
| | | //myLoading.LodingBackgroundColor = 0x20999999; |
| | | //#else |
| | | // myLoading.LodingBackgroundColor = SkinStyle.Current.ViewColor; |
| | | //#endif |
| | |
| | | if (gatewayDeicve.Type == DeviceType.OnePortWirelessFR || gatewayDeicve.Type == DeviceType.OnePortMqttFR) { |
| | | Control.ControlBytesSend (Command.GotoConfigMode, gatewayDeicve.SubnetID, gatewayDeicve.DeviceID, new byte [] { }); |
| | | //new Alert ("", "网关已经进入配频模式,请手动新设备进入配频模式。", "Close").Show (); |
| | | new Alert ("", "Searching for new devices, Please make sure all new devices are in configuration mode.", "OK").Show (); |
| | | new Alert ("", ErrorCode.SearchingForNewDevices, "OK").Show (); |
| | | |
| | | this.AddChidren (myLoading); |
| | | //myLoading.Start ("点击屏幕关闭配频模式"); |
| | | myLoading.Start ("Searching, Please touch the here to exit the searching mode."); |
| | | myLoading.Start (ErrorCode.SearchingExitTheSearchingMode); |
| | | //myLoading.Start ("Waiting for new device, Please touch the here to exit the waiting mode."); |
| | | |
| | | this.AddChidren (btnCloseLoading); |