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("makeup_time_data")
|
public class MakeupTimeData {
|
|
/**
|
* 时间戳
|
*/
|
@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 panzhiVal;
|
|
/**
|
* 运行时间
|
*/
|
private Double runTime;
|
|
/**
|
* 停机时间
|
*/
|
private Double stopTime;
|
|
/**
|
* 停机次数
|
*/
|
private Integer stopTimes;
|
|
/**
|
* 车速
|
*/
|
private Integer speed;
|
|
/**
|
* 班次 (1位数字)
|
*/
|
private Integer shift;
|
|
/**
|
* 设备号 (3位数字)
|
*/
|
private Integer equNo;
|
|
/**
|
* 数据更新时间
|
*/
|
private Date DacUpTime;
|
}
|