示例#1
0
 public InfoDisplay loadImage(InfoDisplay image)
 {
     image.InfoDataList = Bl.BlReferential.searchInfo(new QOBDCommon.Entities.Info {
         Name = image.TxtFileNameWithoutExtension
     }, ESearchOption.AND);
     image.downloadFile();
     return(image);
 }
示例#2
0
 public static InfoDisplay downloadPicture(this InfoDisplay image, string ftpDirectory, string localDirectory, string recordedFileName, string fileName, List <Info> ftpCredentialInfoList)
 {
     if (ftpCredentialInfoList.Count > 0)
     {
         image = image.getPicture(ftpDirectory, localDirectory, recordedFileName, fileName, ftpCredentialInfoList);
         if (image != null)
         {
             image.downloadFile();
         }
     }
     return(image);
 }