HtAnalogDataService.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. package com.bizmatics.service;
  2. import com.bizmatics.common.mvc.base.CrudService;
  3. import com.bizmatics.model.HtAnalogData;
  4. import com.bizmatics.model.vo.DataManagementOneVO;
  5. import com.bizmatics.model.vo.HtAnalogDataOneVo;
  6. import com.bizmatics.service.vo.CommonIcoVO;
  7. import com.bizmatics.service.vo.HadCountVO;
  8. import com.bizmatics.service.vo.RealScoreVO;
  9. import com.bizmatics.service.vo.TimeShareVO;
  10. import java.util.Date;
  11. import java.util.List;
  12. /**
  13. * <p>
  14. * 服务类
  15. * </p>
  16. *
  17. * @author ya
  18. * @since 2021-07-07
  19. */
  20. public interface HtAnalogDataService extends CrudService<HtAnalogData> {
  21. /**
  22. * 日/月/年用电量
  23. *
  24. * @return
  25. */
  26. HadCountVO selectCount();
  27. /**
  28. * 用电趋势图
  29. *
  30. * @param siteId
  31. * @return
  32. */
  33. List<CommonIcoVO> selectTrendByDate(Integer siteId);
  34. /**
  35. * 用电趋势图
  36. *
  37. * @return
  38. */
  39. List<CommonIcoVO> selectTrendByMonth();
  40. /**
  41. * 站点日/月/年用电量
  42. *
  43. * @return
  44. */
  45. HadCountVO getCountBySite(Integer siteId);
  46. /**
  47. * 分时电量
  48. *
  49. * @param siteId
  50. * @param type
  51. * @return
  52. */
  53. TimeShareVO getTimeShare(Integer siteId, Integer type);
  54. /**
  55. * 需量趋势图
  56. *
  57. * @param siteId
  58. * @return
  59. */
  60. List<CommonIcoVO> getDemandIco(Integer siteId);
  61. /**
  62. * 电流
  63. *
  64. * @param siteId
  65. * @param date
  66. * @return
  67. */
  68. List<CommonIcoVO> getElectricIco(Integer siteId, Date date);
  69. /**
  70. * 根据设备和时间查看电流电压
  71. *
  72. * @param deviceCode
  73. * @param startTime
  74. * @param endTime
  75. * @return
  76. */
  77. List<RealScoreVO> rtRealScore(String deviceCode, Date startTime, Date endTime);
  78. List<CommonIcoVO> yearOnYearList(DataManagementOneVO dataManagementOneVO);
  79. List<CommonIcoVO> ringRatioList(DataManagementOneVO dataManagementOneVO);
  80. List<CommonIcoVO> monthlyReport(String deviceCode, int cycle, String startTime, String endTime);
  81. List<CommonIcoVO> demandAnalysis(String deviceCode, String monthDate, int cycle);
  82. String monthlyReportExport(String deviceCode, String startTime, String endTime, int cycle);
  83. List<HtAnalogDataOneVo> monthlyReportlist(String deviceCode, String startTime, String endTime, int cycle, Integer startCurrent);
  84. }