From 6cc05bf6044c72f63b289da6b0a542970b16ef75 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 14 十二月 2021 12:36:33 +0800
Subject: [PATCH] On Pro

---
 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