|
|
@ -11,6 +11,45 @@ import java.time.LocalDateTime; |
|
|
|
* @Date 2024/01/04 |
|
|
|
*/ |
|
|
|
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() { |
|
|
|
return deviceIp; |
|
|
|
} |
|
|
@ -18,11 +57,12 @@ public class Status { |
|
|
|
public void setDeviceIp(String deviceIp) { |
|
|
|
this.deviceIp = deviceIp; |
|
|
|
} |
|
|
|
|
|
|
|
public LocalDateTime getStartTime() { |
|
|
|
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.deviceNo = deviceNo; |
|
|
|
this.deviceName = deviceName; |
|
|
@ -110,31 +150,6 @@ public class Status { |
|
|
|
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() { |
|
|
|
return successRate; |
|
|
|
} |
|
|
@ -150,22 +165,6 @@ public class Status { |
|
|
|
public void setLostRate(String 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() { |
|
|
|
return direction; |
|
|
@ -215,10 +214,6 @@ public class Status { |
|
|
|
this.deviceId = deviceId; |
|
|
|
} |
|
|
|
|
|
|
|
// @Excel(name = "型号")
|
|
|
|
|
|
|
|
private String model; |
|
|
|
|
|
|
|
public String getType() { |
|
|
|
return type; |
|
|
|
} |
|
|
@ -227,20 +222,6 @@ public class Status { |
|
|
|
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() { |
|
|
|
return useState; |
|
|
|
} |
|
|
|