From 427219cc4f6c182a835d1be7d247a1832b98ba23 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 12 七月 2023 20:54:07 +0800 Subject: [PATCH] 门锁设置页面错误提示优化 --- HDL_ON/Entity/Function/Function.cs | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 323eb48..0960b7e 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -816,11 +816,15 @@ case FunctionAttributeKey.CCT: case FunctionAttributeKey.RGB: case FunctionAttributeKey.Angle: + case FunctionAttributeKey.Colorful: + case FunctionAttributeKey.ColorfulBegin: + case FunctionAttributeKey.ColorfulEnd: + case FunctionAttributeKey.ColorfulTime: case "security": //case FunctionAttributeKey.FadeTime: if (attr.curValue.ToString() == "{}") { - if (attr.key == FunctionAttributeKey.OnOff) + if (attr.key == FunctionAttributeKey.OnOff || attr.key == FunctionAttributeKey.Colorful) { attr.curValue = "off"; } @@ -869,7 +873,6 @@ UintString = us, key = attr.key, value = attr.curValue.ToString(), max = attr.max, min = attr.min }); } - break; } } @@ -1467,9 +1470,14 @@ /// <summary> - /// 鐚溂 + /// 鐚溂(鏃pk) /// </summary> public const string Peephole = "peephole"; + + /// <summary> + /// 鐚溂(鏂皊pk 鏆傛椂娌$敤) + /// </summary> + //public const string PeepholeEz = "security.peephole.ez"; /// <summary> /// 钀ょ煶瑙嗛闂ㄩ攣 /// </summary> -- Gitblit v1.8.0