update translation.
authorTrillGates <williamtrillgates@gmail.com>
Thu, 19 Aug 2021 08:47:40 +0000 (16:47 +0800)
committerTrillGates <williamtrillgates@gmail.com>
Thu, 19 Aug 2021 08:47:40 +0000 (16:47 +0800)
app/src/main/java/com/enqualcomm/support/bean/TemperatureInfo.java
app/src/main/res/values-ja/strings.xml

index 5907485..ae89b16 100644 (file)
@@ -1,5 +1,7 @@
 package com.enqualcomm.support.bean;
 
+import com.enqualcomm.support.utils.ICLogger;
+
 public class TemperatureInfo {
 
     public double currentBodyTemp;
@@ -8,8 +10,8 @@ public class TemperatureInfo {
     public String measureTime;
     public double bodyTempThresholdMax = 0;
     public double bodyTempThresholdMin = 0;
-    private double workMax = 0;
-    private double workMin = 0;
+    private double workMax = 1000;
+    private double workMin = -1000;
 
     public void setBodyTempThreshold(double max, double min, double workMax, double workMin) {
         bodyTempThresholdMax = max;
@@ -30,13 +32,17 @@ public class TemperatureInfo {
      * @return 0 normal , 1 过高,2 过低,3环境温度过高,4环境温度过低
      */
     public int isBodyTempAbnormal() {
+        ICLogger.d("bodyTempThresholdMax == > " + bodyTempThresholdMax);
+        ICLogger.d("bodyTempThresholdMin == > " + bodyTempThresholdMin);
+        ICLogger.d("workMax == > " + workMax);
+        ICLogger.d("workMax == > " + workMax);
         if (bodyTempThresholdMax > 0 && currentBodyTemp > bodyTempThresholdMax) {
             return 1;
         } else if (bodyTempThresholdMin > 0 && currentBodyTemp < bodyTempThresholdMin) {
             return 2;
-        } else if (workMax != -1 && currentWristTempOut > workMax) {
+        } else if (workMax != 1000 && currentWristTempOut > workMax) {
             return 3;
-        } else if (workMin != -1 && currentWristTempOut < workMin) {
+        } else if (workMax != -1000 && currentWristTempOut < workMin) {
             return 4;
         } else {
             return 0;
index e00afc7..c8d5a57 100644 (file)
     <string name="heart_rate_exception_tips_text">心拍異常(BPM</string>
     <string name="blood_presure_exception_tips_text">血圧異常(</string>
     <string name="body_temperature_exception_tips_text">体温異常(</string>
-    <string name="web_sms_title_text">SMS通知</string>
+    <string name="web_sms_title_text">通知</string>
     <string name="close_tips_text">シャットダウン</string>
     <string name="low_power_warning_text">低電力アラート</string>
     <string name="sos_warning_msg_text">緊急SOS</string>
     <string name="sos_sms_content_text">%sからSOSが発信されました。%s</string>
     <string name="read_text">既読</string>
-    <string name="reply_text">回复</string>
+    <string name="reply_text">返信</string>
     <string name="send_msg_error_tips_text">送信失败</string>
     <string name="send_success_tips_text">送信成功</string>
     <string name="back_text">戻る</string>