Esempio n. 1
0
        /// <summary>
        /// ORMultiTTFilePreliminaryRead
        /// Reads MultiTTfile for preliminary info
        /// </summary>
        /// <param name="filePath"></param>
        /// <param name="directory"></param>
        /// <param name="scrStream"></param>

        void MultiTTFilePreliminaryRead(String filePath, String directory, StreamReader scrStream)
        {
            var(description, ttfiles) = TimetableGroupFileUtilities.ReadMultiTTFiles(directory, scrStream);
            Description = description;
            ORTTInfo    = (from ttfile in ttfiles
                           select new TimetableFileLite(ttfile)).ToList();
        }
Esempio n. 2
0
        /// <summary>
        /// MultiTTFileRead
        /// Reads multiTTfile and extracts filenames
        /// </summary>
        /// <param name="filePath"></param>
        /// <param name="directory"></param>
        /// <param name="scrStream"></param>

        void MultiTTFileRead(String filePath, String directory, StreamReader scrStream)
        {
            var(description, ttfiles) = TimetableGroupFileUtilities.ReadMultiTTFiles(directory, scrStream);
            Description = description;
            TTFiles     = ttfiles.ToList();
        }