JLChen
2021-01-05 f500e14c0a994487070380c50c85e0929cbc8e63
Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideSettingGateway.cs
@@ -25,8 +25,11 @@
            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
@@ -97,8 +100,8 @@
            };
            var btnSearch = new Button () {
                Width = Application.GetRealWidth (75),
                Height = Application.GetRealHeight (75),
                Width = Application.GetMinRealAverage (75),
                Height = Application.GetMinRealAverage (75),
                X = Application.GetRealWidth (520),
                Y = Application.GetRealHeight (10),
                UnSelectedImagePath = "Item/Refresh.png",
@@ -246,11 +249,11 @@
                        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);