Beispiel #1
0
 public OperationResult writeIFSRegisterForNotaCreditoN4(List <IFSRegister> registers)
 {
     try
     {
         OperationResult result  = new OperationResult();
         string          name    = String.Format(_NC_FORMAT, DateFormatter.getShortDate(), DateFormatter.getHour());
         string          path    = this._connectionString + name;
         string          content = this.IFSRegistersToCSV(registers);
         this.writeContent(path, content);
         result[IFSKeys.FILE]     = name;
         result[IFSKeys.FILEDATA] = content;
         return(result);
     }
     catch (Exception ex)
     {
         this._iLogService.Error(ex.Message);
     }
     return(null);
 }