更新
This commit is contained in:
58
src/api/masterStation/equipment.js
Normal file
58
src/api/masterStation/equipment.js
Normal file
@@ -0,0 +1,58 @@
|
||||
import service from '@/utils/request'
|
||||
// 网关
|
||||
export const getDeviceGatewayListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceGatewayListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 设备
|
||||
export const getDeviceListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export const deviceOperation = (data) => {
|
||||
return service({
|
||||
url: '/device/deviceOperation',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 曲线
|
||||
export const getDeviceDetailsListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceDetailsListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 报警
|
||||
export const getAlarmRecordListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getAlarmRecordListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 报警
|
||||
export const getCircuitBreakerDetail = (data) => {
|
||||
return service({
|
||||
url: '/device/getCircuitBreakerDetail',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 设备配置
|
||||
export const getDeviceConfigListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceConfigListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user