void BloodOxygenView::Upspo2data()
{
uint16_t spo2_ = BloodOxygenModel::GetInstance()->GetSPO2data();
- //WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "GetSPO2Data %d", spo2_);
+ // WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "GetSPO2Data %d", spo2_);
std::string bloodoxygenStr = std::to_string(spo2_);
percent->SetText(bloodoxygenStr.c_str());
}
BloodScrollView[BLOODVIEW]->SetOnDragListener(draglistener);
BloodScrollView[BLOODVIEW]->SetTouchable(true);
BloodScrollView[BLOODVIEW]->SetDraggable(true);
+ BloodScrollView[BLOODVIEW]->SetVerticalScrollState(false); // 禁止纵向滑动
/* -------------------------------------------------------------------------- */
if (InitImageDisplay() == false)
{
BloodResultView::BloodResultView()
{
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "BloodBandoffView::BloodBandoffView");
-
+
g_pMainView = this;
}
BloodResultScrollView->SetOnDragListener(draglistener);
BloodResultScrollView->SetTouchable(true);
BloodResultScrollView->SetDraggable(true);
+ BloodResultScrollView->SetHorizontalScrollState(false); // 禁止横向滑动
/* -------------------------------------------------------------------------- */
if (InitImageDisplay() == false)
{