From 02a194a40228251fef82dbca6c7687263b55b0b9 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 13 四月 2023 14:36:44 +0800
Subject: [PATCH] 2023年04月13日14:33:48

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
index be9b2c6..7055171 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
@@ -414,12 +414,15 @@
                                         for (int b = 0; b < dicList.Count; b++)
                                         {
                                             var dic = dicList[b];
-                                            var userId = dic["value"].ToString();
-                                            var FaceItem = this.GetVideoDoorLockUserItem(userId, device);
-                                            s += FaceItem.userName;
+                                            //var userId = dic["value"].ToString();
+                                            //var FaceItem = this.GetVideoDoorLockUserItem(userId, device);
+                                            //s += FaceItem.userName;
+                                            //s += ",";
+                                            //tag += FaceItem.userId;
+                                            //tag += "_";
+                                            var userName = dic["value"].ToString();
+                                            s += userName;
                                             s += ",";
-                                            tag += FaceItem.userId;
-                                            tag += "_";
                                         }
                                         inputView.btnState.Text = s;
                                     }
@@ -445,10 +448,10 @@
                                                 var FaceItem = this.GetFaceItem(userId, device.deviceId);
                                                 s += FaceItem.userName;
                                                 s += ",";
+
+
                                             }
-                                            //string userId = this.GetKeyValue("user_id",dicList);
-                                            //var FaceItem = this.GetFaceItem(userId, device.deviceId);
-                                            //inputView.btnState.Text = FaceItem.userName;
+                                           
                                         }
                                         inputView.btnState.Text = s;
                                     }
@@ -2170,12 +2173,15 @@
                         for (int b = 0; b < dicList.Count; b++)
                         {
                             var dic = dicList[b];
-                            var userId = dic["value"].ToString();
-                            var FaceItem = this.GetVideoDoorLockUserItem(userId, device);
-                            s += FaceItem.userName;
+                            //var userId = dic["value"].ToString();
+                            //var FaceItem = this.GetVideoDoorLockUserItem(userId, device);
+                            //s += FaceItem.userName;
+                            //s += ",";
+                            //tag += FaceItem.userId;
+                            //tag += "_";
+                            var userName = dic["value"].ToString();
+                            s += userName;
                             s += ",";
-                            tag += FaceItem.userId;
-                            tag += "_";
                         }
                         button1.Text = s;
                         button1.Tag = tag;

--
Gitblit v1.8.0