From dcf60777c9346ff058f06298d03173f0c53d1902 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 16 十二月 2020 20:42:15 +0800 Subject: [PATCH] 20201216-4 --- HDL_ON/Entity/Function/Function.cs | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 7611105..d6d1e9b 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -295,8 +295,8 @@ { sFunc.status.Add(new SceneFunctionStatus() { key = attr.key, value = attr.curValue.ToString() }); } - sFunc.sid = this.sid; } + sFunc.sid = this.sid; return sFunc; } @@ -464,7 +464,11 @@ /// <summary> /// 棰滆壊 /// </summary> - public const string Color = "color"; + public const string RGB = "rgb"; + /// <summary> + /// 娓愬彉鏃堕棿 + /// </summary> + public const string FadeTime = "fade_time"; /// <summary> /// 妯″紡 /// </summary> @@ -625,15 +629,15 @@ /// <summary> /// 瀹剁數銆佹彃搴� /// </summary> - public const string ElectricSocket = "electric.socket "; + public const string ElectricSocket = "electrical.socket"; /// <summary> /// 瀹剁數銆佺數瑙� /// </summary> - public const string ElectricTV = "electric.tv"; + public const string ElectricTV = "electrical.tv"; /// <summary> /// 瀹剁數銆侀鎵� /// </summary> - public const string ElectricFan = "electric.fan"; + public const string ElectricFan = "electrical.fan"; } } \ No newline at end of file -- Gitblit v1.8.0