analysis.js 2.67 KB
//import { axios, base } from './request'
import http from './http'

//换热站机组能耗数据接口(用量环比)
export const postQOQlist = params => {
    return http.post(`/api/analysis/external/QOQ`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站机组能耗数据接口(热单耗)
export const postHeatUct = params => {
    return http.post(`/api/analysis/external/HeatUc`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站机组能耗数据接口(电单耗)
export const postElecUc = params => {
    return http.post(`/api/analysis/external/ElecUc`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站机组能耗数据接口(水单耗)
export const postWaterUc = params => {
    return http.post(`/api/analysis/external/WaterUc`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站机组能耗数据接口(度日数热耗)
export const postDayHeat = params => {
    return http.post(`/api/analysis/external/DayHeat`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站机组能耗数据接口(一网回温)
export const postFirBackT = params => {
    return http.post(`/api/analysis/external/FirBackT`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//一网万平米流量
export const postWPMLL = params => {
    return http.post(`/api/analysis/external/WPMLL`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站板换效率
export const postHeatEffiUc = params => {
    return http.post(`/api/analysis/external/HeatEffiUc`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//换热站二网均温
export const postSecAvgTUc = params => {
    return http.post(`/api/analysis/external/SecAvgTUc`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

//二网温差
export const postSecAbsTUc = params => {
    return http.post(`/api/analysis/external/SecAbsTUc`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}

// //二网温差
// export const postSecAvgTUc = params => {
//     return http.post(`/api/analysis/external/SecAvgTUc`, params).then(res => res).catch(function (error) {
//         console.log(error);
//     })
// }

//热量分析报表
export const postHeatAnalysis = params => {
    return http.post(`/api/analysis/report/HeatAnalysis`, params).then(res => res).catch(function (error) {
        console.log(error);
    })
}