40 lines
1.6 KiB
TypeScript
40 lines
1.6 KiB
TypeScript
import http from "@/api";
|
|
const BASEURL = import.meta.env.VITE_API_URL;
|
|
// 统计最大、小载重趋势(历史载重)
|
|
export const countLoad = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformCurrentData/countLoad`, params);
|
|
};
|
|
|
|
// 统计报警等级(实时告警)查上面数字
|
|
export const countAlarmLevel = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformAlarm/countAlarmLevel`, params);
|
|
};
|
|
// 统计报警等级(实时告警)查下面列表
|
|
export const countAlarmLevelList = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformAlarm/list`, params);
|
|
};
|
|
|
|
// 运行设备状态 查下面
|
|
export const countAlarmType = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformAlarm/countAlarmType`, params);
|
|
};
|
|
|
|
// 运行设备状态 查上面数字
|
|
export const countDischargingPlatformCurrentData = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformDev/countDischargingPlatformDev`, params);
|
|
};
|
|
// 统计载重比趋势(载重比分析)
|
|
export const countLoadRatioTrend = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformCurrentData/countLoadRatioTrend`, params);
|
|
};
|
|
|
|
// 查询卸料平台最新一条实时数据
|
|
export const countPlatformCurrentData = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformCurrentData/getNewestDischargingPlatformCurrentData`, params);
|
|
};
|
|
|
|
// 查询卸料平台设备列表 左上
|
|
export const getPlatformDev = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/dischargingPlatformDev/list`, params);
|
|
};
|