From 23420922845c9e77019a55c3b3e3271eb1ec261e Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 13 七月 2020 11:42:18 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
index 5c66c54..5cdd8b4 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
@@ -17,9 +17,13 @@
         /// </summary>
         public Action FloorAction = null;
         /// <summary>
-        /// 閫変腑鐨勬ゼ灞傚洖璋僛
+        /// 閫変腑鐨勬ゼ灞傚洖璋�
         /// </summary>
         public Action<string, Button> ChooseFloorAction = null;
+        /// <summary>
+        ///  閲嶆柊鍔犺浇
+        /// </summary>
+        public Action ReLoadAction = null;
 
         public FrameLayout topFrameLayout = new FrameLayout { Height = Application.GetRealHeight(184), BackgroundColor = ZigbeeColor.Current.XMTopFrameLayout };
         public FrameLayout midFrameLayout = new FrameLayout { Height = Application.GetRealHeight(1925 - 184), BackgroundColor = ZigbeeColor.Current.XMMidFrameLayout };
@@ -95,7 +99,7 @@
             btnTitle.Text = titleText;
         }
         /// <summary>
-        /// 闂ㄩ攣涓儴甯冨眬
+        /// 涓儴甯冨眬
         /// </summary>
         /// <param name="frameLayout"></param>
         public void MidFrameLayout(FrameLayout frameLayout)
@@ -106,7 +110,7 @@
         }
 
         /// <summary>
-        /// 闂ㄩ攣搴曢儴甯冨眬
+        /// 搴曢儴甯冨眬
         /// </summary>
         /// <param name="frameLayout"></param>
         public void BottomFrameLayout(FrameLayout frameLayout)
@@ -118,6 +122,28 @@
                 BackgroundColor = ZigbeeColor.Current.XMWhite,
             };
             this.midFrameLayout.AddChidren(bottomFrameLayout1);
+        }
+
+        /// <summary>
+        /// 鏄剧ず閲嶆柊鍔犺浇鐨勭晫闈�(涓昏鏄敤鍦ㄧ晫闈㈠姞杞介敊璇椂锛屽啀娆″姞杞�)
+        /// </summary>
+        public void ShowReLoadView()
+        {
+            var frame = new FrameLayout();
+            frame.BackgroundColor = UserCenterColor.Current.White;
+            frame.Tag = "ReLoadView";
+            this.midFrameLayout.AddChidren(frame);
+
+            //閲嶆柊鍔犺浇
+            var btnReLoad = new BottomClickButton();
+            btnReLoad.Gravity = Gravity.Center;
+            btnReLoad.TextID = R.MyInternationalizationString.uDoReload;
+            frame.AddChidren(btnReLoad);
+            btnReLoad.ButtonClickEvent += (sender, e) =>
+            {
+                ReLoadAction?.Invoke();
+                ReLoadAction = null;
+            };
         }
 
         /// <summary>
@@ -134,7 +160,6 @@
             btnFloorText = new Button
             {
                 Width = Application.GetRealWidth(300 - 69 - 58),
-                Text = Language.StringByID(R.MyInternationalizationString.FirstFloor),
                 TextColor = Shared.Common.ZigbeeColor.Current.XMBlack,
                 TextSize = 14,
                 IsBold = true,

--
Gitblit v1.8.0