2025-03-07 13:17:11 +08:00
|
|
|
|
|
|
|
|
import type { controlSource } from '@/api/device/interface/controlSource'
|
|
|
|
|
import http from '@/api'
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @name 程控源管理模块
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
//通讯校验
|
|
|
|
|
export const checkSimulate = (params: controlSource.ResControl) => {
|
|
|
|
|
return http.post(`/prepare/ytxCheckSimulate`,params)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//启动
|
|
|
|
|
export const startSimulateTest = (params: controlSource.ResControl) => {
|
2025-03-08 14:36:48 +08:00
|
|
|
return http.post(`prepare/startSimulateTest`,params,{loading:false})
|
2025-03-07 13:17:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//停止
|
|
|
|
|
export const closeSimulateTest = (params: controlSource.ResControl) => {
|
2025-03-08 14:36:48 +08:00
|
|
|
return http.post(`/prepare/closeSimulateTest`,params,{loading:false})
|
2025-03-07 13:17:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|