基础服务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.
 
 

76 lines
2.6 KiB

  1. using BPA.SAAS.Manage.Application.Device.Dtos.ProductFunction;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using BPA.SAAS.Manage.Core.Product;
  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 IProductFunctionService
  12. {
  13. /// <summary>
  14. /// 获取功能基础信息列表
  15. /// </summary>
  16. /// <param name="inputDto"></param>
  17. /// <returns></returns>
  18. Task<PageUtil> GetProductFunctionPage(ProductFunctionPageBase inputDto);
  19. /// <summary>
  20. /// 查询所有功能信息
  21. /// </summary>
  22. /// <returns></returns>
  23. Task<List<ProductFunctionDto>> GetProductFunction();
  24. Task<List<ProductFunctionView>> GetProductFunction(string deviceId);
  25. Task<List<ProductFunctionView>> GetProductFunction_alm(string deviceId);
  26. /// <summary>
  27. /// 添加功能
  28. /// </summary>
  29. /// <param name="inputDto"></param>
  30. /// <returns></returns>
  31. Task<bool> AddProductFunction(ProductFunctionBaseDto inputDto);
  32. /// <summary>
  33. /// 修改功能
  34. /// </summary>
  35. /// <param name="inputDto"></param>
  36. /// <returns></returns>
  37. Task<bool> UpdateProductFunction(ProductFunctionBaseDto inputDto);
  38. /// <summary>
  39. /// 删除功能
  40. /// </summary>
  41. /// <param name="ids"></param>
  42. /// <returns></returns>
  43. Task<bool> DeleteProductFunction(List<string> ids);
  44. /// <summary>
  45. /// 根据功能id查询功能参数
  46. /// </summary>
  47. /// <returns></returns>
  48. Task<List<BPA_ProductFunctionAction>> GetProductFunctionActionList(string productFunctionId);
  49. /// <summary>
  50. /// 查询所有功能参数
  51. /// </summary>
  52. /// <returns></returns>
  53. Task<List<BPA_ProductFunctionAction>> GetProductFunctionActionList();
  54. /// <summary>
  55. /// 添加功能参数
  56. /// </summary>
  57. /// <param name="inputDto"></param>
  58. /// <returns></returns>
  59. Task<bool> AddProductFunctionAction(ProductFunctionActionBaseDto inputDto);
  60. /// <summary>
  61. /// 修改功能参数
  62. /// </summary>
  63. /// <param name="inputDto"></param>
  64. /// <returns></returns>
  65. Task<bool> UpdateProductFunctionAction(ProductFunctionActionBaseDto inputDto);
  66. /// <summary>
  67. /// 删除功能参数
  68. /// </summary>
  69. /// <param name="ids"></param>
  70. /// <returns></returns>
  71. Task<bool> DeleteProductFunctionAction(List<string> ids);
  72. }
  73. }