예제 #1
0
        public static List <Trip.Attr> ImportTripDataFromFile(string filepath)
        {
            Stopwatch stopwatch = new Stopwatch();

            #region ImportDataFromFile
            stopwatch.Restart();
            Console.WriteLine(">Import Data<");
            var Trips = BinaryStream.ImportBinaryFile <Trip.Attr>(new StreamReader(filepath).BaseStream);
            Console.WriteLine("Execution Time: {0} Seconds\n", (float)stopwatch.ElapsedMilliseconds / 1000);

            return(Trips.ToList());

            #endregion
        }