Эх сурвалжийг харах

修复三合一血糖仪 尿酸无法获取问题

Melon 4 сар өмнө
parent
commit
dfe6722700

+ 1 - 1
app/src/main/java/vinno/sportinspect/devices/BoolSugarBeneCheck.java

@@ -74,7 +74,7 @@ public class BoolSugarBeneCheck extends BaseDevices {
             callBack((double)entity.CHOLESTEROL_VALUE <= 0 ? StatusConstant.BLE_MEASURE_CHOLESTEROL_FAIL : StatusConstant.BLE_MEASURE_CHOLESTEROL_SUCCESS, entity);
         }else if( key.equals("UricAcid") ){ //尿酸
             entity.URIC_ACID_VALUE = _value;
-            callBack((double)entity.CHOLESTEROL_VALUE <= 0 ? StatusConstant.BLE_MEASURE_URIC_ACID_FAIL : StatusConstant.BLE_MEASURE_URIC_ACID_SUCCESS, entity);
+            callBack((double)entity.URIC_ACID_VALUE <= 0 ? StatusConstant.BLE_MEASURE_URIC_ACID_FAIL : StatusConstant.BLE_MEASURE_URIC_ACID_SUCCESS, entity);
         }
     }
     //百捷region start

+ 1 - 1
gradle/wrapper/gradle-wrapper.properties

@@ -1,6 +1,6 @@
 #Tue Dec 05 10:42:49 CST 2023
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists