| | |
| | | |
| | | if (titleId == StringId.Lights) |
| | | { |
| | | functionList.AddRange(FunctionList.List.GetLightList()); |
| | | functionList.AddRange(FunctionList.List.groupControls); |
| | | functionList.AddRange(FunctionList.List.GetLightList()); |
| | | |
| | | |
| | | var lightScene = FunctionList.List.scenes.FindAll((obj) => obj.sceneType == SceneType.LightScene); |
| | |
| | | showCount = 0; |
| | | functionListView.RemoveAll(); |
| | | } |
| | | int i = 0; |
| | | foreach (var function in showList) |
| | | for(var i = 0;i<50;i++) |
| | | //foreach (var function in showList) |
| | | { |
| | | i++; |
| | | if (i > 50) |
| | | showCount++; |
| | | if (showCount >= showList.Count) |
| | | { |
| | | break; |
| | | } |
| | | showCount++; |
| | | var function = showList[showCount]; |
| | | |
| | | if (function.spk == SPK.SensorDryContact || function.spk == SPK.SensorDryContact2) |
| | | { |