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); } }
protected override Tuple <long, int, int, int> GetIndexKey(InspectionPoint record) => record.GetPrimaryKey();