| | |
| | | /// <summary> |
| | | /// 显示的设备的总数 |
| | | /// </summary> |
| | | int showCount = 0; |
| | | int showCount = -1; |
| | | |
| | | /// <summary> |
| | | /// 加载功能row |
| | |
| | | { |
| | | if (!isAppend) |
| | | { |
| | | showCount = 0; |
| | | showCount = -1; |
| | | functionListView.RemoveAll(); |
| | | } |
| | | int i = 0; |
| | | |
| | | |
| | | |
| | | foreach (var function in functions) |
| | | for(var i =0;i<100;i++) |
| | | //foreach (var function in functions) |
| | | { |
| | | i++; |
| | | if (i > 100) |
| | | showCount++; |
| | | if (showCount >= functions.Count) |
| | | { |
| | | break; |
| | | } |
| | | showCount++; |
| | | var function = functions[showCount]; |
| | | var functionDiv = new OrderFunctionRow() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |