using NPOI.SS.UserModel;
using Performance.DtoModels;
using System;
using System.Collections.Generic;
using System.Text;

namespace Performance.Services
{
    public interface IPerSheetDataRead : IAutoInjection
    {
        /// <summary>
        /// excel 列头及数据 配置信息
        /// </summary>
        PerSheetPoint Point { get; }

        /// <summary>
        /// 读取数据
        /// </summary>
        /// <param name="sheet"></param>
        /// <param name="perHeader"></param>
        /// <returns></returns>
        List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader);
    }
}
