#include "UISampleView.h"
#include "UISamplePresenter.h"
-#include "heart_blood/include/BloodCardView.h"
+#include "heart_blood/BloodCardView.h"
#include "weather/include/MainWeatherPresenter.h"
#include "weather/include/MainWeatherView.h"
{VIEW_SET_DIAL, &NativeLauncher::InitSetDialSlice},
/*睡眠界面*/
{VIEW_SLEEP, &NativeLauncher::InitSleepSlice},
+ /*心率周期检测*/
+ //{VIEW_SET_HEART, &NativeLauncher::InitSetHeartSlice},
/* -------------------------------------------------------------------------- */
#ifdef SUPPORT_ALIPAY_SEC
\r
-#include "heart_blood/include/BloodCardView.h"\r
+#include "heart_blood/BloodCardView.h"\r
#include "common/image_cache_manager.h"\r
#include "UiConfig.h"\r
#include "ui_resource_image.h"\r
BloodCardView::~BloodCardView()\r
{\r
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BloodCardView::~BloodCardView");\r
- RemoveAll();\r
DeInit();\r
g_pBloodCardView = nullptr;\r
}\r
\r
void BloodCardView::UnLoad(void)\r
{\r
-#if 0\r
if (resLoadStatus)\r
{\r
ImageInfo *img = nullptr;\r
ImageCacheManager::GetInstance().UnloadOneInMultiRes(BLOODOXYGEN_BACKGOUND, BLOOD_IAMGES);\r
resLoadStatus = false;\r
}\r
-#endif\r
}\r
/* -------------------------------------------------------------------------- */\r
}\r
}
cJSON *SPO2 = cJSON_GetObjectItemCaseSensitive(latestData, "value");
- if (SPO2 == nullptr && cJSON_IsNumber(SPO2))
+ if (SPO2 == nullptr && !cJSON_IsNumber(SPO2))
{
// Add spo2_latest_data
cJSON_AddItemToObject(latestData, "value", cJSON_CreateNumber(data.SPO2));
#include "uicomponents/UIComponents.h"
#include "SetCardModel.h"
-#include "heart_blood/include/BloodCardView.h"
+#include "heart_blood/BloodCardView.h"
#include "traing/training_card/include/Training_CardView.h"
// #include "ApplistCardView.h"
#include "weather/include/WeatherControlView.h"