From b4f5f74d74a0a0996358d8348956601b30f17266 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 08 十二月 2021 16:07:51 +0800
Subject: [PATCH] 隐藏安防

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

diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs
index cbcb003..6576dcb 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs
@@ -43,8 +43,8 @@
                 Text = alarm.noticeConfig.noticeContent,
                 TextSize = UI2.Intelligence.Automation.LogicView.TextSize.text14,
                 TextColor = CSS.CSS_Color.textColor,
-                PlaceholderText = Language.StringByID(StringId.xianzhichangdu),//"(100瀛椾互鍐�)",
-                PlaceholderTextColor = CSS.CSS_Color.textCancelColor,
+                //PlaceholderText = Language.StringByID(StringId.xianzhichangdu),//"(100瀛椾互鍐�)",
+                //PlaceholderTextColor = CSS.CSS_Color.textCancelColor,
                 BackgroundColor = CSS.CSS_Color.textWhiteColor,
 
             };
@@ -155,13 +155,14 @@
                 if (selectedAccountList.Count > 0)
                 {
                     alarm.pushConfigs.Clear();//娓呯┖鏃ф暟鎹垪琛�
-                    alarm.pushConfigs.Add(new Entity.SecurityPushConfig { pushTarget = selectedAccountList });
+                    alarm.pushConfigs.Add(new Entity.SecurityPushConfig { pushMethod = "APP", pushTarget = selectedAccountList });
                 }
                 //璐﹀彿鍒楄〃涓虹┖榛樿鎺ㄩ�佸綋鍓嶈处鍙�
                 if (alarm.pushConfigs.Count == 0)
                 {
                     //鍒濆鍖栧璞�
                     Entity.SecurityPushConfig pushConfigs = new Entity.SecurityPushConfig();
+                    pushConfigs.pushMethod = "APP";
                     //榛樿娣诲姞鎺ㄩ�佸綋鍓嶈处鍙�
                     pushConfigs.pushTarget.Add(UserInfo.Current.ID);
                     alarm.pushConfigs.Add(pushConfigs);

--
Gitblit v1.8.0