¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.dry.vo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | 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; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @ToString |
| | | @NoArgsConstructor |
| | | public class DryOrderTrendVo { |
| | | |
| | | /**id*/ |
| | | @ApiModelProperty(value = "id") |
| | | private String id; |
| | | /**å·¥å*/ |
| | | @ApiModelProperty(value = "å·¥åå·") |
| | | private String orderId; |
| | | /**嫿°´ç*/ |
| | | @ApiModelProperty(value = "嫿°´ç", example = "33") |
| | | private Double moisture; |
| | | /**温度*/ |
| | | @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") |
| | | @ApiModelProperty(value = "æ¶é´", example = "2023-03-13 12:00:00") |
| | | private Date tim; |
| | | /**ç§æ·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(); |
| | | } |
| | | } |