old mode 100644
new mode 100755
| | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | import lombok.ToString; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | |
| | | @Data |
| | | @ToString |
| | | @NoArgsConstructor |
| | | public class DryOrderTrendVo { |
| | | |
| | | /**id*/ |
| | |
| | | @ApiModelProperty(value = "含水率", example = "33") |
| | | private Double moisture; |
| | | /**温度*/ |
| | | @ApiModelProperty(value = "温度", example = "70") |
| | | private Double temp; |
| | | @ApiModelProperty(value = "风机温度", example = "70") |
| | | private Double fanTemp; |
| | | /**风箱温度*/ |
| | | @ApiModelProperty(value = "风箱温度") |
| | | private Double bellowsTemp; |
| | | |
| | | /**总时间*/ |
| | | @ApiModelProperty(value = "总时间") |
| | | private Integer totalTime; |
| | | /**干燥时间s*/ |
| | | @ApiModelProperty(value = "干燥时间s") |
| | | private Integer dryTime; |
| | | /**翻料次数*/ |
| | | @ApiModelProperty(value = "翻料次数") |
| | | private Integer turn; |
| | | /**风机频率*/ |
| | | @ApiModelProperty(value = "风机频率") |
| | | private Double fanFrequency; |
| | | /**实时重量*/ |
| | | @ApiModelProperty(value = "实时重量") |
| | | private Double weight; |
| | | /**热风1/冷风0*/ |
| | | @ApiModelProperty(value = "热风1/冷风0") |
| | | private Integer wind; |
| | | /**时间*/ |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | |
| | | /**租户id*/ |
| | | @ApiModelProperty(value = "租户id", example = "1000") |
| | | private Integer tenantId; |
| | | |
| | | |
| | | /**蒸汽消耗*/ |
| | | @ApiModelProperty(value = "蒸汽消耗") |
| | | private Double steam; |
| | | |
| | | /**电能消耗*/ |
| | | @ApiModelProperty(value = "电能消耗") |
| | | private Double watt; |
| | | |
| | | |
| | | public DryOrderTrendVo(RealTimeDataVo realTimeDataVo) { |
| | | this.fanFrequency = realTimeDataVo.getFanfrq(); |
| | | this.weight = realTimeDataVo.getWeight3(); |
| | | this.moisture = realTimeDataVo.getMoisture2(); |
| | | this.fanTemp = realTimeDataVo.getTemp1(); |
| | | this.bellowsTemp = realTimeDataVo.getTemp2(); |
| | | this.dryTime = realTimeDataVo.getTime2(); |
| | | this.wind = realTimeDataVo.getWind()?1:0; |
| | | this.turn = realTimeDataVo.getTurntime(); |
| | | this.totalTime = realTimeDataVo.getTime3(); |
| | | this.orderId = realTimeDataVo.getOrderId(); |
| | | this.watt = realTimeDataVo.getWatt(); |
| | | this.steam = realTimeDataVo.getSteam(); |
| | | this.tim = new Date(); |
| | | } |
| | | } |