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.Service.PRD.Interface
{
    public interface IBoxApiService
    {
        Task<PrivModel> GetUserPriv(string openId,string deviceCode);
        Task<bool> AddDevData(string C_DeviceCode, string C_ConfigCode, string C_Value);
        Task<bool> AddDevAlert(string C_DeviceCode, string C_ConfigCode, string C_Value);
        Task<TDEV_Device> GetDeviceInfo(string C_MachineCode);
        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();
    }

}