old mode 100755
new mode 100644
| | |
| | | btnSecond.TextID = R.MyInternationalizationString.uPressAndHoldThisKey; |
| | | framePic.AddChidren(btnSecond); |
| | | |
| | | //长按图示按键5秒以上,指示灯变绿、闪烁 |
| | | //进入配网状态。绿灯快闪3秒则配网成功 |
| | | //按住面板模式按键5秒,绿色指示灯闪烁 |
| | | //进入配网状态;闪烁停止 |
| | | //指示灯变白色表示配网成功 |
| | | string[] msgArry = Language.StringByID(R.MyInternationalizationString.AddFreshAirPanelMsg).Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries); |
| | | |
| | | var msg1 = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false); |
| | |
| | | msg1.TextColor = UserCenterColor.Current.TextGrayColor3; |
| | | msg1.TextAlignment = TextAlignment.Center; |
| | | bodyFrameLayout.AddChidren(msg1); |
| | | |
| | | var msg2 = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false); |
| | | msg2.Y = msg1.Bottom; |
| | | if (msgArry.Length > 1) |
| | |
| | | msg2.TextColor = UserCenterColor.Current.TextGrayColor3; |
| | | msg2.TextAlignment = TextAlignment.Center; |
| | | bodyFrameLayout.AddChidren(msg2); |
| | | |
| | | var msg3 = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false); |
| | | msg3.Y = msg2.Bottom; |
| | | if (msgArry.Length > 1) |
| | | { |
| | | msg3.Text = msgArry[2]; |
| | | } |
| | | msg3.TextColor = UserCenterColor.Current.TextGrayColor3; |
| | | msg3.TextAlignment = TextAlignment.Center; |
| | | bodyFrameLayout.AddChidren(msg3); |
| | | |
| | | } |
| | | #endregion |
| | | } |