|
@@ -108,14 +108,14 @@ public class MonitorTargetRegion extends OrgEntity {
|
|
|
*/
|
|
|
@Schema(description = "温度报警上限")
|
|
|
@JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
+// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
private Float temperatureUp;
|
|
|
/**
|
|
|
* 温度报警下限
|
|
|
*/
|
|
|
@Schema(description = "温度报警下限")
|
|
|
@JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
+// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
private Float temperatureDown;
|
|
|
|
|
|
/**
|
|
@@ -124,14 +124,14 @@ public class MonitorTargetRegion extends OrgEntity {
|
|
|
|
|
|
@Schema(description = "湿度报警上限")
|
|
|
@JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
+// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
private Float humidityUp;
|
|
|
/**
|
|
|
* 湿度报警下限
|
|
|
*/
|
|
|
@Schema(description = "湿度报警下限")
|
|
|
@JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
+// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
private Float humidityDown;
|
|
|
|
|
|
/**
|
|
@@ -139,7 +139,7 @@ public class MonitorTargetRegion extends OrgEntity {
|
|
|
*/
|
|
|
@Schema(description = "二氧化碳报警上限")
|
|
|
@JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
+// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
private Float co2Up;
|
|
|
|
|
|
/**
|
|
@@ -147,7 +147,7 @@ public class MonitorTargetRegion extends OrgEntity {
|
|
|
*/
|
|
|
@Schema(description = "二氧化碳报警下限")
|
|
|
@JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
+// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
private Float co2Down;
|
|
|
|
|
|
/**
|