Exemplo n.º 1
0
        public bool Write(int Tiefe, string path, DMS.FC.ContentVector vec)
        {
            DsFilesClassification.ContentVecRow row = _tab.NewContentVecRow();
            row.depth = Tiefe;
            row.path  = path;
            row.ArchiveBitSetCount     = vec.ArchiveBitSetCount;
            row.SumArchiveBitFileSize  = vec.ArchiveBitSetSizeInBytes;
            row.FileCount              = vec.FileCount;
            row.SumFilesSize           = vec.SizeInBytes;
            row.FotosCount             = vec.FotosCount;
            row.SumFotosSize           = vec.FotosSizeInBytes;
            row.OfficeCount            = vec.OfficeCount;
            row.SumOfficeFilesSize     = vec.OfficeSizeInBytes;
            row.OtherCount             = vec.OtherCount;
            row.SumOtherFilesSize      = vec.OtherSizeInBytes;
            row.SourceCodeCount        = vec.SourceCodeCount;
            row.SumSourceCodeFilesSize = vec.SourceCodeSizeInBytes;
            row.VideosCount            = vec.VideosCount;
            row.SumVideosFilesSize     = vec.VideosSizeInBytes;
            row.WebCount        = vec.WebCount;
            row.SumWebFilesSize = vec.WebSizeInBytes;

            _tab.AddContentVecRow(row);

            return(true);
        }