From 57ddcc855793fd41d1dca73bc1b6006713859d55 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 20 五月 2021 17:40:08 +0800
Subject: [PATCH] 2021-5-20-1

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
index a7ced2e..e6c1598 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
@@ -76,7 +76,7 @@
                     ////鍏抽棴鍒锋柊View锛�
                     vv.EndHeaderRefreshing();
 
-                    Method.GetControlList(this, () =>
+                    PirMethod.GetControlList(this, () =>
                     {
                         Application.RunOnMainThread(() =>
                         {
@@ -108,7 +108,7 @@
                     //1=绌鸿皟;2=鐢佃;3=椋庢墖;4=鏈洪《鐩�;5=DVD/EVD/VCD;6=鎶曞奖浠�;7=鑷畾涔�;
                     if (if_value == 7)
                     {
-                        Method method = new Method();
+                        PirMethod method = new PirMethod();
                         method.AddControl(this, (control) =>
                         {
                            //鎴愬姛鍚庣Щ闄�;
@@ -121,7 +121,7 @@
                     }
                     else
                     {
-                        if (if_value == 3 || if_value == 4 || if_value == 5 || if_value == 6)
+                        if (if_value == 6)
                         {
                             new TipPopView().FlashingBox(Language.StringByID(StringId.zanshibuzhichigaigongneng));
                             return;
@@ -149,7 +149,6 @@
             ///鍒濆鍖栫晫闈�
             UIView(vv);
         }
-
         /// <summary>
         /// 鍔犺浇UI鐣岄潰
         /// </summary>
@@ -209,7 +208,7 @@
                     TipPopView tipPopView = new TipPopView();
                     tipPopView.TipBox(StringId.tip, text, (dialog) =>
                     {
-                        Method.ThreadSend(new Control { deviceId=control.deviceId}, (responsePackNew) =>
+                        PirMethod.ThreadSend(new Control { deviceId=control.deviceId}, (responsePackNew) =>
                         {
                             dialog.Close();
                             var function = Pir.currPir.FunctioList.Find((c) => c.sid == Function.sid);
@@ -317,7 +316,7 @@
                 {
                     if (tag)
                     {
-                        Method method = new Method();
+                        PirMethod method = new PirMethod();
                         method.ErrorShow(responsePackNew, "");
                     }
                 }
@@ -364,7 +363,7 @@
                 }
                 else
                 {
-                    Method method = new Method();
+                    PirMethod method = new PirMethod();
                     method.ErrorShow(responsePackNew, "");
                 }
             }, id, "鍝佺墝鍒楄〃");

--
Gitblit v1.8.0