From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
index 74d326b..d7f3ef3 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
@@ -52,7 +52,7 @@
                     return;
                 }
                 var form = new WirelessApSelectNetworkForm();
-                this.AddFromAndRemoveNowForm(form);
+                this.AddFormAndCloseNowForm(form);
             };
             //濡傛灉涓嶆槸缃戝叧鐑偣
             if (HdlWifiLogic.Current.IsGatewayHotspot == false)
@@ -62,15 +62,14 @@
 
             //鍥剧墖
             var framePic = new FrameLayout();
-            framePic.Width = Application.GetMinRealAverage(852);
-            framePic.Height = Application.GetMinRealAverage(478);
+            framePic.Width = this.GetPictrueRealSize(852);
+            framePic.Height = this.GetPictrueRealSize(478);
             framePic.Gravity = Gravity.CenterHorizontal;
             framePic.Y = Application.GetRealHeight(285);
             framePic.BackgroundImagePath = "Gateway/WirelessGatewaySearching.png";
             bodyFrameLayout.AddChidren(framePic);
 
-            //璺宠浆鍒扮Щ鍔ㄨ澶嘩LAN璁剧疆
-            //閫夋嫨hdlZigbeeGW-xxxx缃戠粶
+            //鎵嬫満鍘昏缃繛鎺ョ綉鍏崇儹鐐箋0}鍗砲dlZigbeeGW-xxxx,瀵嗙爜hdl123456{0}鍙煡鐪嬬綉鍏宠儗闈㈡爣绛炬煡鐪嬬儹鐐瑰悕瀛楀拰瀵嗙爜
             string[] ArryMsg = Language.StringByID(R.MyInternationalizationString.uAddApWirelessGatewayMsg2).Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries);
             int yy = framePic.Bottom + Application.GetRealHeight(213);
             foreach (var msg in ArryMsg)
@@ -98,8 +97,8 @@
             };
             bodyFrameLayout.AddChidren(btnSettion);
             //搴曠嚎
-            int lineWidth = btnSettion.GetRealWidthByText(12);
-            var btnLine1 = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
+            int lineWidth = btnSettion.GetRealWidthByText();
+            var btnLine1 = new NormalViewControl(lineWidth, HdlControlResourse.BottomLineHeight, false);
             btnLine1.BackgroundColor = 0xff0075ff;
             btnLine1.Gravity = Gravity.CenterHorizontal;
             btnLine1.Y = btnSettion.Bottom - Application.GetRealHeight(8);
@@ -109,8 +108,8 @@
             var btnHelp = this.AddHelpControl();
             btnHelp.ButtonClickEvent += (sender, e) =>
             {
-                var form = new DeviceDirection.DeviceDirectionHelpForm();
-                form.AddForm("WirelessUdp");
+                var form = new AddGatewayHelpForm();
+                form.AddForm("Ap");
             };
         }
 

--
Gitblit v1.8.0