using Ropin.Inspection.Model.Entities;
using Ropin.Inspection.Model.SearchModel.PRD;
using Ropin.Inspection.Model.ViewModel.PRD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Repository.PRD.Interface
{
    public interface IBoxApiRepository : IRepositoryBase<TSYS_User>, IRepositoryBaseById<TSYS_User, Guid>
    {
        Task<PrivModel> GetUserPriv(string openId,string deviceCode);
        Task<bool> AddDevData(TDEV_DevData devData);
        Task<bool> AddDevAlert(TDEV_DevAlert devAlert);
        Task<TDEV_Device> GetDeviceInfo(string C_MachineCode);
        Task<List<TSYS_User>> GetAllUser();
        Task<TDEV_DevAlertConfig> GetDevAlertConfig(string C_ConfigCode);
        Task<List<ProductModel>> GetProductInfo(List<epcModel> models);
        Task<List<ProductModel>> GetDevProductInfo(string c_DeviceCode);
        Task<bool> UpOffRackProduct(ProductInfoModel model);
        Task<UserModel> GetUserInfo(string openid);
        Task<List<TDEV_Device>> GetAllDeviceInfo();
    }
}