wcs项目初始化

This commit is contained in:
liuhanqing
2025-09-17 14:11:04 +08:00
commit 1b44d350b0
726 changed files with 108835 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
import request from '@/utils/request'
// 开启plc读取线程
export function startReadPlc() {
return request({
url: '/device/operation/startAllThread',
method: 'get',
})
}
// 停止plc读取线程
export function stopReadPlc() {
return request({
url: '/device/operation/stopAllThread',
method: 'get'
})
}
// 开启plc调度线程
export function startSchedule() {
return request({
url: '/device/operation/startAllThread2',
method: 'get'
})
}
// 关闭plc调度线程
export function stopSchedule() {
return request({
url: '/device/operation/stopAllThread2',
method: 'get'
})
}
// 关闭plc调度线程
export function getScheduleStatus() {
return request({
url: '/device/operation/getScheduleStatus',
method: 'get'
})
}