From a879e5dac4fc7cee747e25a63002c40462cdaef7 Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期四, 26 五月 2022 11:39:43 +0800 Subject: [PATCH] 兼容全视通可视对讲 --- HDL_ON/Entity/Function/Function.cs | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 3772dc2..b64d1e6 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -556,6 +556,13 @@ SaveFunctionFile(); if (pack.Code == StateCode.SUCCESS) { + if (UI.RoomPage.bodyView != null) + { + Application.RunOnMainThread(() => + { + UI.RoomPage.bodyView.ReLoadPage(); + }); + } } else { @@ -709,12 +716,8 @@ sendDataObj.time_stamp = Utlis.GetTimestamp(); var acd = new AlinkDoorlockStatus(); acd.sid = sid; - acd.user_id = userId; + acd.user_id = extStr; acd.ext_str = extStr; -#if DEBUG - acd.user_id = "013"; - acd.ext_str = "999999"; -#endif sendDataObj.objects.Add(acd); return sendDataObj; } -- Gitblit v1.8.0