소스 검색

cloudPointBuild

dsx 1 년 전
부모
커밋
eff3cab8c0
1개의 변경된 파일13개의 추가작업 그리고 11개의 파일을 삭제
  1. 13 11
      src/main/java/com/fdkankan/contro/service/impl/IFdkkLaserServiceImpl.java

+ 13 - 11
src/main/java/com/fdkankan/contro/service/impl/IFdkkLaserServiceImpl.java

@@ -177,21 +177,23 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
     public void cloudPointBuild(String sceneCode, String path) {
         log.info("开始同步点云编辑文件");
         // 删除旧的文件及目录
-        try {
-            fYunFileService.deleteFile(cloudPointFyunPath + "vision_edit.txt");
-            fYunFileService.deleteFolder(cloudPointFyunPath + "uuidcloud");
-        } catch (IOException e) {
-            log.error("删除文件失败", e);
-            e.printStackTrace();
-        }
-
-        // 上传点云编辑文件,并通知激光系统
-        fYunFileService.uploadFile(bucket,path + "/results/laserData/vision_edit.txt", String.format(cloudPointFyunPath,sceneCode,sceneCode) + "vision_edit.txt");
-        fYunFileService.uploadFileByCommand(bucket,path + "/results/laserData/uuidcloud", String.format(cloudPointFyunPath,sceneCode,sceneCode) + "uuidcloud");
+//        try {
+//            fYunFileService.deleteFile(cloudPointFyunPath + "vision_edit.txt");
+//            fYunFileService.deleteFolder(cloudPointFyunPath + "uuidcloud");
+//        } catch (IOException e) {
+//            log.error("删除文件失败", e);
+//            e.printStackTrace();
+//        }
+//
+//        // 上传点云编辑文件,并通知激光系统
+//        fYunFileService.uploadFile(bucket,path + "/results/laserData/vision_edit.txt", String.format(cloudPointFyunPath,sceneCode,sceneCode) + "vision_edit.txt");
+//        fYunFileService.uploadFileByCommand(bucket,path + "/results/laserData/uuidcloud", String.format(cloudPointFyunPath,sceneCode,sceneCode) + "uuidcloud");
 
         Map<String, Object> params = new HashMap<>();
         params.put("sceneNum", sceneCode);
         params.put("businessType", 0);
+        params.put("visionEditPath", path + "/results/laserData/vision_edit.txt");
+        params.put("uuidcloudPath", path + "/results/laserData/uuidcloud");
         rabbitMqProducer.sendByWorkQueue(cloudPointBuild, params);
     }
 }