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("packer_time_data")
|
public class PackerTimeData {
|
|
/**
|
* 时间戳
|
*/
|
@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 xiaohemoVal;
|
|
/**
|
* 条盒膜消耗
|
*/
|
private Double tiaohemoVal;
|
|
/**
|
* 小盒纸消耗
|
*/
|
private Double xiaohezhiVal;
|
|
/**
|
* 条盒纸消耗
|
*/
|
private Double tiaohezhiVal;
|
|
/**
|
* 内衬纸消耗
|
*/
|
private Double neichenzhiVal;
|
|
/**
|
* 运行时间
|
*/
|
private Double runTime;
|
|
/**
|
* 停机时间
|
*/
|
private Double stopTime;
|
|
/**
|
* 停机次数
|
*/
|
private Integer stopTimes;
|
|
/**
|
* 车速
|
*/
|
private Integer speed;
|
|
/**
|
* 运行状态(-1 断网 0停止 1低速运行 2正常运行)
|
*/
|
private Integer runStatus;
|
|
/**
|
* 提升机产量
|
*/
|
private Double tsQty;
|
|
/**
|
* 主机产量(小包机)
|
*/
|
private Double mainQty;
|
|
/**
|
* 主机剔除量
|
*/
|
private Double mainBadQty;
|
|
/**
|
* 透包机产量
|
*/
|
private Double tbjQty;
|
|
/**
|
* 透包机剔除好包
|
*/
|
private Double tbjGdQty;
|
|
/**
|
* 透包机剔除坏包
|
*/
|
private Double tbjBadQty;
|
|
/**
|
* 排包机产量
|
*/
|
private Double pbjQty;
|
|
/**
|
* 班次 (1位数字)
|
*/
|
private Integer shift;
|
|
/**
|
* 设备号 (3位数字)
|
*/
|
private Integer equNo;
|
}
|