优化称重连接
This commit is contained in:
@@ -36,10 +36,20 @@ export function vmSend(materialProcess: string) {
|
||||
|
||||
/** @desc vm定时任务保存图片 */
|
||||
export function getVmSaveImageTask() {
|
||||
return http.get<any>(`/vm/start`)
|
||||
return http.post<any>(`/vm/start`)
|
||||
}
|
||||
|
||||
/** @desc vm关闭定时任务 */
|
||||
export function getVmCloseTask() {
|
||||
return http.get<any>(`/vm/stop`)
|
||||
return http.post<any>(`/vm/stop`)
|
||||
}
|
||||
|
||||
/** @desc 启动电子称连接线程 */
|
||||
export function weighAHStart() {
|
||||
return http.post<any>(`/api/weigh/ah/init`)
|
||||
}
|
||||
|
||||
/** @desc 终止电子称连接线程 */
|
||||
export function weighAHStop() {
|
||||
return http.post<any>(`/api/weigh/ah/destroy`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user