|
@@ -63,6 +63,70 @@ public class SensorThreshold {
|
|
|
@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;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float tvocUp;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float tvocDown;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float o2Up;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float o2Down;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float n2Up;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float n2Down;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float pressureUp;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float pressureDown;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float ch2oUp;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float ch2oDown;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float illuminanceUp;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float illuminanceDown;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float pm25Up;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float pm25Down;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float pm10Up;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonSerialize(using = FloatNullToDashSerializer.class)
|
|
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#.00")
|
|
|
|
|
+ private Float pm10Down;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 低电量报警下限
|
|
* 低电量报警下限
|
|
@@ -88,5 +152,21 @@ public class SensorThreshold {
|
|
|
this.temperatureDown = monitorTargetRegion.getTemperatureDown();
|
|
this.temperatureDown = monitorTargetRegion.getTemperatureDown();
|
|
|
this.temperatureUp = monitorTargetRegion.getTemperatureUp();
|
|
this.temperatureUp = monitorTargetRegion.getTemperatureUp();
|
|
|
this.batteryDown = monitorTargetRegion.getBatteryDown();
|
|
this.batteryDown = monitorTargetRegion.getBatteryDown();
|
|
|
|
|
+ this.tvocUp = monitorTargetRegion.getTvocUp();
|
|
|
|
|
+ this.tvocDown = monitorTargetRegion.getTvocDown();
|
|
|
|
|
+ this.o2Up = monitorTargetRegion.getO2Up();
|
|
|
|
|
+ this.o2Down = monitorTargetRegion.getO2Down();
|
|
|
|
|
+ this.n2Up = monitorTargetRegion.getN2Up();
|
|
|
|
|
+ this.n2Down = monitorTargetRegion.getN2Down();
|
|
|
|
|
+ this.pressureUp = monitorTargetRegion.getPressureUp();
|
|
|
|
|
+ this.pressureDown = monitorTargetRegion.getPressureDown();
|
|
|
|
|
+ this.ch2oUp = monitorTargetRegion.getCh2oUp();
|
|
|
|
|
+ this.ch2oDown = monitorTargetRegion.getCh2oDown();
|
|
|
|
|
+ this.illuminanceUp = monitorTargetRegion.getIlluminanceUp();
|
|
|
|
|
+ this.illuminanceDown = monitorTargetRegion.getIlluminanceDown();
|
|
|
|
|
+ this.pm25Up = monitorTargetRegion.getPm25Up();
|
|
|
|
|
+ this.pm25Down = monitorTargetRegion.getPm25Down();
|
|
|
|
|
+ this.pm10Up = monitorTargetRegion.getPm10Up();
|
|
|
|
|
+ this.pm10Down = monitorTargetRegion.getPm10Down();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|