Пример #1
0
        private void PopulatePointsList()
        {
            Random rnd = new Random();

            for (int i = 0; i < 1000; i++)
            {
                InspectionPoint p = new InspectionPoint(0.0f, 0.0f, "1");
                p.x    = (float)rnd.NextDouble();
                p.y    = (float)rnd.NextDouble();
                p.code = i.ToString();
                InspectionPoints.Add(p);
            }
        }
Пример #2
0
 protected override Tuple <long, int, int, int> GetIndexKey(InspectionPoint record) => record.GetPrimaryKey();