From 3532db3610381f37eca1a6ac783d882517847c91 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 31 三月 2021 15:28:49 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 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..a4884ea 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
@@ -1,5 +1,6 @@
 锘縰sing System;
 using System.Collections.Generic;
+using System.Text;
 using HDL_ON.Entity;
 using HDL_ON.UI.UI2.Intelligence.Automation.LogicView;
 using Shared;
@@ -7,8 +8,12 @@
 {
     public class PirMain : FrameLayout
     {
+        /// <summary>
+        /// 鏋勯�犲嚱鏁�
+        /// </summary>
         public PirMain()
         {
+            /// 鏍囪鐣岄潰
             Tag = "PirMain";
         }
         /// <summary>
@@ -87,12 +92,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 +123,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)
@@ -148,8 +148,8 @@
             #endregion
             ///鍒濆鍖栫晫闈�
             UIView(vv);
-
         }
+
         /// <summary>
         /// 鍔犺浇UI鐣岄潰
         /// </summary>
@@ -358,7 +358,6 @@
         public override void RemoveFromParent()
         {
             BackAction();
-            BackAction = null;
             base.RemoveFromParent();
         }
 

--
Gitblit v1.8.0