| | |
| | | //图片
|
| | | 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)
|