using System;
using System.Collections.Generic;
using CncModels.Dto;
using CncModels.Dto.CollectLog;
using CncModels.Entity;

namespace CncRepository.Interface
{
    /// <summary>
    /// 采集分析仓储接口
    /// </summary>
    public interface ICollectAnalysisRepository
    {
        PagedResult<CollectAnalysisListItem> GetAnalysisList(CollectAnalysisQuery query);
        CollectAnalysisDetail GetAnalysisDetail(long id);
        List<CollectAnalysisListItem> GetAnalysisByRawLogId(long rawLogId);
        long Create(CollectAnalysis entity);
        int DeleteBeforeDate(DateTime date);
    }
}
