yanjinhui
5 天以前 d3091b37a593885877f4ed4180d49e5ce259b657
1
2
3
4
5
6
7
8
9
10
11
12
13
import http from "../http";
 
export const AddData = (data) => http.post("/api/Parameters/AddSpeed", data);
//自动伸出缩回
export const AutoPickAndDrop = (data) => http.post(`/api/Parameters/automation?ExtendedState=${data.ExtendedState}`);
//手动伸出缩回
export const ManualOperation = (data) => http.post(`/api/Parameters/ManualOperation?position=${data.position}&ExtendedState=${data.ExtendedState}`);
//获取参数
export const GetParameter = (data) => http.post(`/api/Parameters/BackfillSpeed`);
//暂停
export const Pouse = () => http.post(`/api/Parameters/PauseButton`);
//获取当前伸缩杆位置
export const GetPosition = () => http.post(`/api/Parameters/CurrentLocation`);