package com.shlb.timescaledbutils.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.util.Date;
|
|
/**
|
* 卷接机表
|
*/
|
@Data
|
@Accessors(chain = true)
|
@TableName("roller_time_data")
|
public class RollerTimeData {
|
|
/**
|
* 时间戳
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date time;
|
|
/**
|
* 设备编号
|
*/
|
private String key;
|
|
/**
|
* 网络状态(0异常 1正常)
|
*/
|
private Integer online;
|
|
/**
|
* 产量
|
*/
|
private Double qty;
|
|
/**
|
* 剔除产量
|
*/
|
private Double badQty;
|
|
/**
|
* 滤棒消耗
|
*/
|
private Double lvbangVal;
|
|
/**
|
* 卷烟纸消耗
|
*/
|
private Double juanyanzhiVal;
|
|
/**
|
* 水松纸消耗
|
*/
|
private Double shuisongzhiVal;
|
|
/**
|
* 运行时间
|
*/
|
private Double runTime;
|
|
/**
|
* 停机时间
|
*/
|
private Double stopTime;
|
|
/**
|
* 停机次数
|
*/
|
private Integer stopTimes;
|
|
/**
|
* 车速
|
*/
|
private Integer speed;
|
|
/**
|
* 运行状态(-1断网 0停止 1低速运行 2正常运行)
|
*/
|
private Integer runStatus;
|
|
/**
|
* 储烟设备储量
|
*/
|
private Double cy;
|
|
/**
|
* 储烟设备车速(1-包装机 6-卷烟机)
|
*/
|
private Integer cyCs;
|
|
/**
|
* 22-卷烟机运行状态 23-包装机运行状态
|
*/
|
private String cyOnline;
|
|
/**
|
* 接收机量
|
*/
|
private Double recQty1;
|
|
/**
|
* 接收机量2
|
*/
|
private Double recQty2;
|
|
/**
|
* 班次 (1位数字)
|
*/
|
private Integer shift;
|
|
/**
|
* 设备号 (3位数字)
|
*/
|
private Integer equNo;
|
}
|