import request from '@/router/axios' // 获取在线设备信息 export const getStationAndVideoCount = (params) => { return request({ url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/count', method: 'get', params: { ...params } }) } // 获取监控/监测设备列表 export const getStationAndVideoList = (params) => { return request({ url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/queryStationAndVideoInfo', method: 'get', params: { ...params } }) } // 根据地块获取监测监控设备 export const getStationAndVideoByLandId = (landId, type) => { return request({ url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/queryStationAndVideoByLandId', method: 'get', params: { land_id: landId, type: type } }) } // 根据设备号获取监测设备数据 export const getStationDateByStcd = (stcd, startTime, endTime) => { return request({ url: 'http://dev.jxpskj.com:8030/pyh-station/naturalFactors/findElementDataByTime', method: 'get', params: { stcd: stcd, startTime: startTime, endTime: endTime } }) } // 根据基地id获取设备列表 监控和监测在同一个集合 export const queryEquipmentList = (params) => { return request({ url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/queryEquipmentList', method: 'get', params: { ...params } }) }