From 4975f3d6beb81e3967b1018d629be9c3410b9ea3 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 25 三月 2021 15:43:34 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
index 1ee2bb0..e05fc9a 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
@@ -7,8 +7,12 @@
 {
     public class PirMain : FrameLayout
     {
+        /// <summary>
+        /// 鏋勯�犲嚱鏁�
+        /// </summary>
         public PirMain()
         {
+            /// 鏍囪鐣岄潰
             Tag = "PirMain";
         }
         /// <summary>
@@ -87,12 +91,7 @@
 
                 SetPir setPir = new SetPir();
                 MainPage.BasePageView.AddChidren(setPir);
-                setPir.Show(() =>
-                {
-                    //BackAction();
-                    ////鍒锋柊鐣岄潰
-                    UIView(vv);
-                });
+                setPir.Show();
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
             };
             ///娣诲姞閬ユ帶鍣ㄥ浘鏍囩偣鍑讳簨浠�
@@ -123,7 +122,7 @@
                     {
                         if (if_value == 3 || if_value == 4 || if_value == 5 || if_value == 6)
                         {
-                            new TipPopView().FlashingBox("鏆傛椂涓嶆敮鎸佽鍔熻兘.");
+                            new TipPopView().FlashingBox(Language.StringByID(StringId.zanshibuzhichigaigongneng));
                             return;
                         }
                         if (DeviceTypeList.Count == 0)
@@ -358,7 +357,6 @@
         public override void RemoveFromParent()
         {
             BackAction();
-            BackAction = null;
             base.RemoveFromParent();
         }
 

--
Gitblit v1.8.0