From ae86b09b30621e1a8512c6bcdd7e22e9c67a5402 Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期二, 17 五月 2022 14:02:06 +0800 Subject: [PATCH] Merge branch 'dev' into lss --- 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