From 3ac6af7a0ea71ab16e76a21ed21d29ae1f942dff Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 16 三月 2023 09:56:25 +0800 Subject: [PATCH] 修复乐橙摄像头云台问题,增加人脸管理功能 --- HDL_ON/UI/UI2/2-Classification/ClassificaitionPublicBLL.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificaitionPublicBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificaitionPublicBLL.cs index a82f63f..ffd324b 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificaitionPublicBLL.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificaitionPublicBLL.cs @@ -112,6 +112,12 @@ { #region 绐楀笜鏇存柊 var onoffString = updataFunction.GetAttrState(FunctionAttributeKey.OnOff); + var percentAttr = updataFunction.GetAttribute(FunctionAttributeKey.Percent); + if(percentAttr != null) + { + onoffString = percentAttr.curValue.ToString() == "0" ? "off" : "on"; + } + if (onoffString == "stop") { return; -- Gitblit v1.8.0