|
@@ -307,6 +307,8 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
|
|
|
|
|
|
}else if(action.equals("animation")){
|
|
}else if(action.equals("animation")){
|
|
JSONObject obj = new JSONObject();
|
|
JSONObject obj = new JSONObject();
|
|
|
|
+ String hideZones =this.getA_aft001().getHideZones();
|
|
|
|
+ obj.put("hideZones",hideZones);
|
|
animationTypePara(scalarName, level, range0, range1, obj);
|
|
animationTypePara(scalarName, level, range0, range1, obj);
|
|
if(solver.getSolverModel().equals("HCFDLab")) {
|
|
if(solver.getSolverModel().equals("HCFDLab")) {
|
|
animationHcfdFile(proId, obj);
|
|
animationHcfdFile(proId, obj);
|
|
@@ -364,10 +366,12 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
|
|
if(StringUtil.isNullOrEmpty(animationType)){
|
|
if(StringUtil.isNullOrEmpty(animationType)){
|
|
throw new BusinessException("4000018");
|
|
throw new BusinessException("4000018");
|
|
}else if(animationType.equals("ContourDisplay")){
|
|
}else if(animationType.equals("ContourDisplay")){
|
|
|
|
+ obj.put("animationType","ContourDisplay");
|
|
obj.put("level", level);
|
|
obj.put("level", level);
|
|
obj.put("range", range0 +","+ range1);
|
|
obj.put("range", range0 +","+ range1);
|
|
obj.put("scalarName", scalarName);
|
|
obj.put("scalarName", scalarName);
|
|
}else if(animationType.equals("LineDisplay")){
|
|
}else if(animationType.equals("LineDisplay")){
|
|
|
|
+ obj.put("animationType","LineDisplay");
|
|
obj.put("level", level);
|
|
obj.put("level", level);
|
|
obj.put("range", range0 +","+ range1);
|
|
obj.put("range", range0 +","+ range1);
|
|
obj.put("scalarName", scalarName);
|
|
obj.put("scalarName", scalarName);
|
|
@@ -383,11 +387,13 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
|
|
){
|
|
){
|
|
throw new BusinessException("EB4000013");
|
|
throw new BusinessException("EB4000013");
|
|
}
|
|
}
|
|
|
|
+ obj.put("animationType","VectorDisplay");
|
|
obj.put("scaleFactor",this.getA_aft001().getScaleFactor());
|
|
obj.put("scaleFactor",this.getA_aft001().getScaleFactor());
|
|
obj.put("dataU",this.getA_aft001().getDataU());
|
|
obj.put("dataU",this.getA_aft001().getDataU());
|
|
obj.put("dataV",this.getA_aft001().getDataV());
|
|
obj.put("dataV",this.getA_aft001().getDataV());
|
|
obj.put("dataW",this.getA_aft001().getDataW());
|
|
obj.put("dataW",this.getA_aft001().getDataW());
|
|
}else if(animationType.equals("SolidSurfaceDisplay")){
|
|
}else if(animationType.equals("SolidSurfaceDisplay")){
|
|
|
|
+ obj.put("animationType","SolidSurfaceDisplay");
|
|
String r =this.getA_aft001().getR();
|
|
String r =this.getA_aft001().getR();
|
|
String g =this.getA_aft001().getG();
|
|
String g =this.getA_aft001().getG();
|
|
String b =this.getA_aft001().getB();
|
|
String b =this.getA_aft001().getB();
|