44630 读胎膜信号工步,无法适配柔性焊流程,需要优化

tags/yfai-pcn-ext-v2.7
王杰 5 months ago
parent 7462388c13
commit 35f98ef220

@ -16,6 +16,7 @@ import cn.estsh.i3plus.pojo.mes.model.StationResultBean;
import cn.estsh.i3plus.pojo.mes.model.StepResult; import cn.estsh.i3plus.pojo.mes.model.StepResult;
import cn.estsh.impp.framework.boot.util.SpringContextsUtil; import cn.estsh.impp.framework.boot.util.SpringContextsUtil;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils; import org.springframework.util.CollectionUtils;
@ -24,7 +25,7 @@ import org.springframework.util.StringUtils;
import java.util.List; import java.util.List;
/** /**
* @Description : * @Description :
* @Author : wangjie * @Author : wangjie
**/ **/
@Slf4j @Slf4j
@ -68,11 +69,15 @@ public class MesManyCellTriggerJumpProcessStepService extends BaseStepService {
if (CollectionUtils.isEmpty(StationWebSocket.getStationWebSocketList(clientInfo))) continue; if (CollectionUtils.isEmpty(StationWebSocket.getStationWebSocketList(clientInfo))) continue;
} }
reqBean.setClientInfo(clientInfo); StationRequestBean stationRequestBean = new StationRequestBean();
reqBean.setInterfaceType(MesPcnConstWords.SHIPPING); BeanUtils.copyProperties(reqBean, stationRequestBean);
reqBean.setBusiType(MesPcnEnumUtil.ACTOR_RECEIVE_STRATEGY.WS_CMD_DO_SCAN.getCode()); stationRequestBean.setWorkCenterCode(workCellExtendCfg.getWorkCenterCodeBak());
reqBean.setForceJumpProcess(true); stationRequestBean.setWorkCellCode(workCellExtendCfg.getWorkCellCodeBak());
shippingDispatchService.sendScanQueueNextExec(reqBean); stationRequestBean.setClientInfo(clientInfo);
stationRequestBean.setInterfaceType(MesPcnConstWords.SHIPPING);
stationRequestBean.setBusiType(MesPcnEnumUtil.ACTOR_RECEIVE_STRATEGY.WS_CMD_DO_SCAN.getCode());
stationRequestBean.setForceJumpProcess(true);
shippingDispatchService.sendScanQueueNextExec(stationRequestBean);
} }

Loading…
Cancel
Save