forked from I3-YF/i3plus-mes-pcn-yfai
pcn 工步 读取加工结果
parent
dd5744a9c1
commit
26b0de1402
@ -1,65 +1,22 @@
|
|||||||
//package cn.estsh.i3plus.ext.mes.pcn.apiservice.serviceimpl.step;
|
package cn.estsh.i3plus.ext.mes.pcn.apiservice.serviceimpl.step;
|
||||||
//
|
|
||||||
//import cn.estsh.i3plus.ext.mes.pcn.api.busi.IMesProductionProcessContextStepService;
|
import cn.estsh.i3plus.ext.mes.pcn.api.busi.IMesProductionProcessContextStepService;
|
||||||
//import cn.estsh.i3plus.ext.mes.pcn.pojo.context.MesCellEquipContext;
|
import cn.estsh.i3plus.mes.pcn.serviceimpl.fsm.BaseStepService;
|
||||||
//import cn.estsh.i3plus.ext.mes.pcn.pojo.context.MesEquipVariableCfgCollectLogContext;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
//import cn.estsh.i3plus.ext.mes.pcn.pojo.context.MesProductionProcessContext;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
//import cn.estsh.i3plus.mes.pcn.serviceimpl.fsm.BaseStepService;
|
import org.springframework.stereotype.Service;
|
||||||
//import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentVariableCfg;
|
|
||||||
//import cn.estsh.i3plus.pojo.mes.model.StationRequestBean;
|
/**
|
||||||
//import cn.estsh.i3plus.pojo.mes.model.StationResultBean;
|
* @Description : 读头道模具号工步
|
||||||
//import cn.estsh.i3plus.pojo.mes.model.StepResult;
|
* @Author : wangjie
|
||||||
//import cn.estsh.i3plus.pojo.mes.util.MesExtEnumUtil;
|
**/
|
||||||
//import lombok.extern.slf4j.Slf4j;
|
@Slf4j
|
||||||
//import org.springframework.beans.factory.annotation.Autowired;
|
@Service("mesFirstMouldNoReadStepService")
|
||||||
//import org.springframework.stereotype.Service;
|
public class MesFirstMouldNoReadStepService extends BaseStepService {
|
||||||
//
|
|
||||||
//import java.util.List;
|
@Autowired
|
||||||
//import java.util.Map;
|
private IMesProductionProcessContextStepService productionProcessContextStepService;
|
||||||
//
|
|
||||||
///**
|
|
||||||
// * @Description : 读头道模具号工步
|
|
||||||
// * @Author : wangjie
|
}
|
||||||
// **/
|
|
||||||
//@Slf4j
|
|
||||||
//@Service("mesFirstMouldNoReadStepService")
|
|
||||||
//public class MesFirstMouldNoReadStepService extends BaseStepService {
|
|
||||||
//
|
|
||||||
// @Autowired
|
|
||||||
// private IMesProductionProcessContextStepService productionProcessContextStepService;
|
|
||||||
//
|
|
||||||
// @Override
|
|
||||||
// public StepResult execute(StationRequestBean reqBean) {
|
|
||||||
//
|
|
||||||
// StationResultBean resultBean = new StationResultBean();
|
|
||||||
//
|
|
||||||
// StepResult stepResult = StepResult.getSuccessComplete();
|
|
||||||
//
|
|
||||||
// MesProductionProcessContext productionProcessContext = productionProcessContextStepService.getEquipmentVariable(reqBean, MesExtEnumUtil.EQUIP_VARIABLE_TYPE.PRODUCTION.getValue(), MesExtEnumUtil.EQUIP_CATEGORY_LEVEL_TWO.FIRST_MOULD_NO.getValue());
|
|
||||||
//
|
|
||||||
// if (!productionProcessContextStepService.getEquipmentVariableCfg(reqBean, productionProcessContext).getSuccess())
|
|
||||||
// return execNonCompleteAndSendMsgReturn(reqBean, resultBean, stepResult, productionProcessContext.getMessage());
|
|
||||||
//
|
|
||||||
// if (!productionProcessContextStepService.checkNecessaryEquipmentVariable(reqBean, productionProcessContext, MesExtEnumUtil.EQUIP_VARIABLE_TYPE.PRODUCTION.getValue(), MesExtEnumUtil.EQUIP_CATEGORY_LEVEL_TWO.FIRST_MOULD_NO.getValue()).getSuccess())
|
|
||||||
// return execNonCompleteAndSendMsgReturn(reqBean, resultBean, stepResult, productionProcessContext.getMessage());
|
|
||||||
//
|
|
||||||
// if (!productionProcessContextStepService.checkNecessaryEquipmentVariableCfg(reqBean, productionProcessContext).getSuccess())
|
|
||||||
// return execNonCompleteAndSendMsgReturn(reqBean, resultBean, stepResult, productionProcessContext.getMessage());
|
|
||||||
//
|
|
||||||
// if (!productionProcessContextStepService.doHandleEquipmentLogListByIds(reqBean, productionProcessContext).getSuccess())
|
|
||||||
// return execNonCompleteAndSendMsgReturn(reqBean, resultBean, stepResult, productionProcessContext.getMessage());
|
|
||||||
//
|
|
||||||
// MesCellEquipContext cellEquipContext = productionProcessContext.getCurCellEquip();
|
|
||||||
//
|
|
||||||
// Map<String, List<MesEquipmentVariableCfg>> equipmentVariableCfgMap = productionProcessContextStepService.getEquipmentVariableCfgMap(reqBean, productionProcessContext);
|
|
||||||
//
|
|
||||||
// List<MesEquipVariableCfgCollectLogContext> equipVariableCollectContextList = productionProcessContext.getEquipVariableCfgCollectList();
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// return stepResult;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//}
|
|
||||||
|
Loading…
Reference in New Issue