From 587c36e27131f2d028fcabc13b296a8de7470034 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期三, 08 一月 2020 08:59:19 +0800
Subject: [PATCH] 2019.1.8
---
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