zhaowei
2025-01-23 577f56ea7c23952ab132c7473d174fb4598791b5
src/api/mdc.js
@@ -1,7 +1,6 @@
import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
export default {
  // -------------------------------------驱动参数管理页面----------------------------------------
  // 获取控制系统类型
  getDriveTypeApi: () => getAction('/mdc/mdcDriveTypeParamConfig/getDriveParamOptions'),
  // -------------------------------------车间看板页面--------------------------------------------
@@ -41,5 +40,12 @@
  // 删除设备参数阈值
  deleteParamThresholdApi: id => deleteAction('/mdc/mdcEquipmentThreshold/delete', { id }),
  // 删除设备参数阈值
  deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids })
  deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids }),
  // -------------------------------------OEE页面--------------------------------------------
  // 计算OEE
  computeOeeApi: params => postAction('/mdc/mdcOeeInfo/computeOee', params),
  // 计算MTBF
  computeMTBFApi: params => postAction('/mdc/mdcDownTime/computeMtbf', params),
  // 计算MTTR
  computeMTTRApi: params => postAction('/mdc/mdcRepairInfo/computeMttr', params)
}