浏览代码

报表更新

fuyanting 1 年之前
父节点
当前提交
c2da61385e
共有 1 个文件被更改,包括 266 次插入0 次删除
  1. 266 0
      fidms-admin/src/main/java/com/fidms/web/domain/ExportAll.java

+ 266 - 0
fidms-admin/src/main/java/com/fidms/web/domain/ExportAll.java

@@ -0,0 +1,266 @@
+package com.fidms.web.domain;
+
+import com.fidms.common.annotation.Excel;
+import com.fidms.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import java.math.BigDecimal;
+
+public class ExportAll extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+    public InfraredOutput infraredout;
+    public InfraredInput infraredin;
+
+    /** 编号 */
+    @Excel(name="红外输出编号")
+    public Long id;
+
+    /**对应红外输入编号*/
+    @Excel(name="对应红外输入编号")
+    public Long infraredInputID;
+
+
+    /** 文件输出路径 */
+    @Excel(name = "文件输出路径")
+    public String outputFilePath;
+
+    /** 红外辐射强度 */
+    @Excel(name = "红外辐射强度")
+    public BigDecimal radiationIntensity;
+
+    /** 红外图像路径 */
+    @Excel(name = "红外图像",width = 25,height = 125,cellType= Excel.ColumnType.IMAGE)
+    public String infraredImagePath;
+
+    public void getinfraredoutData(InfraredOutput infraredout)
+    {
+        id = infraredout.getId();
+        infraredInputID = infraredout.getInfraredInputID();
+        outputFilePath = infraredout.getOutputFilePath();
+        radiationIntensity = infraredout.getRadiationIntensity();
+        infraredImagePath = infraredout.getInfraredImagePath();
+    }
+
+    @Excel(name="对应流场输出编号")
+    public Long flowFieldOutputID;
+
+    /** 完好发射率 */
+    @Excel(name = "完好发射率")
+    public BigDecimal FullLaunchRate;
+
+    /** 损伤发射率 */
+    @Excel(name = "损伤发射率")
+    public BigDecimal DamageLaunchRate;
+
+    /** 损伤区域 */
+    @Excel(name = "损伤区域")
+    public String DamageArea;
+
+    /** 损伤面积比 */
+    @Excel(name = "损伤面积比")
+    public BigDecimal DamageAreaRatio;
+
+    /** 表面状态说明 */
+    @Excel(name = "表面状态说明")
+    public String SurfaceDescription;
+
+    /** 探测距离*/
+    @Excel(name = "探测距离")
+    public BigDecimal DetectDistance;
+
+    /** 探测方位角 */
+    @Excel(name = "探测方位角")
+    public BigDecimal DetectAngle;
+
+    /** 红外波段 */
+    @Excel(name = "红外波段")
+    public BigDecimal InfraredBand;
+
+    public void getinfraredinData(InfraredInput infraredin)
+    {
+        flowFieldOutputID = infraredin.getFlowFieldOutputID();
+        FullLaunchRate = infraredin.getFullLaunchRate();
+        DamageLaunchRate = infraredin.getDamageLaunchRate();
+        DamageArea =infraredin.getDamageArea();
+        DamageAreaRatio = infraredin.getDamageAreaRatio();
+        SurfaceDescription = infraredin.getSurfaceDescription();
+        DetectDistance=infraredin.getDetectDistance();
+        DetectAngle=infraredin.getDetectAngle();
+        InfraredBand=infraredin.getInfraredBand();
+    }
+
+    /**对应流场输入编号*/
+    @Excel(name = "对应流场输入编号")
+    public Long flowFieldInputID;
+
+    /** 是否为结构网格 */
+    @Excel(name = "是否为结构网格")
+    public Boolean isStructureGrid;
+
+    /** 网格数 */
+    @Excel(name = "网格数")
+    public BigDecimal gridNumber;
+
+    /** 迭代步数*/
+    @Excel(name = "迭代步数")
+    public BigDecimal iterationSteps;
+
+    /** cas文件输出路径 */
+    @Excel(name = "cas文件输出")
+    public String casOutputFilePath;
+
+    /** dat文件输出路径 */
+    @Excel(name = "dat文件输出")
+    public String datOutputFilePath;
+
+    /** other文件输出路径 */
+    @Excel(name = "other文件输出")
+    public String otherOutputFilePath;
+
+    /**表面温度分布图路径*/
+    @Excel(name="表面温度分布图",width = 25,height = 125,cellType= Excel.ColumnType.IMAGE)
+    public String temperatureImagePath;
+
+    /**表面速度分布图路径*/
+    @Excel(name="表面速度分布图",width = 25,height = 125,cellType= Excel.ColumnType.IMAGE)
+    public String velocityImagePath;
+
+    /**表面压力分布图路径*/
+    @Excel(name="表面压力分布图",width = 25,height = 125,cellType= Excel.ColumnType.IMAGE)
+    public String pressureImagePath;
+
+    public void getFlowfieldoutData(FlowFieldOutput flowfieldout){
+        flowFieldInputID = flowfieldout.getFlowFieldInputID();
+        isStructureGrid = flowfieldout.getIsStructureGrid();
+        gridNumber = flowfieldout.getGridNumber();
+        iterationSteps = flowfieldout.getIterationSteps();
+        casOutputFilePath = flowfieldout.getCasOutputFilePath();
+        datOutputFilePath = flowfieldout.getDatOutputFilePath();
+        otherOutputFilePath = flowfieldout.getOtherOutputFilePath();
+        temperatureImagePath = flowfieldout.getTemperatureImagePath();
+        velocityImagePath=flowfieldout.getVelocityImagePath();
+        pressureImagePath=flowfieldout.getPressureImagePath();
+    }
+
+    /** 3d模型主键 */
+    @Excel(name = "3d模型主键")
+    public Long model3dId;
+
+    @Excel(name = "3d模型")
+    public String model3dName;
+
+    /** 来流马赫数*/
+    @Excel(name = "来流马赫数")
+    public BigDecimal machNumber;
+
+    /** 来流方向x */
+    @Excel(name = "来流方向x")
+    public BigDecimal flowDirectionX;
+
+    /** 来流方向y */
+    @Excel(name = "来流方向y")
+    public BigDecimal flowDirectionY;
+
+    /** 来流方向z */
+    @Excel(name = "来流方向z")
+    public BigDecimal flowDirectionZ;
+
+    /** 流速x */
+    @Excel(name = "流速x")
+    public BigDecimal flowVelocityX;
+
+    /** 流速y */
+    @Excel(name = "流速y")
+    public BigDecimal flowVelocityY;
+
+    /** 流速z */
+    @Excel(name = "流速z")
+    public BigDecimal flowVelocityZ;
+
+    /**红外波段*/
+    @Excel(name = "红外波段")
+    public BigDecimal infraredBand;
+
+    /** 来流温度 */
+    @Excel(name = "来流温度")
+    public BigDecimal flowTemperature;
+
+    /** 来流静压 */
+    @Excel(name = "来流静压")
+    public BigDecimal flowPressure;
+
+    /** 来流密度 */
+    @Excel(name = "来流密度")
+    public BigDecimal flowDensity;
+
+    /** 飞行高度 */
+    @Excel(name = "飞行高度")
+    public BigDecimal flightAltitude;
+
+    /** 二氧化碳质量分数 */
+    @Excel(name = "二氧化碳质量分数")
+    public BigDecimal co2MassFraction;
+
+    /** 一氧化碳质量分数 */
+    @Excel(name = "一氧化碳质量分数")
+    public BigDecimal coMassFraction;
+
+    /** 水蒸气质量分数 */
+    @Excel(name = "水蒸气质量分数")
+    public BigDecimal h2oMassFraction;
+
+    /** Fluent网格文件路径 */
+    @Excel(name = "Fluent网格文件")
+    public String fluentGridFilePath;
+
+    /** Fluent cas文件路径 */
+    @Excel(name = "Fluent cas文件")
+    public String fluentCasFilePath;
+
+    /** Fluent dat文件 */
+    @Excel(name = "Fluent dat文件")
+    public String fluentDatFilePath;
+
+    public void getFlowfieldinData(FlowFieldInput flowfieldin){
+        model3dId = flowfieldin.getModel3dId();
+        model3dName = flowfieldin.getModel3dName();
+        machNumber = flowfieldin.getMachNumber();
+        flowDirectionX = flowfieldin.getFlowDirectionX();
+        flowDirectionY = flowfieldin.getFlowDirectionY();
+        flowDirectionZ = flowfieldin.getFlowDirectionZ();
+        flowVelocityX = flowfieldin.getFlowVelocityX();
+        flowVelocityY = flowfieldin.getFlowVelocityY();
+        flowVelocityZ = flowfieldin.getFlowVelocityZ();
+        infraredBand = flowfieldin.getInfraredBand();
+        flowTemperature = flowfieldin.getFlowTemperature();
+        flowPressure = flowfieldin.getFlowPressure();
+        flowDensity = flowfieldin.getFlowDensity();
+        flightAltitude = flowfieldin.getFlightAltitude();
+        co2MassFraction = flowfieldin.getCo2MassFraction();
+        coMassFraction = flowfieldin.getCoMassFraction();
+        h2oMassFraction = flowfieldin.getH2oMassFraction();
+        fluentCasFilePath = flowfieldin.getFluentCasFilePath();
+        fluentGridFilePath = flowfieldin.getFluentGridFilePath();
+        fluentDatFilePath = flowfieldin.getFluentDatFilePath();
+    }
+
+    /** 3D模型名称 */
+    @Excel(name = "3D模型名称")
+    public String name;
+
+    /**飞机类型*/
+    @Excel(name="飞机类型")
+    public String aircraftType;
+
+    /** 3d模型文件名称路径 */
+    @Excel(name = "3D模型文件")
+    public String model3dFilePath;
+
+    public void getModel3dData(Model3d model3d){
+        name = model3d.getName();
+        aircraftType = model3d.getAircraftType();
+        model3dFilePath = model3d.getModel3dFilePath();
+    }
+
+}