From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/UserCenter/Member/MemberNotEsixtForm.cs | 70 +++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberNotEsixtForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberNotEsixtForm.cs new file mode 100755 index 0000000..bc949d3 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberNotEsixtForm.cs @@ -0,0 +1,70 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Text; + +namespace Shared.Phone.UserCenter.Member +{ + /// <summary> + /// 鎴愬憳涓嶅瓨鍦ㄧ殑鏄剧ず鐣岄潰 + /// </summary> + public class MemberNotEsixtForm : EditorCommonForm + { + #region 鈻� 鍙橀噺澹版槑___________________________ + + #endregion + + #region 鈻� 鍒濆鍖朹____________________________ + + /// <summary> + /// 鐢婚潰鏄剧ず(搴曞眰浼氬浐瀹氳皟鐢ㄦ鏂规硶锛屽�熶互瀹屾垚鐢婚潰鍒涘缓) + /// </summary> + /// <param name="i_titleText">鏍囬淇℃伅</param> + public void ShowForm(string i_titleText) + { + //璁剧疆澶撮儴淇℃伅 + base.SetTitleText(i_titleText); + + //鍒濆鍖栦腑閮ㄤ俊鎭� + this.InitMiddleFrame(); + } + + /// <summary> + /// 鍒濆鍖栦腑閮ㄤ俊鎭� + /// </summary> + private void InitMiddleFrame() + { + //娓呯┖bodyFrame + this.ClearBodyFrame(); + + var btnPic = new PicViewControl(383, 311); + btnPic.UnSelectedImagePath = "Item/MemberNotEsixtPic.png"; + btnPic.Gravity = Gravity.CenterHorizontal; + btnPic.Y = Application.GetRealHeight(392); + bodyFrameLayout.AddChidren(btnPic); + + //涓嶅瓨鍦ㄨ璐︽埛锛岃閲嶆柊杈撳叆 + var btnMsg = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(49), false); + btnMsg.TextAlignment = TextAlignment.Center; + btnMsg.TextColor = UserCenterColor.Current.TextGrayColor1; + btnMsg.TextSize = 12; + btnMsg.TextID = R.MyInternationalizationString.uMemberIsNotEsixtAndInputAgain; + btnMsg.Y = Application.GetRealHeight(870); + bodyFrameLayout.AddChidren(btnMsg); + + //杩斿洖 + var btnBack = new BottomClickButton(688); + btnBack.TextID = R.MyInternationalizationString.uGoBack; + bodyFrameLayout.AddChidren(btnBack); + btnBack.ButtonClickEvent += (sender, e) => + { + this.CloseForm(); + }; + } + + #endregion + + #region 鈻� 涓�鑸柟娉昣__________________________ + + #endregion + } +} -- Gitblit v1.8.0