From 6934fe9d13cb1eb7c8418f4afdff634e1611ad47 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 17 十一月 2023 11:17:42 +0800
Subject: [PATCH] 增加调试权限开关失败提示

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs      |    2 ++
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs |    9 +++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index af8ae15..1957662 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -775,6 +775,7 @@
                         }
                     }
                     break;
+                    //鐚溂
                 case SPK.Peephole:
                     LogicView.FunTypeView viewPeephole = new LogicView.FunTypeView();
                     viewPeephole.btnText.TextID = StringId.ActivityDetection;
@@ -791,6 +792,7 @@
                         this.GetEditState(device, index, viewPeephole.btnState, null, null, null);
                     }
                     break;
+                    //钀ょ煶鎽勫儚澶�
                 case SPK.Ev_Ipcam:
                     LogicView.FunTypeView viewEzIpcam = new LogicView.FunTypeView();
                     viewEzIpcam.btnText.TextID = StringId.ActivityDetection;
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs
index e956e63..8f4ed6e 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs
@@ -545,9 +545,18 @@
                                         LoadPage();
                                     });
                                 }
+                                else
+                                {
+                                    Application.RunOnMainThread(() => {
+                                        IMessageCommon.Current.ShowErrorInfoAlter(pack.Code);
+                                    });
+                                }
                             }
                         }catch(Exception ex)
                         {
+                        }
+                        finally
+                        {
                             Application.RunOnMainThread(() => {
                                 waitPage.Hide();
                             });

--
Gitblit v1.8.0