package com.zy.asrs.service;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.core.common.R;
|
import com.zy.asrs.entity.mes.*;
|
import com.zy.asrs.entity.rcs.RcsReporterTask;
|
|
import java.text.ParseException;
|
|
public interface MesService {
|
|
// /**
|
// * 物料信息同步
|
// *
|
// * @param matRecvForm
|
// * @return
|
// */
|
// MesReturn matInfoAndInBound(MesMatRecvForm matRecvForm);
|
|
/**
|
* 新增、修改物料信息
|
*
|
* @param mesMatInfo
|
* @return 1 成功;-1 保存物料类型失败;-2 保存物料失败;
|
* @throws ParseException
|
*/
|
int synMatInfo(MesMatInfo mesMatInfo);
|
|
/**
|
* 实际入库反馈
|
* 触发条件:针对原料出库检查再入库的情况
|
* 推送时机:当所有货物都入库时推送
|
*
|
* @param orderNo
|
* @return
|
*/
|
int recvFeedback(String orderNo);
|
|
/**
|
* 出库申请
|
*
|
* @param mesOutApply
|
* @return
|
*/
|
int outBoundOrder(MesInApply mesOutApply);
|
|
/**
|
* 出库申请(叫料),齐套性配盘
|
*
|
* @param mesCallOutApply
|
* @return
|
*/
|
int callOutBoundOrder(MesCallOutApply mesCallOutApply);
|
|
/**
|
* 出库完成
|
*
|
* @param orderNo
|
* @return
|
*/
|
int outFeedback(String orderNo);
|
|
/**
|
* 入库完成
|
*
|
* @param orderNo
|
* @return
|
*/
|
int inFeedback(String orderNo);
|
|
/**
|
* 入库申请
|
*
|
* @param mesInApply
|
* @return
|
*/
|
int inBoundOrder(MesInApply mesInApply, int check);
|
|
int transDj(String taskNo,String djNo);
|
|
/**
|
* 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,String path);
|
|
/**
|
* 离站请求:转发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);
|
|
R tkt(String taskNo);
|
}
|