From b5f1a194d354ba9b2587c59ae17cf38d0f7f9bac Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 13 十二月 2021 16:38:23 +0800
Subject: [PATCH] 二维码闪退问题

---
 HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs
index 6f549d2..4fb69dd 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs
@@ -457,6 +457,13 @@
                 Action refreshAction = () =>
                 {
                     iniCustomDeploymentView();
+                    if (InDefenseMode != null)
+                    {
+                        if (InDefenseMode.sid == alarm.sid)
+                        {
+                            Control.Ins.ControlSecurity(InDefenseMode, "disable");
+                        }
+                    }
                 };
 
                     alarm = alarm.RefeshData();

--
Gitblit v1.8.0