| | |
| | | import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | // -------------------------------------驱动参数管理页面---------------------------------------- |
| | | // 获取控制系统类型 |
| | | getDriveTypeApi: () => getAction('/mdc/mdcDriveTypeParamConfig/getDriveParamOptions'), |
| | | // -------------------------------------车间看板页面-------------------------------------------- |
| | |
| | | // 删除设备参数阈值 |
| | | 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) |
| | | } |