|  | @@ -9,7 +9,9 @@ import java.util.stream.Stream;
 | 
											
												
													
														|  |  import com.alibaba.nacos.shaded.com.google.gson.JsonArray;
 |  |  import com.alibaba.nacos.shaded.com.google.gson.JsonArray;
 | 
											
												
													
														|  |  import com.alibaba.nacos.shaded.com.google.gson.JsonObject;
 |  |  import com.alibaba.nacos.shaded.com.google.gson.JsonObject;
 | 
											
												
													
														|  |  import com.alibaba.nacos.shaded.io.grpc.netty.shaded.io.netty.util.internal.StringUtil;
 |  |  import com.alibaba.nacos.shaded.io.grpc.netty.shaded.io.netty.util.internal.StringUtil;
 | 
											
												
													
														|  | 
 |  | +import com.fasterxml.jackson.core.JsonProcessingException;
 | 
											
												
													
														|  |  import com.miniframe.aftercure.ActionMsg;
 |  |  import com.miniframe.aftercure.ActionMsg;
 | 
											
												
													
														|  | 
 |  | +import com.miniframe.aftercure.AnimationFile;
 | 
											
												
													
														|  |  import com.miniframe.aftercure.SliceMsg;
 |  |  import com.miniframe.aftercure.SliceMsg;
 | 
											
												
													
														|  |  import com.miniframe.aftercure.StreamMsg;
 |  |  import com.miniframe.aftercure.StreamMsg;
 | 
											
												
													
														|  |  import com.miniframe.constant.MFConstant;
 |  |  import com.miniframe.constant.MFConstant;
 | 
											
										
											
												
													
														|  | @@ -326,12 +328,14 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
 | 
											
												
													
														|  |  	 * @param obj
 |  |  	 * @param obj
 | 
											
												
													
														|  |  	 * @throws BusinessException
 |  |  	 * @throws BusinessException
 | 
											
												
													
														|  |  	 */
 |  |  	 */
 | 
											
												
													
														|  | -	private void animationFemFile(String proId, JSONObject obj) throws BusinessException {
 |  | 
 | 
											
												
													
														|  | 
 |  | +	private void animationFemFile(String proId, JSONObject obj) throws BusinessException, JsonProcessingException {
 | 
											
												
													
														|  |  		String jobPath = XIFileUtils.getRootPathStr()+ MFConstant.separator+ proId;
 |  |  		String jobPath = XIFileUtils.getRootPathStr()+ MFConstant.separator+ proId;
 | 
											
												
													
														|  |  		String exePath = jobPath+ MFConstant.separator+"fem";
 |  |  		String exePath = jobPath+ MFConstant.separator+"fem";
 | 
											
												
													
														|  |  		String exeOutPath = exePath+ MFConstant.separator+"data_out";
 |  |  		String exeOutPath = exePath+ MFConstant.separator+"data_out";
 | 
											
												
													
														|  | -		JSONArray jsonArray = new JSONArray();
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  		List<Integer> steps = FEMPath.femTeps(proId);
 |  |  		List<Integer> steps = FEMPath.femTeps(proId);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +		List<AnimationFile> animationFiles =new ArrayList<>();
 | 
											
												
													
														|  |  		for (Integer st:steps) {
 |  |  		for (Integer st:steps) {
 | 
											
												
													
														|  |  			List<File> fileList = FEMPath.getStepFiles(proId,st.toString());
 |  |  			List<File> fileList = FEMPath.getStepFiles(proId,st.toString());
 | 
											
												
													
														|  |  			String fileName="";
 |  |  			String fileName="";
 | 
											
										
											
												
													
														|  | @@ -342,14 +346,15 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
 | 
											
												
													
														|  |  					fileName +=fileList.get(i).getName()+",";
 |  |  					fileName +=fileList.get(i).getName()+",";
 | 
											
												
													
														|  |  				}
 |  |  				}
 | 
											
												
													
														|  |  			}
 |  |  			}
 | 
											
												
													
														|  | -			JSONObject obj2 = new JSONObject();
 |  | 
 | 
											
												
													
														|  | -			obj2.put("step",st);
 |  | 
 | 
											
												
													
														|  | -			obj2.put("fileName",fileName);
 |  | 
 | 
											
												
													
														|  | -			jsonArray.put(obj2);
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +			AnimationFile  animationFile =new AnimationFile();
 | 
											
												
													
														|  | 
 |  | +			animationFile.setStep(st);
 | 
											
												
													
														|  | 
 |  | +			animationFile.setFilename(fileName);
 | 
											
												
													
														|  | 
 |  | +			animationFiles.add(animationFile);
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  		obj.put("filePath", exeOutPath);
 |  |  		obj.put("filePath", exeOutPath);
 | 
											
												
													
														|  |  		obj.put("fileType", "ascii");
 |  |  		obj.put("fileType", "ascii");
 | 
											
												
													
														|  | -		obj.put("fileName", jsonArray);
 |  | 
 | 
											
												
													
														|  | 
 |  | +		obj.put("fileNames", XiJsonUtil.objectToJson(animationFiles));
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	/**
 |  |  	/**
 | 
											
										
											
												
													
														|  | @@ -423,12 +428,13 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
 | 
											
												
													
														|  |  	 * @param obj
 |  |  	 * @param obj
 | 
											
												
													
														|  |  	 * @throws BusinessException
 |  |  	 * @throws BusinessException
 | 
											
												
													
														|  |  	 */
 |  |  	 */
 | 
											
												
													
														|  | -	private void animationHcfdFile(String proId, JSONObject obj) throws BusinessException {
 |  | 
 | 
											
												
													
														|  | 
 |  | +	private void animationHcfdFile(String proId, JSONObject obj) throws BusinessException, JsonProcessingException {
 | 
											
												
													
														|  |  		String jobPath = XIFileUtils.getRootPathStr()+ MFConstant.separator+ proId;
 |  |  		String jobPath = XIFileUtils.getRootPathStr()+ MFConstant.separator+ proId;
 | 
											
												
													
														|  |  		String exePath = jobPath+ MFConstant.separator+"hcfd";
 |  |  		String exePath = jobPath+ MFConstant.separator+"hcfd";
 | 
											
												
													
														|  |  		String testPath = exePath+ MFConstant.separator+"test";
 |  |  		String testPath = exePath+ MFConstant.separator+"test";
 | 
											
												
													
														|  |  		String exeOutPath = testPath+ MFConstant.separator+"data_out";
 |  |  		String exeOutPath = testPath+ MFConstant.separator+"data_out";
 | 
											
												
													
														|  | -		JSONArray jsonArray = new JSONArray();
 |  | 
 | 
											
												
													
														|  | 
 |  | +//		JSONArray jsonArray = new JSONArray();
 | 
											
												
													
														|  | 
 |  | +		List<AnimationFile> animationFiles =new ArrayList<>();
 | 
											
												
													
														|  |  		List<Integer> steps =HcfdPath.hcfdTeps(proId);
 |  |  		List<Integer> steps =HcfdPath.hcfdTeps(proId);
 | 
											
												
													
														|  |  		for (Integer st:steps) {
 |  |  		for (Integer st:steps) {
 | 
											
												
													
														|  |  			List<File> fileList = HcfdPath.getStepFiles(proId, getA_aft001().getIsVolume(), st.toString());
 |  |  			List<File> fileList = HcfdPath.getStepFiles(proId, getA_aft001().getIsVolume(), st.toString());
 | 
											
										
											
												
													
														|  | @@ -440,14 +446,14 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
 | 
											
												
													
														|  |  					fileName +=fileList.get(i).getName()+",";
 |  |  					fileName +=fileList.get(i).getName()+",";
 | 
											
												
													
														|  |  				}
 |  |  				}
 | 
											
												
													
														|  |  			}
 |  |  			}
 | 
											
												
													
														|  | -			JSONObject obj2 = new JSONObject();
 |  | 
 | 
											
												
													
														|  | -			obj2.put("step",st);
 |  | 
 | 
											
												
													
														|  | -			obj2.put("fileName",fileName);
 |  | 
 | 
											
												
													
														|  | -			jsonArray.put(obj2);
 |  | 
 | 
											
												
													
														|  | 
 |  | +			AnimationFile  animationFile =new AnimationFile();
 | 
											
												
													
														|  | 
 |  | +			animationFile.setStep(st);
 | 
											
												
													
														|  | 
 |  | +			animationFile.setFilename(fileName);
 | 
											
												
													
														|  | 
 |  | +			animationFiles.add(animationFile);
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  		obj.put("filePath", exeOutPath);
 |  |  		obj.put("filePath", exeOutPath);
 | 
											
												
													
														|  |  		obj.put("fileType", "ascii");
 |  |  		obj.put("fileType", "ascii");
 | 
											
												
													
														|  | -		obj.put("fileNames", jsonArray);
 |  | 
 | 
											
												
													
														|  | 
 |  | +		obj.put("fileNames", XiJsonUtil.objectToJson(animationFiles));
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	/**
 |  |  	/**
 |