From ce0ee4dd9d69b8eed266c0df84c320bb75b33350 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Tue, 10 Sep 2024 16:32:47 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E9=BB=91=E6=9B=9C=E8=A1=A8?= =?utf8?q?=E7=9B=98=E5=A4=A9=E6=B0=94=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA?= =?utf8?q?=E9=94=99=E8=AF=AFBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/main/src/dial/DialModelWeather.cpp | 2 +- .../dial_converter_tool/instance/114/obsidianrhythm.xml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp index adade5b93..d549ea367 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp @@ -28,7 +28,7 @@ namespace OHOS /*表盘更新天气Icon*/ void DialModelWeather::UpdateWeather(int16_t Weather) { - Weather_ = static_cast(Weather); + Weather_ = static_cast(Weather - 1); if (onChangeListener_ != nullptr) { onChangeListener_->OnDialFloatDataUpdate(DialDataType::DATA_TYPE_WEATHER, Weather_); diff --git a/tools/dial_converter_tool/instance/114/obsidianrhythm.xml b/tools/dial_converter_tool/instance/114/obsidianrhythm.xml index d1b19b504..24516a07e 100644 --- a/tools/dial_converter_tool/instance/114/obsidianrhythm.xml +++ b/tools/dial_converter_tool/instance/114/obsidianrhythm.xml @@ -11,24 +11,23 @@ - + - - + - + - + -- 2.17.1