From b8c54a7e4048317fc0f33c63a802d60396f82eb0 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 07 十二月 2022 17:31:59 +0800
Subject: [PATCH] 2022年12月07日17:31:56

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

diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
index dcff62d..87341e4 100644
--- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
@@ -186,6 +186,10 @@
             {
                 functionList.AddRange(FunctionList.List.GetMechanicalArmList());
             }
+            else if(titleId == StringId.SecurityMonitoring)
+            {
+                functionList.AddRange(FunctionList.List.GetIpCamImouList());
+            }
             functionList = functionList.OrderByDescending(o => o.controlCounter).ToList();
 
             ShowFunctionRow(functionList);
@@ -240,6 +244,23 @@
                     functionDiv.LoadFunctionDiv();
                     functionListView.AddChidren(functionDiv);
                 }
+                else if(function.spk == SPK.IpCam_Imou)
+                {
+                    var functionDiv = new FunctionControlZone(function)
+                    {
+                        Gravity = Gravity.CenterHorizontal,
+                        Width = Application.GetRealWidth(343),
+                        Height = Application.GetRealHeight(96),
+                        Radius = (uint)Application.GetMinRealAverage(12),
+                        BorderColor = 0x00FFFFFF,
+                        BorderWidth = 1,
+                        BackgroundColor = CSS_Color.MainBackgroundColor,
+                        Tag = function.spk + function.sid
+                    };
+                    functionDiv.LoadFunctionDiv();
+                    functionListView.AddChidren(functionDiv);
+
+                }
                 else
                 {
                     var functionDiv = new FunctionControlZone(function)

--
Gitblit v1.8.0