HDL_ON/Entity/Function/Light.cs
@@ -11,10 +11,13 @@ /// 获取rgb颜色 /// </summary> /// <returns></returns> public int GetRGBcolor(Function function ) public int GetRGBcolor(Function function ,string rgbString ="") { var color = function.GetAttrState(FunctionAttributeKey.RGB).Split(","); if(!string.IsNullOrEmpty(rgbString)) { color = rgbString.Split(","); } if(color.Length!= 3) { color = new string[] {"100", "100", "100" };