HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-08-04 fd3c74df4d30a88d490d0c5b469df821f1bb2d78
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs
@@ -34,13 +34,22 @@
            //图片
            var framePic = new FrameLayout();
            framePic.Width = this.GetPictrueRealSize(395);
            framePic.Height = this.GetPictrueRealSize(223);
            framePic.Height = this.GetPictrueRealSize(327);
            framePic.Gravity = Gravity.CenterHorizontal;
            framePic.Y = Application.GetRealHeight(464);
            framePic.Y = Application.GetRealHeight(363);
            framePic.BackgroundImagePath = "Gateway/MiniGatewayDirection.png";
            bodyFrameLayout.AddChidren(framePic);
            //插电后,长按网关HID/WCFG按键5秒{0}系统灯常亮60秒后则进入配网状态
            //开关键
            var btnSwitch = new NormalViewControl(this.GetPictrueRealSize(400), this.GetPictrueRealSize(45), false);
            btnSwitch.X = framePic.X + this.GetPictrueRealSize(60);
            btnSwitch.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnSwitch.TextSize = 10;
            btnSwitch.TextID = R.MyInternationalizationString.uSwitchButton;
            bodyFrameLayout.AddChidren(btnSwitch);
            btnSwitch.Y = framePic.Y - btnSwitch.Height;
            //插电后,长按网关开关键5秒{0}系统灯常亮60秒后则进入配网状态
            string[] ArryMsg = Language.StringByID(R.MyInternationalizationString.uAddMiniGatewayMsg1).Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries);
            int yy = framePic.Bottom + Application.GetRealHeight(291);
            foreach (var msg in ArryMsg)