| | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | |
| | | /** |
| | | * 程序涉密网-工控网交换接口 |
| | |
| | | |
| | | private final NcProgramService ncProgramService; |
| | | |
| | | @PostMapping("/export-dnc") |
| | | @Operation(summary = "数控程序导出dnc", description = "数控程序导出到工控网") |
| | | public void exportDnc(Long nodeId, HttpServletResponse response) { |
| | | |
| | | //return R.<Boolean>status(true); |
| | | } |
| | | /* |
| | | @PostMapping("/import-dnc-file") |
| | | @Operation(summary = "上传工控网回传文件", description = "上传程序/附件文件") |
| | | public R<Boolean> importDncFile(@RequestParam MultipartFile file) { |
| | | ncProgramService.uploadNcPkgFile(file); |
| | | return R.<Boolean>status(true); |
| | | |
| | | }*/ |
| | | } |