using System.Collections.Generic;
using Siger.Middlelayer.Repository.Paged;
using Siger.Middlelayer.TpmRepository.Entities;
using Siger.Middlelayer.TpmRepository.Response;
using Siger.Middlelayer.Utility.ImportEntities;

namespace Siger.Middlelayer.TpmRepository.Repositories.Interface
{
    public interface IFaultTypeRepository : ITpmRepositoryBase<siger_project_machine_fault>
    {
        IPagedCollectionResult<ResponseGetInvalidMode> GetPagedInvalidMode(int machineTypeId, int projectId, int page,
            int pagesize);

        CommonImportResult ImportFaultType(IEnumerable<FaultTypeList> types, int projectId, int userId);
    }
}
