tags/yfai-pcn-ext-v1.0
王杰 11 months ago
parent f259900e87
commit 7621792533

@ -11,6 +11,8 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.concurrent.TimeUnit;
/**
* @Description :
* @Author : wangjie
@ -35,15 +37,30 @@ public class MesProductionDataSaveStepService extends BaseStepService {
//保存零件条码信息工步
((IStepService) SpringContextsUtil.getBean("mesProductSnSaveStepService")).execute(reqBean);
try {
TimeUnit.MILLISECONDS.sleep(5000L);
} catch (InterruptedException e) {
}
//加工异常处理工步【此工步未整改】
//((IStepService) SpringContextsUtil.getBean("mesProductResultErrorHandleStepService")).execute(reqBean);
//生成加工记录工步
((IStepService) SpringContextsUtil.getBean("mesProductionRecordGenerateStepService")).execute(reqBean);
try {
TimeUnit.MILLISECONDS.sleep(5000L);
} catch (InterruptedException e) {
}
//保存装配记录工步
((IStepService) SpringContextsUtil.getBean("mesAssemblySaveStepService")).execute(reqBean);
try {
TimeUnit.MILLISECONDS.sleep(5000L);
} catch (InterruptedException e) {
}
//生产汇报工步 【此工步未整改】
//((IStepService) SpringContextsUtil.getBean("mesReportGenerateStepService")).execute(reqBean);

Loading…
Cancel
Save