From 666b28d77fc3c1b1dae61c9dfd878c8e683cef8c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 21 四月 2023 13:37:19 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/wjc' into Dev-Branch
---
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