Web/src/api/wcs/wcsPlc.ts
@@ -5,6 +5,8 @@ UpdateWcsPlc = '/api/wcsPlc/update', PageWcsPlc = '/api/wcsPlc/page', DetailWcsPlc = '/api/wcsPlc/detail', ListStatus = '/api/wcsPlc/ListStatus', ListPosition = 'api/wcsPlc/ListPosition' } // 增加PLC @@ -48,3 +50,16 @@ }); // 获取PLC连接状态和服务状态 export const listStatus = () => request({ url: Api.ListStatus, method: 'get' }); // 获取位置上有没有东西 export const listPosition = () => request({ url: Api.ListPosition, method: 'get' });