From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:22:48 +0800
Subject: [PATCH] 代码备份

---
 OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs |   29 ++++++-----------------------
 1 files changed, 6 insertions(+), 23 deletions(-)

diff --git a/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
index 7274673..52bc19e 100644
--- a/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
+++ b/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
@@ -502,29 +502,6 @@
             return list;
 
         }
-
-        /// <summary> 
-        ///  鑾峰彇闂ㄩ攣鐢ㄦ埛鍒楄〃(钀ょ煶瑙嗛闂ㄩ攣)
-        /// </summary>
-        /// <param name="deviceId">璁惧</param>
-        /// <returns></returns>
-        public List<Face> GetVideoDoorLockUserListInfo(Function device)
-        {
-            var userList = FuntionControlView.VideoDoorLock.VideDoorLockSend.Current.GetVideoDoorLockUserListInfo(device);
-            List<Face> faceIdList = new List<Face>();
-            for (int i = 0; i < userList.Count; i++)
-            {
-                Face face = new Face();
-                var user = userList[i];
-                face.userId = user.extUserId;
-                face.userName = user.extUserName;
-                faceIdList.Add(face);
-            }
-            VideoDoorLockUserListInfo.Clear();
-            VideoDoorLockUserListInfo.AddRange(faceIdList);
-            return faceIdList;
-        }
-
       
 
         /// <summary>
@@ -582,11 +559,17 @@
                 //澶辫触鏃舵槸鍚﹁鎻愮ず
                 if (isTip)
                 {
+                    if (r == null)
+                    {
+                        r = new ResponsePackNew { message = "娌″洖澶�,璇风‘璁ょ綉缁滄槸鍚︽甯�.", Code = "-1", };
+                    }
                     new LogicView.TipPopView().FlashingBox(r.message + $"({r.Code})");
                 }
             }
             return false;
         }
+
+
         /// <summary>
         /// 鎵撳嵃鏃ュ織
         /// </summary>

--
Gitblit v1.8.0