| | |
| | | GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown', |
| | | GeneratePos = '/api/wcsDevice/GeneratePos', |
| | | ListWcsDevice = '/api/wcsDevice/list', |
| | | WriteValue = '/api/wcsdevice/writeValue', |
| | | |
| | | GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList', |
| | | GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList', |
| | | BindTaskForPLC='/api/WcsCheckTask/BindTaskForPLC', |
| | | CloseTaskForPLC='/api/WcsCheckTask/CloseTaskForPLC', |
| | | |
| | | |
| | | GetLocationInfo = '/api/wcsDevice/GetLocationInfo', |
| | | WriteLocationInfo = '/api/wcsDevice/WriteLocationInfo', |
| | | WriteInfo = '/api/wcsDevice/WriteInfo', |
| | | WriteTaskInfo = '/api/wcsDevice/WriteTaskInfo', |
| | | WriteStartStop = '/api/wcsDevice/WriteStartStop', |
| | | } |
| | | // 增加设备信息 |
| | | export const WriteLocationInfo = (params?: any) => |
| | | request({ |
| | | url: Api.WriteLocationInfo, |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | // 增加设备信息 |
| | | export const GetLocationInfo = (params?: any) => |
| | | request({ |
| | | url: Api.GetLocationInfo, |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | // 增加设备信息 |
| | | export const WriteInfo = (params?: any) => |
| | | request({ |
| | | url: Api.WriteInfo, |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | // 增加设备信息 |
| | | export const WriteTaskInfo = (params?: any) => |
| | | request({ |
| | | url: Api.WriteTaskInfo, |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | // 增加设备信息 |
| | | export const WriteStartStop = (params?: any) => |
| | | request({ |
| | | url: Api.WriteStartStop, |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | |
| | | // 增加设备信息 |
| | | export const addWcsDevice = (params?: any) => |
| | |
| | | url: Api.CloseTaskForPLC, |
| | | method: 'post', |
| | | data: params, |
| | | }); |
| | | //写入值 |
| | | export const writeValue = (params?: any) => |
| | | request({ |
| | | url: Api.WriteValue, |
| | | method: 'post', |
| | | data: params, |
| | | }); |