示例#1
0
        public List<Call> CellIDduplication(string[] filePaths)
        {
            TableExtractor tblExt = new TableExtractor();
            CallTable = new List<Call>();
            foreach (string filePath in filePaths)
            {
                CallTable.AddRange(tblExt.Extract(filePath));
            }

            Call duplicatedCall;
            foreach (Call e in CallTable.Where(x => x.CellIDOwner.Equals(x.CellIDInterlocutor)).ToList())
            {
                duplicatedCall = new Call(e.IMEI, e.Interlocutor, e.Owner, e.Interlocutor, e.Owner);

                CallTable.Add(duplicatedCall);
            }

            return CallTable;
        }
示例#2
0
 static void Main(string[] args)
 {
     TableExtractor tbl = new TableExtractor();
     tbl.Extract("");
     Console.ReadLine();
 }