系统:屏蔽调试打印
authorCaisking <3449750381@qq.com>
Tue, 24 Dec 2024 13:29:25 +0000 (21:29 +0800)
committerCaisking <3449750381@qq.com>
Tue, 24 Dec 2024 13:29:25 +0000 (21:29 +0800)
code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialArcProgressView.cpp
code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelKcalgoalValue.cpp
code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelStepgoalValue.cpp

index e6b4418..b9ab854 100644 (file)
@@ -14,7 +14,7 @@ DialArcProgressView::~DialArcProgressView(void)
 }
 
 void DialArcProgressView::HandleFloatData(float data) {
-    printf("HandleFloatData: %f\n", data);
+    // printf("HandleFloatData: %f\n", data);
     float ratio = data;
     if (ratio > 1.0f) {
         ratio = 1.0f;
index d2f02ec..359d8a2 100644 (file)
@@ -26,7 +26,7 @@ bool DialModelKcalgoalValue::GetDialFloatData(DialDataType &type, float &out) {
   } else {
     KcalgoalValue_ = 0;
   }
-  printf(" KcalgoalValue_:%f\n", KcalgoalValue_);
+  // printf(" KcalgoalValue_:%f\n", KcalgoalValue_);
   out = static_cast<float>(KcalgoalValue_);
   return true;
 }
@@ -43,7 +43,7 @@ void DialModelKcalgoalValue::UpdateKcalgoalValue(uint32_t caloriesInput) {
     KcalgoalValue_ = 0;
   }
 
-  printf(" KcalgoalValue_:%f\n", KcalgoalValue_);
+  // printf(" KcalgoalValue_:%f\n", KcalgoalValue_);
 
   if (onChangeListener_) {
     onChangeListener_->OnDialFloatDataUpdate(
index 0a0ca52..0a3fbe3 100644 (file)
@@ -28,7 +28,7 @@ bool DialModelStepgoalValue::GetDialFloatData(DialDataType &type, float &out) {
     stepgoalValue_ = 0;
   }
 
-  printf("stepgoalValue_ %f\n", stepgoalValue_);
+  // printf("stepgoalValue_ %f\n", stepgoalValue_);
   out = static_cast<float>(stepgoalValue_);
   return true;
 }
@@ -43,8 +43,7 @@ void DialModelStepgoalValue::UpdateStepgoalValue(uint32_t steps) {
   } else {
     stepgoalValue_ = 0;
   }
-  printf("steps %d goalValue %d stepgoalValue_ %f\n", steps, goalValue,
-         stepgoalValue_);
+  // printf("steps %d goalValue %d stepgoalValue_ %f\n", steps, goalValue, stepgoalValue_);
   if (onChangeListener_ != nullptr) {
     //更新百分比 实际值
     onChangeListener_->OnDialFloatDataUpdate(