hwh
2024-09-11 71a1eeb4deca8f3cbdd35be4e8a645ad1e369ba3
Web/src/api/wcs/wcsPlc.ts
@@ -5,7 +5,9 @@
  UpdateWcsPlc = '/api/wcsPlc/update',
  PageWcsPlc = '/api/wcsPlc/page',
  DetailWcsPlc = '/api/wcsPlc/detail',
  ListStatus='/api/wcsPlc/ListStatus'
  ListWcsPlc = '/api/wcsPlc/list',
  ListStatus = '/api/wcsPlc/ListStatus',
  ListPosition = 'api/wcsPlc/ListPosition'
}
// 增加PLC
@@ -47,7 +49,13 @@
         method: 'get',
         data: { id },
      });
// 分页查询PLC
export const listWcsPlc = (params?: any) =>
   request({
         url: Api.ListWcsPlc,
         method: 'get',
         data: params,
      });
// 获取PLC连接状态和服务状态
export const listStatus = () => 
@@ -56,3 +64,9 @@
         method: 'get'
      });
// 获取位置上有没有东西
export const listPosition = () =>
   request({
         url: Api.ListPosition,
         method: 'get'
      });