From 171bf03f3664226eeff2b20ee9bd2e914b63a17d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 13 三月 2020 09:18:50 +0800 Subject: [PATCH] 20200313 --- HDL_ON/Entity/Function/Light/Light.cs | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/Function/Light/Light.cs b/HDL_ON/Entity/Function/Light/Light.cs index 140aed3..b3d064f 100644 --- a/HDL_ON/Entity/Function/Light/Light.cs +++ b/HDL_ON/Entity/Function/Light/Light.cs @@ -6,11 +6,21 @@ { public class Light : Function { + /* + 鐏厜绫伙細trait: [switch,brightness,color,cct,delay,fadeTime] + 灞炴�� 鎻忚堪 + switch on/off; + brightness 0-100; + color int (red (0-255) green (0-255) blue (0-255)) + cct int (warm light(0-255) cold light (0-255) ) + delay 0-3600s + fadetime 0-3600s + */ public Light() { } /// <summary> - /// + /// 鑾峰彇鍔熻兘绫诲瀷 /// </summary> /// <returns></returns> protected override string GetFunctionType() -- Gitblit v1.8.0