private bool SetupNextFiles(int index)
        {
            dTimeStamp1 = 0;
            dTimeStamp2 = 0;

            if (br != null)
            {
                br.CloseFile();
            }

            br = null;

            string f1 = ((BFileInfo)someBinaryFiles[index]).fileRec1;

            if (f1 != "")
            {
                br = new ByteReader(f1);
                br.OpenFile();
                Console.WriteLine("Opening file for read: " + f1);
            }

            if (br == null)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Sets up the next binary file to read the data from
        /// </summary>
        /// <param name="index"></param>
        /// <returns></returns>
        private bool SetupNextFiles(int index)
        {
            if (br != null)
            {
                br.CloseFile();
            }

            br = null;
            string f = ((string)someBinaryFiles[index]);

            if (f != "")
            {
                br = new ByteReader(f);
                br.OpenFile();
                Console.WriteLine("Opening file for read: " + f);
            }

            if (br == null)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }
Beispiel #3
0
 private void SetupFiles(String pathName)
 {
     br = new ByteReader(pathName);
     br.OpenFile();
 }