干燥机配套车间生产管理系统/云平台服务端
baoshiwei
2023-03-27 88880cf067bf4d3aacdf9ba70353b731888cf9fe
jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryHerb.java
@@ -10,6 +10,7 @@
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.dry.vo.RealTimeDataVo;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
@@ -61,14 +62,14 @@
   @Excel(name = "干燥方法", width = 15)
    @ApiModelProperty(value = "干燥方法")
    private String dryMethod;
   /**干燥时间*/
   @Excel(name = "干燥时间", width = 15)
    @ApiModelProperty(value = "干燥时间")
    private Integer dryTime;
   /**干燥温度*/
   @Excel(name = "干燥温度", width = 15)
    @ApiModelProperty(value = "干燥温度")
    private String dryTemp;
//   /**干燥时间*/
//   @Excel(name = "干燥时间", width = 15)
//    @ApiModelProperty(value = "干燥时间")
//    private Integer dryTime;
//   /**干燥温度*/
//   @Excel(name = "干燥温度", width = 15)
//    @ApiModelProperty(value = "干燥温度")
//    private String dryTemp;
   /**注意事项*/
   @Excel(name = "注意事项", width = 15)
    @ApiModelProperty(value = "注意事项")
@@ -105,4 +106,47 @@
    @Excel(name = "目标含水率", width = 15)
    @ApiModelProperty(value = "目标含水率")
    private Double target;
    /**投料量*/
    @Excel(name = "投料量", width = 15)
    @ApiModelProperty(value = "投料量")
    private Integer feed;
    /**预计干燥时间*/
    @Excel(name = "预计干燥时间", width = 15)
    @ApiModelProperty(value = "预计干燥时间")
    private Integer et;
    /**热风温度*/
    @Excel(name = "热风温度", width = 15)
    @ApiModelProperty(value = "热风温度")
    private Double windTemp;
    /**环境温度*/
    @Excel(name = "环境温度", width = 15)
    @ApiModelProperty(value = "环境温度")
    private Double envTemp;
    /**环境湿度*/
    @Excel(name = "环境湿度", width = 15)
    @ApiModelProperty(value = "环境湿度")
    private Double envHum;
    /**荡料延时ms*/
    @Excel(name = "荡料延时ms", width = 15)
    @ApiModelProperty(value = "荡料延时ms")
    private Integer delay;
    /**翻料次数*/
    @Excel(name = "翻料次数", width = 15)
    @ApiModelProperty(value = "翻料次数")
    private Integer turn;
    public DryHerb(){}
    public DryHerb(RealTimeDataVo realTimeDataVo) {
        this.code = realTimeDataVo.getIndex() + "";
        this.delay = realTimeDataVo.getDelay();
        this.name = realTimeDataVo.getName();
        this.delay = realTimeDataVo.getDelay();
        this.turn = realTimeDataVo.getTurntime();
        this.feed = realTimeDataVo.getWeight1();
        this.initial = realTimeDataVo.getMoisture1();
        this.target = realTimeDataVo.getMoisture3();
        this.windTemp = realTimeDataVo.getTemp3();
        this.et = realTimeDataVo.getTime1();
        this.tenantId = realTimeDataVo.getTenantid();
    }
}