From 5bfb959c47017825c8cf7dc8570c55b04dab694c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 09 六月 2021 16:42:11 +0800
Subject: [PATCH] Merge branch 'dev-tzy' into wxr6

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs
index f75583a..152dde5 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs
@@ -82,10 +82,10 @@
             editNameFLayout.btnClick.MouseUpEventHandler += (sender, e) =>
             {
                 List<string> list = new List<string>();
-                PirMethod method = new PirMethod();
+                Method method = new Method();
                 method.EditControlName(StringId.editName, list, Pir.currPir.name, (name, dialog) =>
                 {
-                    PirMethod.ThreadSend(new Control { deviceId = Pir.currPir.deviceId, name = name }, (responsePackNew) =>
+                    Method.ThreadSend(new Control { deviceId = Pir.currPir.deviceId, name = name }, (responsePackNew) =>
                     {
                         dialog.Close();
                         editNameFLayout.btnEditText.Text = name;
@@ -103,7 +103,7 @@
                 tipPopView.TipBox(StringId.tip, text, (dialog) =>
                 {
 
-                    PirMethod.ThreadSend(new Control { deviceId = Pir.currPir.deviceId }, (responsePackNew) =>
+                    Method.ThreadSend(new Control { deviceId = Pir.currPir.deviceId }, (responsePackNew) =>
                     {
                         var pir = Pir.pirDeviceList.Find((c) => c.deviceId == Pir.currPir.deviceId);
                         if (pir != null)
@@ -112,7 +112,7 @@
                         }
                         dialog.Close();
                         this.RemoveFromParent();
-                        PirMethod.RemoveView("PirMain");
+                        Method.RemoveView("PirMain");
                     }, "鍒犻櫎", "dialog", null, dialog);
 
                 }, () =>
@@ -132,7 +132,7 @@
         public override void RemoveFromParent()
         {
             //鍒锋柊PirMain鐣岄潰
-            PirMethod.RefreshView("PirMain");
+            Method.RefreshView("PirMain");
             base.RemoveFromParent();
           
         }

--
Gitblit v1.8.0