using System.Collections.Generic;
using XP.ReportEngine.Models;
namespace XP.ReportEngine.Interfaces
{
///
/// 报告数据适配器接口 | Report data adapter interface
/// 将 XP.ImageProcessing 的 OutputData 转换为 ReportContext
///
public interface IReportDataAdapter
{
///
/// 将处理器输出数据适配为报告上下文 | Adapt processor output data to report context
///
/// 处理器输出字典列表 | List of processor output dictionaries
/// 报告元数据 | Report metadata
/// 报告上下文 | Report context
ReportContext Adapt(List processorOutputs, ReportMetadata metadata);
}
}