From 0e77a1cd664284af84b5a88633f5416dabafda43 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Wed, 2 Oct 2024 16:32:30 +0800 Subject: [PATCH] =?utf8?q?=E5=BF=83=E7=8E=87=E8=A1=80=E6=B0=A7=EF=BC=9A?= =?utf8?q?=E5=85=B3=E6=9C=BA=E5=AD=98=E5=82=A8=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?utf8?q?=E6=B5=8B=E9=87=8F=E5=AE=8C=E5=AD=98=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/heart_blood/health_service/health_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp index 4067f5226..d381f219d 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp @@ -388,6 +388,7 @@ namespace OHOS // 写入文件到当天历史数据 UpdateHourlyHeartRate(data.timestamp, data.Heart); WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "UpdateHourlyHeartRate is ok"); + SaveDailyHeartRate();//进行心率历史数据文件存储 /* 存储bin文件[协议使用] */ std::string binFilePath = GetBinFilePath(HEALTH_TYPE_HEART); -- 2.17.1