Files
pqs-9100_client/frontend/src/api/device/controlSource/index.ts

25 lines
597 B
TypeScript
Raw Normal View History

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
}