he wei
5 天以前 3c3576d5792bfabcef84979757ee344712e71cd3
src/api/realtime.js
@@ -36,4 +36,37 @@
    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 }
  });
}