From d9ec9be857367028edaeffb6092b141664a81c45 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期日, 23 一月 2022 11:30:46 +0800
Subject: [PATCH] 房间设备刷新

---
 HDL_ON/Entity/Function/Function.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index 3772dc2..ca8413a 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
                 {

--
Gitblit v1.8.0