import request from "@/utils/request";
|
|
// 设备列表(远程控制对象)
|
export function getDeviceList() {
|
return request({ url: "/environmentAccess/deviceCommand/deviceList", method: "get" });
|
}
|
|
// 异常报警列表
|
export function getAlarmList() {
|
return request({ url: "/environmentAccess/deviceCommand/alarmList", method: "get" });
|
}
|
|
// 指令记录分页
|
export function getCommandPage(params) {
|
return request({ url: "/environmentAccess/deviceCommand/listPage", method: "get", params });
|
}
|
|
// 下发启停指令
|
export function sendCommand(data) {
|
return request({ url: "/environmentAccess/deviceCommand/send", method: "post", data });
|
}
|