using Siger.Middlelayer.QmsRepository.Entities;
using Siger.Middlelayer.QmsRepository.Response;
using Siger.Middlelayer.Repository.Paged;
using Siger.Middlelayer.Share.Models.Dashboard;
using System;
using System.Collections.Generic;

namespace Siger.Middlelayer.QmsRepository.Repositories.Interface
{
    public interface ICheckSnTraceInspectionRepository : IQmsRepositoryBase<siger_check_sn_trace_inspection>
    {
        IPagedCollectionResult<ResponseSendTestCollection> GetPagedList(List<int> sectionid, int productid, int routeid, int materialid, int checktype,
            string testroom, string result, int checkstatus, string sn, string starttime, string endtime, int projectid, int page, int pagesize, string toexcel);

        IEnumerable<siger_check_testroom> GetTestRoomSections(int projectid);

        IEnumerable<siger_check_sn_trace_detail> GetMonitorTraceDetails(int sectionid, int productid, int itemid, int checktype, string starttime, string endtime, int projectid);

        IEnumerable<QmsMetarialData> GetChkInspectionData(int project, DateTime begin, DateTime end);
        IEnumerable<siger_tr_sn_trace_detail> GetSnTraceDetails(int sectionid, string productid, string itemid
           , string starttime, string endtime, int projectid);
    }
        
}
