From 42c731cc2c58cc44a9794b6b5e3ca866679efd3d Mon Sep 17 00:00:00 2001 From: Caisking Date: Fri, 6 Feb 2026 15:10:07 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E5=AD=98=E5=82=A8=E6=97=B6?= =?utf8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/traing/src/TraingModel.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingModel.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingModel.cpp index f961af0e7..04e1d08b5 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingModel.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingModel.cpp @@ -827,9 +827,7 @@ void TraingModel::SetSportdata(SportData *data) { sportState_ = ExerciseState::General; Openstate = false; // 关闭运动标志位 - - // 记录运动数据 - // RecordSportData(); + //配置最后的训练强度(平均心率为标准) SetIntensity(sportdata->avgheart); @@ -837,9 +835,12 @@ void TraingModel::SetSportdata(SportData *data) { //更新gps点位 GetPointData(); - //存储运动数据 - do_custom_fileoperate_service_check_msg( - CUSTOM_FILEOPERATE_MSG_TYPE_SPORTDATA_SAVE, nullptr, 0); + //存储运动数据 + // do_custom_fileoperate_service_check_msg( + // CUSTOM_FILEOPERATE_MSG_TYPE_SPORTDATA_SAVE, nullptr, 0); + + // 记录运动数据 + RecordSportData(); Startstate = false; Endstate = true; -- 2.17.1