|
@ -11,6 +11,45 @@ import java.time.LocalDateTime; |
|
|
* @Date 2024/01/04 |
|
|
* @Date 2024/01/04 |
|
|
*/ |
|
|
*/ |
|
|
public class Status { |
|
|
public class Status { |
|
|
|
|
|
private long id; |
|
|
|
|
|
@Excel(name = "设备桩号") |
|
|
|
|
|
private String deviceNo; |
|
|
|
|
|
@Excel(name = "设备名称") |
|
|
|
|
|
private String deviceName; |
|
|
|
|
|
@Excel(name = "状态") |
|
|
|
|
|
private String deviceStatus; |
|
|
|
|
|
//@Excel(name = "使用状态")
|
|
|
|
|
|
private Integer useState; |
|
|
|
|
|
private Integer pageNum; |
|
|
|
|
|
private Integer pageSize; |
|
|
|
|
|
private Long deviceId; |
|
|
|
|
|
private String sectionId; |
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
private LocalDateTime startTime; |
|
|
|
|
|
@Excel(name = "设备IP") |
|
|
|
|
|
private String deviceIp; |
|
|
|
|
|
private String successRate; |
|
|
|
|
|
private String lostRate; |
|
|
|
|
|
@Excel(name = "方向") |
|
|
|
|
|
private String direction; |
|
|
|
|
|
@Excel(name = "厂家") |
|
|
|
|
|
private String production; |
|
|
|
|
|
// @Excel(name = "型号")
|
|
|
|
|
|
private String model; |
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@Excel(name = "监测时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
private LocalDateTime time; |
|
|
|
|
|
//@Excel(name = "网段")
|
|
|
|
|
|
private String network; |
|
|
|
|
|
private String content; |
|
|
|
|
|
//@Excel(name = "类型")
|
|
|
|
|
|
private String type; |
|
|
|
|
|
private String[] types; |
|
|
|
|
|
private String orderByField; |
|
|
|
|
|
private String orderDirection; |
|
|
|
|
|
|
|
|
public String getDeviceIp() { |
|
|
public String getDeviceIp() { |
|
|
return deviceIp; |
|
|
return deviceIp; |
|
|
} |
|
|
} |
|
@ -18,11 +57,12 @@ public class Status { |
|
|
public void setDeviceIp(String deviceIp) { |
|
|
public void setDeviceIp(String deviceIp) { |
|
|
this.deviceIp = deviceIp; |
|
|
this.deviceIp = deviceIp; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public LocalDateTime getStartTime() { |
|
|
public LocalDateTime getStartTime() { |
|
|
return startTime; |
|
|
return startTime; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public Status(long id, String deviceNo, String deviceName, String deviceStatus, String sectionId, LocalDateTime time, LocalDateTime startTime, String deviceIp, String successRate, String lostRate, String direction, String production, String model, String network, String content, String type,Integer pageNum, Integer pageSize) { |
|
|
public Status(long id, String deviceNo, String deviceName, String deviceStatus, String sectionId, LocalDateTime time, LocalDateTime startTime, String deviceIp, String successRate, String lostRate, String direction, String production, String model, String network, String content, String type, Integer pageNum, Integer pageSize) { |
|
|
this.id = id; |
|
|
this.id = id; |
|
|
this.deviceNo = deviceNo; |
|
|
this.deviceNo = deviceNo; |
|
|
this.deviceName = deviceName; |
|
|
this.deviceName = deviceName; |
|
@ -110,31 +150,6 @@ public class Status { |
|
|
this.deviceStatus = deviceStatus; |
|
|
this.deviceStatus = deviceStatus; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private long id; |
|
|
|
|
|
@Excel(name = "设备桩号") |
|
|
|
|
|
|
|
|
|
|
|
private String deviceNo; |
|
|
|
|
|
|
|
|
|
|
|
@Excel(name = "设备类型") |
|
|
|
|
|
private String deviceName; |
|
|
|
|
|
|
|
|
|
|
|
@Excel(name = "状态") |
|
|
|
|
|
private String deviceStatus; |
|
|
|
|
|
//@Excel(name = "使用状态")
|
|
|
|
|
|
private Integer useState; |
|
|
|
|
|
private Integer pageNum; |
|
|
|
|
|
private Integer pageSize; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Long deviceId; |
|
|
|
|
|
|
|
|
|
|
|
private String sectionId; |
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@Excel(name = "监测时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
private LocalDateTime time; |
|
|
|
|
|
|
|
|
|
|
|
public String getSuccessRate() { |
|
|
public String getSuccessRate() { |
|
|
return successRate; |
|
|
return successRate; |
|
|
} |
|
|
} |
|
@ -150,22 +165,6 @@ public class Status { |
|
|
public void setLostRate(String lostRate) { |
|
|
public void setLostRate(String lostRate) { |
|
|
this.lostRate = lostRate; |
|
|
this.lostRate = lostRate; |
|
|
} |
|
|
} |
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
private LocalDateTime startTime; |
|
|
|
|
|
@Excel(name = "设备IP") |
|
|
|
|
|
|
|
|
|
|
|
private String deviceIp; |
|
|
|
|
|
|
|
|
|
|
|
private String successRate; |
|
|
|
|
|
|
|
|
|
|
|
private String lostRate; |
|
|
|
|
|
@Excel(name = "方向") |
|
|
|
|
|
|
|
|
|
|
|
private String direction; |
|
|
|
|
|
@Excel(name = "厂家") |
|
|
|
|
|
|
|
|
|
|
|
private String production; |
|
|
|
|
|
|
|
|
|
|
|
public String getDirection() { |
|
|
public String getDirection() { |
|
|
return direction; |
|
|
return direction; |
|
@ -215,10 +214,6 @@ public class Status { |
|
|
this.deviceId = deviceId; |
|
|
this.deviceId = deviceId; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// @Excel(name = "型号")
|
|
|
|
|
|
|
|
|
|
|
|
private String model; |
|
|
|
|
|
|
|
|
|
|
|
public String getType() { |
|
|
public String getType() { |
|
|
return type; |
|
|
return type; |
|
|
} |
|
|
} |
|
@ -227,20 +222,6 @@ public class Status { |
|
|
this.type = type; |
|
|
this.type = type; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@Excel(name = "网段")
|
|
|
|
|
|
|
|
|
|
|
|
private String network; |
|
|
|
|
|
|
|
|
|
|
|
private String content; |
|
|
|
|
|
|
|
|
|
|
|
//@Excel(name = "类型")
|
|
|
|
|
|
|
|
|
|
|
|
private String type; |
|
|
|
|
|
private String[] types; |
|
|
|
|
|
private String orderByField; |
|
|
|
|
|
private String orderDirection; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getUseState() { |
|
|
public Integer getUseState() { |
|
|
return useState; |
|
|
return useState; |
|
|
} |
|
|
} |
|
|