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()