using MadRunFabric.Common;
using MadRunFabric.Model.EquipmentApi.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace EquipmentApi.IRepositories
{
    /// <summary>
    /// 工单超时
    /// </summary>
    public interface IWo_TimeOutRepository : IRepository<Wo_TimeOut, string>
    {
        /// <summary>
        /// 获取设备运行列表 by page
        /// </summary>
        /// <param name="sysnameid"></param>
        /// <param name="equipmentid"></param>
        /// <param name="createby"></param>
        /// <param name="daytype"></param>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListsByPage(int wotype, string stime, string etime, string rolecode, string usercode, int pageIndex, int pageSize, out int recordCount);

        /// <summary>
        /// 获取设备运行详情 by id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        object GetDetails(string id);
    }
}
