From 2e7fc41c74a684ae750f5bb47b57b40e43210295 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Tue, 8 Jul 2025 17:30:35 +0800 Subject: [PATCH] =?utf8?q?=E8=A7=A3=E5=86=B3=E7=BC=96=E8=AF=91=E9=94=99?= =?utf8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/bloodpressure/src/BPMainPresenter.cpp | 4 ++-- .../wearable/fd230app/nativeui/bloodpressure/src/BPModel.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPMainPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPMainPresenter.cpp index b807cc262..df2c1414b 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPMainPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPMainPresenter.cpp @@ -152,12 +152,12 @@ namespace OHOS } else if (strcmp(view.GetViewId(), ERRORCHECKBUTTON) == 0) // 失败界面到校准界面 { - if (BPModel:::GetInstance()->GetCalibrationFlag() == 1) // 第一次校准失败 + if (BPModel::GetInstance()->GetCalibrationFlag() == 1) // 第一次校准失败 { BPModel::GetInstance()->BP_Control(BPState::BP_CALIBRATING_FIRSTTIME); BPMainView::GetInstance()->ChangeView(BPCALIBRATIONERRORVIEW, BPUNDERCALIBRATIONVIEW); } - else if (BPModel:::GetInstance()->GetCalibrationFlag() == 3) // 第二次校准失败 + else if (BPModel::GetInstance()->GetCalibrationFlag() == 3) // 第二次校准失败 { BPModel::GetInstance()->BP_Control(BPState::BP_CALIBRATING_SECONDTIME); BPMainView::GetInstance()->ChangeView(BPCALIBRATIONERRORVIEW, BPSECUNDERCALIBRATIONVIEW); diff --git a/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPModel.cpp index 9ffb2546a..bfd2b1421 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bloodpressure/src/BPModel.cpp @@ -724,14 +724,14 @@ namespace OHOS { CalibrationFlag++; #if defined(BOARD_W9) - ConfigModel::GetInstance()->set_configData_Int(ConfigModel::CONFIGMODEL_ITEM_BP_CALIBRATION_FIRST_TIME, configValue); + ConfigModel::GetInstance()->set_condigData_Int(ConfigModel::CONFIGMODEL_ITEM_BP_CALIBRATION_FIRST_TIME, configValue); #endif } else //第二次校准成功,校准完成 { #if defined(BOARD_W9) - ConfigModel::GetInstance()->set_configData_Int(ConfigModel::CONFIGMODEL_ITEM_BP_CALIBRATION_SECOND_TIME, configValue); + ConfigModel::GetInstance()->set_condigData_Int(ConfigModel::CONFIGMODEL_ITEM_BP_CALIBRATION_SECOND_TIME, configValue); #endif CalibrationFlag = 0; } -- 2.17.1