基础服务api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
858 B

  1. using BPA.SAAS.Manage.Application.Device.Dtos.Device;
  2. using BPA.SAAS.Manage.Comm.Model;
  3. using BPA.SAAS.Manage.Core.Base;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Application.Device.Interface
  10. {
  11. public interface IDeviceService
  12. {
  13. Task<PageUtil> GetDeviceInfoPage(DeviceQueryInputDto inputDto);
  14. Task<List<ListSelectDeviceQuery>> GetDeviceList();
  15. Task<List<ListSelectDeviceQuery>> GetDeviceByStopList(string stopId);
  16. Task<bool> AddDevice(DeviceInfoBaseDto inputDto);
  17. Task<bool> UpdateDevice(DeviceInfoBaseDto inputDto);
  18. Task<bool> DelDeviceInfo(List<string> inputList);
  19. Task<bool> AddDeviceTypeAsync(DeviceTypeBaseDto inputDto);
  20. Task<List<ListSelectQuery>> GetDeviceTypeList();
  21. }
  22. }