private ArubaRun[] InitializeRuns()
        {
            var runs = new ArubaRun[EntitiesCount];

            for (var i = 0; i < EntitiesCount; i++)
            {
                var run = new ArubaRun
                {
                    Id       = i,
                    Name     = "Run Name" + i,
                    Purpose  = i + 10,
                    Tasks    = new List <ArubaTask>(),
                    Geometry = DbGeometry.FromText(string.Format("POINT (1{0}.0 2{1}.0)", i % 8, 8 - i % 8), 32768),
                };
                runs[i] = run;
            }

            return(runs);
        }
Esempio n. 2
0
        private ArubaRun[] InitializeRuns()
        {
            var runs = new ArubaRun[EntitiesCount];
            for (var i = 0; i < EntitiesCount; i++)
            {
                var run = new ArubaRun
                {
                    Id = i,
                    Name = "Run Name" + i,
                    Purpose = i + 10,
                    Tasks = new List<ArubaTask>(),
                    Geometry = DbGeometry.FromText(string.Format("POINT (1{0}.0 2{1}.0)", i % 8, 8 - i % 8), 32768),
                };
                runs[i] = run;
            }

            return runs;
        }