|
@@ -259,6 +259,23 @@ public class ComputerUtil {
|
|
return map;
|
|
return map;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public static String getPath(String path, String cameraName, String fileId, int cameraType, String unicode) throws Exception{
|
|
|
|
+ if(cameraType < 3){
|
|
|
|
+ return path;
|
|
|
|
+ }
|
|
|
|
+ String localPath = cameraName.replace("4DKKPRO_", "")
|
|
|
|
+ .replace("-fdage", "").toLowerCase() +
|
|
|
|
+ File.separator + fileId + File.separator + unicode;
|
|
|
|
+
|
|
|
|
+ if(cameraType == 5 || cameraType == 6){
|
|
|
|
+ path = ConstantFilePath.BUILD_MODEL_PATH + unicode;
|
|
|
|
+ }else if(cameraType == 14) {
|
|
|
|
+ path = ConstantFilePath.BUILD_MODEL_LASER_PATH + localPath;
|
|
|
|
+ } else{
|
|
|
|
+ path = ConstantFilePath.BUILD_MODEL_PATH + localPath;
|
|
|
|
+ }
|
|
|
|
+ return path;
|
|
|
|
+ }
|
|
|
|
|
|
public static Map<String,String> computerRebuildVideo(String projectNum, String path) throws Exception{
|
|
public static Map<String,String> computerRebuildVideo(String projectNum, String path) throws Exception{
|
|
|
|
|