From 44aa189d9e01f8c0d19e00e44f1ef419ff2cc093 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 08 十二月 2022 22:36:38 +0800 Subject: [PATCH] 2022年12月08日22:36:36 --- 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