package com.zy.asrs.service;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.zy.asrs.entity.Task;
|
import com.zy.asrs.entity.mes.*;
|
import com.zy.asrs.entity.rcs.RcsReporterTask;
|
|
public interface MesService {
|
|
/**
|
* 物料信息同步
|
*
|
* @param matRecvForm
|
* @return
|
*/
|
MesReturn matInfoAndInBound(MesMatRecvForm matRecvForm);
|
|
/**
|
* 领料入库反馈
|
* 触发条件:物料同步接口入库单,入库后
|
* 推送时机:当订单中有物料入库后(应该在每托入库完成后)则推送,不必等全部订单完成
|
*
|
* @param orderNo
|
* @param zpallet
|
* @return
|
*/
|
int recvFeedback(String orderNo, String zpallet);
|
|
/**
|
* 出库申请
|
*
|
* @param mesOutApply
|
* @return
|
*/
|
int outBoundOrder(MesOutApply mesOutApply);
|
|
/**
|
* 出库申请(叫料),齐套性配盘
|
*
|
* @param mesCallOutApply
|
* @return
|
*/
|
int callOutBoundOrder(MesCallOutApply mesCallOutApply);
|
|
/**
|
* 出库完成
|
*
|
* @param orderNo
|
* @return
|
*/
|
int outFeedbackByTuo(String orderNo, Task agvTask);
|
|
// /**
|
// * 出库完成
|
// *
|
// * @param orderNo
|
// * @return
|
// */
|
// int outFeedback(String orderNo);
|
|
/**
|
* 入库完成
|
*
|
* @param orderNo
|
* @return
|
*/
|
int inFeedback(String orderNo);
|
|
/**
|
* 入库申请
|
*
|
* @param mesInApply
|
* @return
|
*/
|
int inBoundOrder(MesInApply mesInApply);
|
|
/**
|
* 9.1下发运输任务
|
*
|
* @param transTask
|
* @return
|
*/
|
JSONObject submitTask(TransTask transTask);
|
|
/**
|
* 9.2返回任务执行结果
|
*
|
* @param rcsReporterTask
|
* @return
|
*/
|
int reporterTask(RcsReporterTask rcsReporterTask);
|
|
/**
|
* 9.8申请华晓AGV进入生产线
|
*
|
* @param apply
|
* @return
|
*/
|
String applyInLine(TransParent apply);
|
|
/**
|
* 入站请求:转发AGV->入站请求->给MES
|
*
|
* @param apply
|
* @return
|
*/
|
int applyInStation(TransParent apply);
|
|
/**
|
* 入站允许:转发MES->允许入站->给AGV
|
*
|
* @param allow
|
* @return
|
*/
|
MesReturn allowInStation(TransInOutStationAllow allow);
|
|
/**
|
* 到站完成:转发AGV->到站完成->给MES
|
*
|
* @param arrivalStation
|
* @return
|
*/
|
int arriveOnStation(TransArrivalStation arrivalStation);
|
|
/**
|
* 离站请求:转发AGV->离站请求->给MES
|
*
|
* @param apply
|
* @return
|
*/
|
int applyOutStation(TransParent apply);
|
|
/**
|
* 离站允许:转发MES->允许离站->给AGV
|
*
|
* @param allow
|
* @return
|
*/
|
MesReturn allowOutStation(TransInOutStationAllow allow);
|
|
/**
|
* 离站完成:转发AGV->离站完成->给MES
|
*
|
* @param apply
|
* @return
|
*/
|
int outStation(TransParent apply);
|
|
MesReturn queryInventory(String itemno,String orderNo);
|
}
|