|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State} from '@/services/api'
|
|
|
|
|
import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State,GetSumvolt,GetSumTemp,GetChrgaccuInfo,GetBrachSumvolT,GetBrachSumtemp,GetCscSumvolt,GetCscSumtemp,} from '@/services/api'
|
|
|
|
|
import { request, METHOD, } from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// export async function index (data) {
|
|
|
|
@ -26,6 +26,40 @@ export async function Runningstate (data) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export async function Sumvolt (data) {
|
|
|
|
|
return request( GetSumvolt, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
export async function SumTemp (data) {
|
|
|
|
|
return request( GetSumTemp, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
export async function ChrgaccuInfo (data) {
|
|
|
|
|
return request( GetChrgaccuInfo, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
export async function BrachSumvolT (data) {
|
|
|
|
|
return request( GetBrachSumvolT, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
export async function BrachSumtemp (data) {
|
|
|
|
|
return request( GetBrachSumtemp, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
export async function CscSumvolt (data) {
|
|
|
|
|
return request( GetCscSumvolt, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
export async function CscSumtemp (data) {
|
|
|
|
|
return request( GetCscSumtemp, METHOD.GET, data)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// export async function store (data) {
|
|
|
|
|
// return request(Battery_Maintain_Log, METHOD.POST, data)
|
|
|
|
|
// }
|
|
|
|
@ -49,6 +83,13 @@ export default {
|
|
|
|
|
Relaystatus,
|
|
|
|
|
Chargedischargecurrent,
|
|
|
|
|
Runningstate,
|
|
|
|
|
Sumvolt,
|
|
|
|
|
SumTemp,
|
|
|
|
|
ChrgaccuInfo,
|
|
|
|
|
BrachSumvolT,
|
|
|
|
|
BrachSumtemp,
|
|
|
|
|
CscSumvolt,
|
|
|
|
|
CscSumtemp,
|
|
|
|
|
// store,
|
|
|
|
|
// update,
|
|
|
|
|
// destroy,
|
|
|
|
|