From fd3c74df4d30a88d490d0c5b469df821f1bb2d78 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期二, 04 八月 2020 14:53:25 +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