|
@ -651,6 +651,20 @@ public class DeviceService {
|
|
|
Double minValueBefore = healthStandardConfig.getXt_min_before();
|
|
|
Double maxValueAfter = healthStandardConfig.getXt_max_after();
|
|
|
Double minValueAfter = healthStandardConfig.getXt_min_after();
|
|
|
if (standard != null) {
|
|
|
if (standard.getMaxValue1() > 0) {
|
|
|
maxValueBefore = standard.getMaxValue1();
|
|
|
}
|
|
|
if (standard.getMinValue1() > 0) {
|
|
|
minValueBefore = standard.getMinValue1();
|
|
|
}
|
|
|
if (standard.getMaxValue2() > 0) {
|
|
|
maxValueAfter = standard.getMaxValue2();
|
|
|
}
|
|
|
if (standard.getMinValue2() > 0) {
|
|
|
minValueAfter = standard.getMinValue2();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
int index = Integer.valueOf(data.getValue2());
|
|
|
String value1 = data.getValue1();
|