| | |
| | | |
| | | var colorfulRgbList = FunctionList.List.GetLightList().FindAll((obj) => obj.spk == SPK.LightRGB |
| | | && obj.GetAttributes().Contains(FunctionAttributeKey.Colorful)); |
| | | if (colorfulRgbList.Count > 0) |
| | | //var seriesList = FunctionList.List.GetSeries(); |
| | | if (colorfulRgbList.Count > 0 || FunctionList.List.GetSeries().Count>0) |
| | | { |
| | | LogicView.SelectTypeView seriesView = new LogicView.SelectTypeView(); |
| | | seriesView.frameLayout.Y = securityView.frameLayout.Bottom; |
| | | seriesView.btnText.TextID = StringId.HorseRaceLamp; |
| | | seriesView.btnIcon.UnSelectedImagePath = "FunctionIcon/Icon/SeriesIcon.png"; |
| | | seriesView.btnIcon.UnSelectedImagePath = "FunctionIcon/Icon/HorseRaceLampIcon.png"; |
| | | viewLayout.AddChidren(seriesView.FLayoutView()); |
| | | seriesView.btnClick.MouseUpEventHandler = (sender, e) => |
| | | { |