Commit d3306b89 authored by 潘栩锋's avatar 潘栩锋 🚴

1

parent 3ed9d4ca
......@@ -375,11 +375,13 @@ namespace FLY.Weight.UI.Client.UIModule
else
{
Values.Clear();
List<FlyData_Flow> values = new List<FlyData_Flow>();
for (int i = 0; i < ValuesCap; i++)
{
int idx = i * bufferWindow.Record.Count / ValuesCap;
Values.Add(bufferWindow.Record[idx]);
values.Add(bufferWindow.Record[idx]);
}
Values.AddRange(values);
}
if (Values.Count() > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment