Example #1
0
        public List<string> printStore()
        {
            List<string> s = new List<string>();

            for (int i = 0; i < Locations.Count - 1; i++)
            {

                Location L = new Location();
                L = (Location)Locations[i];

               // s += L.toString() + '\t' + '\t';
                s.Add(L.toString());

            }

            return s;
        }
Example #2
0
        public Location LocationCreattor(String textline)
        {
            string[] a = textline.Split(',');

            Location L = new Location(double.Parse(a[1]), double.Parse(a[3]), a[2], a[4]);

            return L;
        }
Example #3
0
 public void addLocation(Location L)
 {
     Locations.Add(L);
 }