From 6ee339fc947c01b08a6e549e232f320253f16120 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 14 九月 2023 18:04:03 +0800 Subject: [PATCH] 2023年09月14日18:04:01 --- HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs index 606c5b1..afa1a17 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using HDL_ON.Entity; using HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock; -using Com.Alibaba.Fastjson; + namespace HDL_ON.UI.UI2.Intelligence.Automation { @@ -60,6 +60,7 @@ public void Show(Entity.Function device, int index, bool edit) { + this.function = device; this.mEdit = edit; this.mIndex = index; @@ -1321,7 +1322,7 @@ tag += "_"; array[i] = face.userName; } - seleTxet= JSON.ToJSONString(array); + seleTxet = Newtonsoft.Json.JsonConvert.SerializeObject(array); //鏁版嵁灏佽<楂樿儨璇磋悿鐭抽偅杈规槸鎺ㄩ�佺敤鎴峰悕> AddDictionary("open_user",seleTxet, "string", "[]"); //鐣岄潰鏄剧ず閫変腑鍊� -- Gitblit v1.8.0