| | |
| | | frameBack.BackgroundColor = UserCenterColor.Current.White;
|
| | | bodyFrameLayout.AddChidren(frameBack);
|
| | |
|
| | | //请选择网络
|
| | | //请输入WIFI和密码
|
| | | var btnTitle = new NormalViewControl(600, 64, true);
|
| | | btnTitle.X = HdlControlResourse.XXLeft;
|
| | | btnTitle.Y = Application.GetRealHeight(30);
|
| | | btnTitle.X = ControlCommonResourse.XXLeft;
|
| | | btnTitle.Y = Application.GetRealHeight(32);
|
| | | btnTitle.TextSize = 15;
|
| | | btnTitle.TextID = R.MyInternationalizationString.uPleaseSelectNetwork;
|
| | | btnTitle.TextID = R.MyInternationalizationString.uPleaseInputWifiAndPassword;
|
| | | frameBack.AddChidren(btnTitle);
|
| | |
|
| | | //WIFI
|
| | |
| | | };
|
| | |
|
| | | var btnMsg = new NormalViewControl(rowPsw.txtInput.Width, false);
|
| | | btnMsg.X = HdlControlResourse.XXLeft;
|
| | | btnMsg.X = ControlCommonResourse.XXLeft;
|
| | | btnMsg.Y = frameBack.Bottom + Application.GetRealHeight(23);
|
| | | btnMsg.TextSize = 12;
|
| | | btnMsg.Height = Application.GetRealHeight(40);
|
| | | btnMsg.TextColor = UserCenterColor.Current.ErrorColor;
|
| | | bodyFrameLayout.AddChidren(btnMsg);
|
| | |
|
| | | //发送局域网账号、密码
|
| | | var btnMsgTitle = new NormalViewControl(500, 60, true);
|
| | | btnMsgTitle.TextID = R.MyInternationalizationString.uSendLanAccountAndPassword;
|
| | | btnMsgTitle.X = ControlCommonResourse.XXLeft;
|
| | | btnMsgTitle.Y = frameBack.Bottom + Application.GetRealHeight(369);
|
| | | btnMsgTitle.IsBold = true;
|
| | | bodyFrameLayout.AddChidren(btnMsgTitle);
|
| | |
|
| | | //1.填写路由器的账号和密码
|
| | | //2.点击下一步,将路由器账号和密码发送至网关
|
| | | //3.网关接收成功,白光闪烁
|
| | | string[] ArryMsg = Language.StringByID(R.MyInternationalizationString.uAddMiniGatewayMsg2).Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries);
|
| | | int yy = btnMsgTitle.Bottom + Application.GetRealHeight(23);
|
| | | foreach (var msg in ArryMsg)
|
| | | {
|
| | | var btnTip = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false);
|
| | | btnTip.Text = msg;
|
| | | btnTip.Y = yy;
|
| | | btnTip.X = btnMsgTitle.X;
|
| | | btnTip.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | btnTip.TextSize = 12;
|
| | | bodyFrameLayout.AddChidren(btnTip);
|
| | | yy = btnTip.Bottom;
|
| | | }
|
| | |
|
| | | //查看帮助
|
| | | var btnHelp = this.AddHelpControl();
|
| | |
| | | var frameList = new NormalFrameLayout();
|
| | | frameList.Y = rowWifi.Bottom;
|
| | | frameList.Gravity = Gravity.CenterHorizontal;
|
| | | frameList.Width = frameTran.Width - HdlControlResourse.XXLeft * 2;
|
| | | frameList.Width = frameTran.Width - ControlCommonResourse.XXLeft * 2;
|
| | | frameList.Height = this.GetPictrueRealSize(1200);
|
| | | frameList.Radius = (uint)Application.GetRealWidth(17);
|
| | | frameList.BackgroundColor = UserCenterColor.Current.White;
|
| | |
| | | var frameRow = new FrameRowControl();
|
| | | listView.AddChidren(frameRow);
|
| | | //wifi名字
|
| | | var btnWifi = new NormalViewControl(frameRow.Width, frameRow.Height - HdlControlResourse.BottomLineHeight, false);
|
| | | btnWifi.X = HdlControlResourse.XXLeft;
|
| | | var btnWifi = new NormalViewControl(frameRow.Width, frameRow.Height - ControlCommonResourse.BottomLineHeight, false);
|
| | | btnWifi.X = ControlCommonResourse.XXLeft;
|
| | | btnWifi.Text = "Application Software" + i;
|
| | | frameRow.AddChidren(btnWifi, ChidrenBindMode.BindEvent);
|
| | | //底线
|
| | | var btnLine = new NormalViewControl(frameRow.Width, HdlControlResourse.BottomLineHeight, false);
|
| | | var btnLine = new NormalViewControl(frameRow.Width, ControlCommonResourse.BottomLineHeight, false);
|
| | | btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
|
| | | btnLine.Y = btnWifi.Bottom;
|
| | | frameRow.AddChidren(btnLine, ChidrenBindMode.BindEvent);
|