yanjinhui
8 天以前 b9c76ce85e533250cd36de670146530f970859e7
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`);