|
@@ -165,6 +165,7 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void cloudPointBuild(String sceneCode, String path) {
|
|
public void cloudPointBuild(String sceneCode, String path) {
|
|
|
|
+ log.info("开始同步点云编辑文件");
|
|
// 删除旧的文件及目录
|
|
// 删除旧的文件及目录
|
|
try {
|
|
try {
|
|
fYunFileService.deleteFile(cloudPointFyunPath + "vision_edit.txt");
|
|
fYunFileService.deleteFile(cloudPointFyunPath + "vision_edit.txt");
|
|
@@ -175,8 +176,8 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
}
|
|
}
|
|
|
|
|
|
// 上传点云编辑文件,并通知激光系统
|
|
// 上传点云编辑文件,并通知激光系统
|
|
- fYunFileService.uploadFile(bucket,path + "/results/laserData/vision_edit.txt", cloudPointFyunPath + "vision_edit.txt");
|
|
|
|
- fYunFileService.uploadFileByCommand(bucket,path + "/results/laserData/uuidcloud", cloudPointFyunPath + "uuidcloud");
|
|
|
|
|
|
+ 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<>();
|
|
Map<String, Object> params = new HashMap<>();
|
|
params.put("sceneNum", sceneCode);
|
|
params.put("sceneNum", sceneCode);
|