|
|
|
package com.example.device.entity;
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author mengff
|
|
|
|
* @Date 2024/01/04
|
|
|
|
*/
|
|
|
|
public class Status {
|
|
|
|
public String getDeviceIp() {
|
|
|
|
return deviceIp;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceIp(String deviceIp) {
|
|
|
|
this.deviceIp = deviceIp;
|
|
|
|
}
|
|
|
|
public LocalDateTime getStartTime() {
|
|
|
|
return startTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setStartTime(LocalDateTime startTime) {
|
|
|
|
this.startTime = startTime;
|
|
|
|
}
|
|
|
|
public LocalDateTime getTime() {
|
|
|
|
return time;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTime(LocalDateTime time) {
|
|
|
|
this.time = time;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDeviceNo() {
|
|
|
|
return deviceNo;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Status(long id, String deviceNo, String deviceName, int deviceStatus) {
|
|
|
|
this.id = id;
|
|
|
|
this.deviceNo = deviceNo;
|
|
|
|
this.deviceName = deviceName;
|
|
|
|
this.deviceStatus = deviceStatus;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Status() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceNo(String deviceNo) {
|
|
|
|
this.deviceNo = deviceNo;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDeviceName() {
|
|
|
|
return deviceName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceName(String deviceName) {
|
|
|
|
this.deviceName = deviceName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getDeviceStatus() {
|
|
|
|
return deviceStatus;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceStatus(int deviceStatus) {
|
|
|
|
this.deviceStatus = deviceStatus;
|
|
|
|
}
|
|
|
|
|
|
|
|
private long id;
|
|
|
|
|
|
|
|
private String deviceNo;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return "Status{" +
|
|
|
|
"id=" + id +
|
|
|
|
", deviceNo='" + deviceNo + '\'' +
|
|
|
|
", deviceName='" + deviceName + '\'' +
|
|
|
|
", deviceStatus=" + deviceStatus +
|
|
|
|
", time=" + time +
|
|
|
|
", startTime=" + startTime +
|
|
|
|
", deviceIp=" + deviceIp +
|
|
|
|
'}';
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String deviceName;
|
|
|
|
private int deviceStatus;
|
|
|
|
|
|
|
|
private LocalDateTime time;
|
|
|
|
|
|
|
|
public String getSuccessRate() {
|
|
|
|
return successRate;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSuccessRate(String successRate) {
|
|
|
|
this.successRate = successRate;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLostRate() {
|
|
|
|
return lostRate;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLostRate(String lostRate) {
|
|
|
|
this.lostRate = lostRate;
|
|
|
|
}
|
|
|
|
|
|
|
|
private LocalDateTime startTime;
|
|
|
|
|
|
|
|
private String deviceIp;
|
|
|
|
|
|
|
|
private String successRate;
|
|
|
|
|
|
|
|
private String lostRate;
|
|
|
|
|
|
|
|
private String direction;
|
|
|
|
|
|
|
|
private String production;
|
|
|
|
|
|
|
|
public String getDirection() {
|
|
|
|
return direction;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDirection(String direction) {
|
|
|
|
this.direction = direction;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getProduction() {
|
|
|
|
return production;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setProduction(String production) {
|
|
|
|
this.production = production;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getModel() {
|
|
|
|
return model;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setModel(String model) {
|
|
|
|
this.model = model;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getNetwork() {
|
|
|
|
return network;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setNetwork(String network) {
|
|
|
|
this.network = network;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getContent() {
|
|
|
|
return content;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setContent(String content) {
|
|
|
|
this.content = content;
|
|
|
|
}
|
|
|
|
|
|
|
|
private String model;
|
|
|
|
|
|
|
|
private String network;
|
|
|
|
|
|
|
|
private String content;
|
|
|
|
|
|
|
|
}
|