From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28

---
 ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs
index 0632ca3..5380257 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs
@@ -107,6 +107,13 @@
                 gatewayRow.frameTable.AddBottomLine();
             }
 
+            var btnLink = new NormalViewControl(Application.GetRealWidth(700), gatewayRow.btnIp.Height, false);
+            btnLink.TextSize = 12;
+            btnLink.X = gatewayRow.btnIp.Right;
+            btnLink.Y = gatewayRow.btnIp.Y;
+            btnLink.Text = "鏈湴杩炴帴:" + i_gateway.localIsConnected.ToString();
+            gatewayRow.frameTable.AddChidren(btnLink);
+
             //瀹氫綅
             var btnPosition = new NormalViewControl(Application.GetRealWidth(184), gatewayRow.Height, false);
             btnPosition.BackgroundColor = 0xff4a4a4a;
@@ -120,6 +127,11 @@
                 //鍙戦�佸畾浣嶅懡浠�
                 HdlGatewayLogic.Current.SetFixedPositionCommand(i_gateway);
             };
+            gatewayRow.frameTable.ButtonClickEvent += (sender, e) =>
+            {
+                var form = new GatewayManage.GatewayInfoEditorForm();
+                form.AddForm(i_gateway);
+            };
         }
 
         #endregion

--
Gitblit v1.8.0