he wei
5 天以前 3c3576d5792bfabcef84979757ee344712e71cd3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import request from '@/utils/request';
 
/**
 * 系统概览获取半小时核容设备信息
 * battgroupId
 * granularity
 */
export function getHalfHourBattDevData(battgroupId, granularity) {
  return request({
    url: 'real/getHalfHourBattDevData',
    method: 'GET',
    params: { battgroupId, granularity }
  });
}
 
/**
 * 系统概览获取半小时交流输入统计
 * powerId
 * granularity
 */
export function getHalfHourPwrHisAcinData(powerId, granularity) {
  return request({
    url: 'real/getHalfHourPwrHisAcinData',
    method: 'GET',
    params: { powerId, granularity }
  });
}
 
/** 系统概览获取半小时直流输出统计
 * powerId
 * granularity
 */
export function getHalfHourPwrHisDcoutData(powerId, granularity) {
  return request({
    url: 'real/getHalfHourPwrHisDcoutData',
    method: 'GET',
    params: { powerId, granularity }
  });
}
 
/**
 * 获取电池组最近一季度的内阻数据
 */
export function getBattQuarterRes(battgroupId) {
  return request({
    url: 'hisId/getBattQuarterRes',
    method: 'GET',
    params: { battgroupId }
  });
}
 
/**
 * 获取电池组最近一季度的温度数据
 */
export function getBattQuarterTmp(battgroupId) {
  return request({
    url: 'hisId/getBattQuarterTmp',
    method: 'GET',
    params: { battgroupId }
  });
}
 
/**
 * 获取电池组最近一季度的电压数据
 */
export function getBattQuarterVol(battgroupId) {
  return request({
    url: 'hisId/getBattQuarterVol',
    method: 'GET',
    params: { battgroupId }
  });
}