-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":939,"versionName":"2109031043","enabled":true,"outputFile":"ICSer_V939_2109031043_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V939_2109031043_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":940,"versionName":"2109031442","enabled":true,"outputFile":"ICSer_V940_2109031442_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V940_2109031442_release.apk","properties":{}}]
\ No newline at end of file
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 != 1000 && currentWristTempOut > workMax) {
+ } else {
+ return 0;
+ }
+ }
+
+ public int checkWorkTemp() {
+ ICLogger.d("workMax == > " + workMax);
+ ICLogger.d("workMax == > " + workMax);
+ if (workMax != 1000 && currentWristTempOut > workMax) {
return 3;
} else if (workMax != -1000 && currentWristTempOut < workMin) {
return 4;
.getString(R.string.body_temperature_exception_tips_text)
+ temperature.getBodyTemp() + "℃)", "body_temperature",
Constants.WARNING_MSG_TYPE_BODY_TEMP);
- } else if (resultCode == 3) {
+ }
+
+ int workEnvResultCode = runtime.tempInfo.checkWorkTemp();
+
+ if (workEnvResultCode == 3) {
//创建警告信息
createWarningNotification(
CoreService.getInstance().getRuntime().getContextProxy().context
.getString(R.string.out_temp_too_high_text)
+ temperature.getEnvTemp() + "℃)", "env_temperature",
Constants.WARNING_MSG_TYPE_ENV_TEMP);
- } else if (resultCode == 4) {
+ } else if (workEnvResultCode == 4) {
//创建警告信息
createWarningNotification(
CoreService.getInstance().getRuntime().getContextProxy().context
-#Fri Sep 03 10:43:43 CST 2021\r
-VERSION_CODE=939\r
+#Fri Sep 03 14:42:46 CST 2021\r
+VERSION_CODE=940\r