HtAnalogDataService.java 1.9 KB

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