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/Gateway/Add/MiniGatewayDirection1Form.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs index 76609fd..ac15fb6 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs +++ b/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) -- Gitblit v1.8.0