power.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import request from '@/utils/request'
  2. // 获取场站日发电量
  3. export function statisticsHisdataApi(params) {
  4. return request({
  5. url: '/station/hisdata',
  6. 'method': 'GET',
  7. params: params
  8. })
  9. }
  10. // 获取场站月发电量
  11. export function electricityStatisticsApi(params) {
  12. return request({
  13. url: '/electricity/statistics',
  14. 'method': 'GET',
  15. params: params
  16. })
  17. }
  18. //获取公司电量
  19. export function bulletinappCompanyelectricityApi() {
  20. return request({
  21. url: '/bulletinapp/companyelectricity',
  22. 'method': 'GET'
  23. })
  24. }
  25. //获取公司预测数据
  26. export function bulletinappForecastApi(params) {
  27. return request({
  28. url: '/bulletinapp/forecast',
  29. 'method': 'GET',
  30. 'params': params
  31. })
  32. }
  33. //获取场站预测数据
  34. export function bulletinappCzforecastApi(params) {
  35. return request({
  36. url: '/bulletinapp/czforecast',
  37. 'method': 'GET',
  38. 'params': params
  39. })
  40. }
  41. //获取公司预测数据--24小时功率曲线
  42. export function cockpitPowercurve24Api(params) {
  43. return request({
  44. url: '/cockpit/Powercurve24',
  45. 'method': 'GET',
  46. 'params': params
  47. })
  48. }
  49. //获取场站预测数据--72小时风功率曲线
  50. export function forecastShortApi(params) {
  51. return request({
  52. url: '/Forecast/short',
  53. 'method': 'GET',
  54. 'params': params
  55. })
  56. }