IBoxApiService.cs 973 B

12345678910111213141516171819202122232425
  1. using Ropin.Inspection.Model.Entities;
  2. using Ropin.Inspection.Model.SearchModel.PRD;
  3. using Ropin.Inspection.Model.ViewModel.PRD;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Ropin.Inspection.Service.PRD.Interface
  10. {
  11. public interface IBoxApiService
  12. {
  13. Task<PrivModel> GetUserPriv(string openId,string deviceCode);
  14. Task<bool> AddDevData(string C_DeviceCode, string C_ConfigCode, string C_Value);
  15. Task<bool> AddDevAlert(string C_DeviceCode, string C_ConfigCode, string C_Value);
  16. Task<TDEV_Device> GetDeviceInfo(string C_MachineCode);
  17. Task<List<ProductModel>> GetProductInfo(List<epcModel> models);
  18. Task<List<ProductModel>> GetDevProductInfo(string c_DeviceCode);
  19. Task<bool> UpOffRackProduct(ProductInfoModel model);
  20. Task<UserModel> GetUserInfo(string openid);
  21. Task<List<TDEV_Device>> GetAllDeviceInfo();
  22. }
  23. }