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