|
@@ -827,7 +827,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
//删除oss的houst_floor.json
|
|
//删除oss的houst_floor.json
|
|
uploadToOssUtil.delete("data/data"+sceneNum+File.separator+"houst_floor.json");
|
|
uploadToOssUtil.delete("data/data"+sceneNum+File.separator+"houst_floor.json");
|
|
|
|
|
|
- mqProducer.sendOneWay(topicModelingA, scene.getMqMsg());
|
|
|
|
|
|
+ mqProducer.sendInOrder(topicModelingA, scene.getMqMsg());
|
|
|
|
|
|
Map<String, String> map = new HashMap<>();
|
|
Map<String, String> map = new HashMap<>();
|
|
map.put("sceneNum", sceneNum);
|
|
map.put("sceneNum", sceneNum);
|
|
@@ -1052,7 +1052,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
if(jsonObject.getJSONObject("cam").getIntValue("type") == 10){
|
|
if(jsonObject.getJSONObject("cam").getIntValue("type") == 10){
|
|
mqProducer.sendOneWay(topicLaserA, scene.getMqMsg());
|
|
mqProducer.sendOneWay(topicLaserA, scene.getMqMsg());
|
|
}else if(scene != null){
|
|
}else if(scene != null){
|
|
- mqProducer.sendOneWay(topicModelingA, scene.getMqMsg());
|
|
|
|
|
|
+ mqProducer.sendInOrder(topicModelingA, scene.getMqMsg());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1070,7 +1070,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
//生成标定数据
|
|
//生成标定数据
|
|
ComputerUtil.createCalibrationData(calPath, filePath);
|
|
ComputerUtil.createCalibrationData(calPath, filePath);
|
|
//开始标定计算
|
|
//开始标定计算
|
|
- mqProducer.sendOneWay(topicModelingA, calPath);
|
|
|
|
|
|
+ mqProducer.sendInOrder(topicModelingA, calPath);
|
|
|
|
|
|
}else if(jsonObject.get("calibration") != null && jsonObject.getString("calibration").equals("2")){
|
|
}else if(jsonObject.get("calibration") != null && jsonObject.getString("calibration").equals("2")){
|
|
String mac = filePath.replace(ConstantFilePath.BUILD_MODEL_PATH, "").split("/")[0];
|
|
String mac = filePath.replace(ConstantFilePath.BUILD_MODEL_PATH, "").split("/")[0];
|
|
@@ -1085,7 +1085,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
//生成标定数据
|
|
//生成标定数据
|
|
ComputerUtil.createCalibrationData(calPath, filePath);
|
|
ComputerUtil.createCalibrationData(calPath, filePath);
|
|
//开始标定计算
|
|
//开始标定计算
|
|
- mqProducer.sendOneWay(topicModelingA, calPath);
|
|
|
|
|
|
+ mqProducer.sendInOrder(topicModelingA, calPath);
|
|
}else {
|
|
}else {
|
|
|
|
|
|
String sceneNum = "";
|
|
String sceneNum = "";
|
|
@@ -1324,7 +1324,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(sceneProPO != null){
|
|
if(sceneProPO != null){
|
|
- mqProducer.sendOneWay(topicModelingA, sceneProPO.getMqMsg());
|
|
|
|
|
|
+ mqProducer.sendInOrder(topicModelingA, sceneProPO.getMqMsg());
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|