| | |
| | | private final NcNodeService ncNodeService; |
| | | private final FlowCommonService flowCommonService; |
| | | private final FlowProgramFileService flowProgramFileService; |
| | | |
| | | private final ProgramSeqService programSeqService; |
| | | public static final String SHIQIE_NAME = "试切"; |
| | | public static final String GUHUA_NAME = "固化"; |
| | | public static final String PIANLI_NAME = "偏离"; |
| | |
| | | |
| | | //程序包节点和程序文件节点数据 |
| | | if(NcNode.TYPE_PROGRAM_PACKAGE.equals(nodeType) || NcNode.TYPE_PROGRAM_FILE.equals(nodeType)){ |
| | | |
| | | String programNo = programSeqService.generageProgramNo(); |
| | | ncNode.setProgramNo(programNo); |
| | | ncNode.setProcessInstanceId(programProperties.getProcessInstanceId()); |
| | | ncNode.setDrawingNo(programProperties.getDrawingNo()); |
| | | ncNode.setDrawingNoEdition(programProperties.getDrawingNoEdition()); |
| | |
| | | ncNode.setProcessName(programProperties.getProcessName()); |
| | | ncNode.setMachineCode(programProperties.getMachineCode()); |
| | | ncNode.setProductModel(programProperties.getProductModel()); |
| | | |
| | | } |
| | | |
| | | ncNode.setIsLastEdition(1); |