public static bool isExistLocalDicom(DataListItem dataListItem) { string folder = Path.Combine(AirwayCT.Entity.AirwayPatients.BaseDicomFolder, dataListItem.PatientName + "_" + dataListItem.StudyInstanceUID); int count = FileDAO.GetFilesCount(folder); if (count < localDicomCount) { return(false); } else { return(true); } }