import request from '@/utils/request' //总电表 export function getData(data) { return request.get('/monitor/db/index/sel1/'+data) } export function getZdb(data) { return request.get('/monitor/db/index/sel2/'+data) } //电热锅炉 export function getDrgl(data) { return request.get('/monitor/drgl/index/sel1/'+data) } export function getDcgl(data) { return request.get('/monitor/drgl/index/sel2/'+data) } //蓄热锅炉 export function getXrgl(data) { return request.get('/monitor/xrgl/index/sel1/'+data) } export function getXcgl(data) { return request.get('/monitor/xrgl/index/sel2/'+data) } //空气热源泵 export function getKqryb(data) { return request.get('/monitor/kqyrb/index/sel1/'+data) } export function getKqyrb(data) { return request.get('/monitor/kqyrb/index/sel2/'+data) } //发热电缆 export function getFrdl(data) { return request.get('/monitor/frdl/index/sel1/'+data) } export function getFrld(data) { return request.get('/monitor/frdl/index/sel2/'+data) } //温度传感器 export function getWdcgq(data) { return request.post('/monitor/wdcgq/index/sel1?modelTypeName='+data) } //沙盘 export function getSp(data) { return request.get('monitor/sp/index/sel1/'+data) } //策略管理 export function getXl() { return request.get('system/cl/index/selMyscene') } export function getTb(data) { return request.post('system/cl/index/list',data) } export function postNew(data) { return request.post('system/cl/index',data) } export function postXg(data) { return request.put('system/cl/index',data) } export function postDel(data) { return request.post('system/cl/index/del',data) } //获取用户设备列表 export function getSb() { return request.get('/monitor/db/index/selMydevices') } //获取用户可控设备列表 export function getSb1() { return request.get('/monitor/db/index/selMyControldevices') } //设备管理 export function getYh() { return request.get('system/device/index/selusers') } export function getSbTab(data) { return request.post('system/device/index/devicesList',data) } export function getMx() { return request.get('system/device/index/selmodels') } export function postNew1(data) { return request.post('system/device/index',data) } export function postXg1(data) { return request.put('system/device/index',data) } export function postDel1(data) { return request.post('system/device/index/del',data) } export function DevData(data) { return request.post('system/device/index/daoruDevData',data) }