WindturbinepointService.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. package com.gyee.impala.service.master;
  2. import com.gyee.impala.model.master.Windturbinepoint;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import java.util.List;
  5. /**
  6. * <p>
  7. * 服务类
  8. * </p>
  9. *
  10. * @author chenmh
  11. * @since 2021-10-17
  12. */
  13. public interface WindturbinepointService extends IService<Windturbinepoint> {
  14. /**
  15. * 查询部件关联的测点
  16. *
  17. * @param wtId 风机编号
  18. * @param widget 部件代码
  19. * @param type 测点类型 AI/DI
  20. * @return
  21. */
  22. List<Windturbinepoint> getAll(String wtId, String widget, String type);
  23. /**
  24. * 通过场站和统一编码查询测点
  25. *
  26. * @param station 场站
  27. * @param uniformCode 统一编码
  28. * @return
  29. */
  30. List<Windturbinepoint> getAllByStationAndUniformCode(String station, String uniformCode);
  31. /**
  32. * 编辑数据
  33. *
  34. * @param obj
  35. * @return
  36. */
  37. void editItem(Windturbinepoint obj);
  38. /**
  39. * 新建数据
  40. *
  41. * @param list
  42. * @return
  43. */
  44. void insertBatch(List<Windturbinepoint> list);
  45. /**
  46. * 通过id删除数据
  47. *
  48. * @param id
  49. * @return
  50. */
  51. void deleteItem(String id);
  52. /**
  53. * 查询故障数据的原始点数据
  54. *
  55. * @param station 场站
  56. * @param wtId 风机Id
  57. * @param model 模型
  58. * @param widget 部件
  59. * @param startTs 开始时间
  60. * @param endTs 结束时间
  61. * @param type 测点类型
  62. */
  63. List<Object> getPointDataAll(String station, String wtId,
  64. String[] model, String[] widget, String startTs, String endTs, String type);
  65. /**
  66. * 通过point获取一条数据
  67. *
  68. * @param point
  69. * @return
  70. */
  71. Windturbinepoint getByPoint(String point);
  72. /**
  73. * 通过场站\风机ID和统一编码查询测点
  74. *
  75. * @param station 场站
  76. * @param wtId 风机编码
  77. * @param uniformCode 统一编码
  78. * @return
  79. */
  80. List<Windturbinepoint> getListByStationAndWtIdAndUniformCode(String station, String wtId, String[] uniformCode);
  81. /**
  82. * 通过风机ID和统一编码查询测点
  83. *
  84. * @param wtId 风机编码
  85. * @param uniformCode 统一编码
  86. * @return
  87. */
  88. List<Windturbinepoint> getItemByWtIdAndUniformCode(String wtId, String uniformCode);
  89. }