From bb1cf8ac9390ebb1397508e59d8847b0896f8d29 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 19 七月 2023 09:15:35 +0800 Subject: [PATCH] Update RGBPage.cs --- 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