|
@@ -1,5 +1,6 @@
|
|
|
package vip.xiaonuo.coldchain.modular.hmi.entity;
|
|
package vip.xiaonuo.coldchain.modular.hmi.entity;
|
|
|
|
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Getter;
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
import lombok.Setter;
|
|
@@ -24,9 +25,11 @@ public class RoomMonitor {
|
|
|
private String monitorName;
|
|
private String monitorName;
|
|
|
/** 探头编号 */
|
|
/** 探头编号 */
|
|
|
@Schema(description = "探头编号")
|
|
@Schema(description = "探头编号")
|
|
|
|
|
+ @JsonIgnore
|
|
|
private String sensorCode;
|
|
private String sensorCode;
|
|
|
/** 探头路由 */
|
|
/** 探头路由 */
|
|
|
@Schema(description = "探头路由")
|
|
@Schema(description = "探头路由")
|
|
|
|
|
+ @JsonIgnore
|
|
|
private Integer sensorRoute;
|
|
private Integer sensorRoute;
|
|
|
/** 温度 */
|
|
/** 温度 */
|
|
|
@Schema(description = "温度")
|
|
@Schema(description = "温度")
|
|
@@ -39,15 +42,19 @@ public class RoomMonitor {
|
|
|
private Integer status;
|
|
private Integer status;
|
|
|
/** 最低报警温度 */
|
|
/** 最低报警温度 */
|
|
|
@Schema(description = "最低报警温度")
|
|
@Schema(description = "最低报警温度")
|
|
|
|
|
+ @JsonIgnore
|
|
|
private Float td;
|
|
private Float td;
|
|
|
/** 最高报警温度 */
|
|
/** 最高报警温度 */
|
|
|
@Schema(description = "最高报警温度")
|
|
@Schema(description = "最高报警温度")
|
|
|
|
|
+ @JsonIgnore
|
|
|
private Float tu;
|
|
private Float tu;
|
|
|
/** 最低报警湿度 */
|
|
/** 最低报警湿度 */
|
|
|
@Schema(description = "最低报警湿度")
|
|
@Schema(description = "最低报警湿度")
|
|
|
|
|
+ @JsonIgnore
|
|
|
private Float hd;
|
|
private Float hd;
|
|
|
/** 最高报警湿度 */
|
|
/** 最高报警湿度 */
|
|
|
@Schema(description = "最高报警湿度")
|
|
@Schema(description = "最高报警湿度")
|
|
|
|
|
+ @JsonIgnore
|
|
|
private Float hu;
|
|
private Float hu;
|
|
|
/** 异常报警 0:正常 1:温湿度异常 */
|
|
/** 异常报警 0:正常 1:温湿度异常 */
|
|
|
@Schema(description = "异常报警")
|
|
@Schema(description = "异常报警")
|