You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.0 KiB
61 lines
1.0 KiB
package com.qniao.iot;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDateTime;
|
|
|
|
@Data
|
|
public class DeviceTotalData {
|
|
|
|
/**
|
|
* 上次开机时间(时间戳)
|
|
*/
|
|
private Long lastBootTime;
|
|
|
|
/**
|
|
* 当天作业计数
|
|
*/
|
|
private Long theDayJobCount;
|
|
|
|
/**
|
|
* 当天作业时长(单位秒)
|
|
*/
|
|
private Long theDayJobDuration;
|
|
|
|
/**
|
|
* 当天开机时长(单位秒)
|
|
*/
|
|
private Long theDayDuration;
|
|
|
|
/**
|
|
* 累计作业计数
|
|
*/
|
|
private Long jobTotal;
|
|
|
|
/**
|
|
* 累计作业时长(单位秒)
|
|
*/
|
|
private Long jobDurationTotal;
|
|
|
|
/**
|
|
* 当前日期(格式:yyyy-MM-dd)
|
|
*/
|
|
private String currLocalDate;
|
|
|
|
/**
|
|
* 消息时间
|
|
*/
|
|
private Long reportTime;
|
|
|
|
|
|
/**
|
|
* 机器电源状态(0断电 1供电)
|
|
*/
|
|
private Integer machinePwrStat;
|
|
|
|
/**
|
|
* 机器工作状态(0未工作 1工作中 2待机中)
|
|
*/
|
|
private Integer machineWorkingStat;
|
|
}
|