Browse Source

代码修改

liubing 3 years ago
parent
commit
b9f5048b2c

+ 4 - 4
svr/svr-cloud-device/src/main/java/com/yihu/jw/care/service/DeviceService.java

@ -614,10 +614,10 @@ public class DeviceService {
                        }
                    }
                    if ("1".equals(bed_status)){//呼吸 心率检测
                        Integer theshold_breath_h = 100;
                        Integer theshold_breath_l = 50;
                        Integer theshold_heartrate_h = 25;
                        Integer theshold_heartrate_l = 8;
                        Integer theshold_breath_h = 25;
                        Integer theshold_breath_l = 8;
                        Integer theshold_heartrate_h = 100;
                        Integer theshold_heartrate_l = 50;
                        if (StringUtils.isNotBlank(breath)){
                          Integer breath1 = Integer.parseInt(breath);
                          if (breath1>theshold_breath_h||breath1<theshold_breath_l){