From bff7d177c77523195575cca5ca550da4ae5270bd Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 10 一月 2023 09:34:00 +0800
Subject: [PATCH] 空调界面完善
---
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