From bc8e768831cca0097a28d52a107d4edf00c3713a Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期一, 16 五月 2022 20:28:51 +0800
Subject: [PATCH] 1.导入全视通dll,增加全视通相关初始化、监听、访客、退出登录等方法 2.增加访客管理入口 3.增加全局判断是否支持全视通 4.增加自研判断 5.为全视通时隐藏通话记录界面

---
 HDL_ON/UI/UI2/2-Classification/FunctionPage.cs |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
index 3db5ac0..0d410f0 100644
--- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
@@ -37,6 +37,7 @@
 
         public void LoadPage(int titleId)
         {
+
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
             if (titleId == StringId.Lights)
             {
@@ -65,6 +66,38 @@
             {
                 new TopViewDiv(bodyView, Language.StringByID(titleId)).LoadTopView();
             }
+
+
+
+#if DEBUG
+            Button testBtn = new Button()
+            {
+                X = Application.GetRealWidth(80),
+                Height = Application.GetRealHeight(64),
+                BackgroundColor = 0xFFFF0000
+            };
+            bodyView.AddChidren(testBtn);
+            int ddd = 0;
+            testBtn.MouseUpEventHandler = (sender, e) => {
+                ddd++;
+            
+                    Function function_online = FunctionList.List.GetLightList().Find((obj) => obj.sid == "0001017DB92D2602020100010101");
+                if (ddd % 2 == 0)
+                {
+                    function_online.online = true;
+                }
+                else
+                {
+                    function_online.online = false;
+                }
+                HomePage.LoadEvent_RefreshDevcieOnline(function_online);
+                FunctionPage.UpdataOnline(function_online);
+                RoomPage.UpdataOnline(function_online);
+
+
+            };
+#endif
+
             /// <summary>
             /// 鎴块棿鍐呭鏄剧ず鍖哄煙
             /// </summary>

--
Gitblit v1.8.0