Web/src/api/wcs/wcsDevice.ts
@@ -11,6 +11,8 @@
  GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList',
  GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList',
  BindTaskForPLC='/api/WcsCheckTask/BindTaskForPLC',
  CloseTaskForPLC='/api/WcsCheckTask/CloseTaskForPLC',
}
// 增加设备信息
@@ -75,13 +77,28 @@
export const GetWcsPackPlcList = () =>
   request({
   url: Api.GetWcsPackPlcList,
   method: 'get'
      url: Api.GetWcsPackPlcList,
      method: 'get'
});
export const GetWcsPackStationPlcList = (params?: any) =>
   request({
   url: Api.GetWcsPackStationPlcList,
   method: 'get',
   data: params
      url: Api.GetWcsPackStationPlcList,
      method: 'get',
      data: params
});
// 手动绑定任务到PLC
export const BindTaskForPLC = (params?: any) =>
   request({
      url: Api.BindTaskForPLC,
      method: 'post',
      data: params,
});
//任务结批
export const CloseTaskForPLC = (params?: any) =>
   request({
      url: Api.CloseTaskForPLC,
      method: 'post',
      data: params,
});