VIEW_UNCONNECTED,
//画布组件测试
VIEW_CANVAS_TEST,
+ //中移物联
+ VIEW_CHINA_MOBILEL_IOT,
/* -------------------------------------------------------------------------- */
/* ----------------------------------- 训练 ----------------------------------- */
VIEW_TRAINING, // 训练
void InitStressSlice(void);
void InitFatigueLevelSlice(void);
void InitUnconnectedSlice(void);
+ void InitChinamobileIOTSlice(void);
void InitCheckAbnormalSlice(void);
void InitCheckInvalidSlice(void);
void InitHeartResultSlice(void);
static constexpr const char *PNG_APPLIST_GOAL_IMAGE = APP_LIST_PATH "/sport.bin"; // 每日目标
static constexpr const char *PNG_APPLIST_VOICE_IMAGE = APP_LIST_PATH "/voice.bin"; // 声音
static constexpr const char *PNG_APPLIST_AIVOICE_IMAGE = APP_LIST_PATH "/aivoice.bin"; // AI Voice(人工智能语音)
+ static constexpr const char *PNG_APPLIST_WORKWYNC_IMAGE = APP_LIST_PATH "/worksync.bin"; //workwyvc(中移物联)
static constexpr const char *PNG_APPLIST_SLEEP_IMAGE = APP_LIST_PATH "/sleeping.bin"; // 睡眠
static constexpr const char *PNG_APPLIST_INFORMATION_IMAGE = APP_LIST_PATH "/information.bin"; // 计算器
static constexpr const char *PNG_APPLIST_MUSIC_IMAGE = APP_LIST_PATH "/music.bin"; // 音乐
static constexpr const char *PNG_APPLIST_GOAL_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/sport.bin"; // 每日目标
static constexpr const char *PNG_APPLIST_VOICE_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/voice.bin"; // 声音
static constexpr const char *PNG_APPLIST_AIVOICE_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/aivoice.bin"; // AI Voice(人工智能语音)
+ static constexpr const char *PNG_APPLIST_CHINAMOBIELIOT_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/worksync.bin"; // 中移物联
static constexpr const char *PNG_APPLIST_SLEEP_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/sleeping.bin"; // 睡眠
static constexpr const char *PNG_APPLIST_INFORMATION_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/information.bin"; // 计算器
static constexpr const char *PNG_APPLIST_MUSIC_IMAGE_BIG = APP_LIST_PATH "/applist_big_icon/music.bin"; // 音乐
/*画布组件测试*/
#include "canvastest/include/CanvasView.h"
#include "canvastest/include/CanvasPresenter.h"
+/*中移物联*/
+#include "chinamobilelIOT/include/ChinaMobilelIOTView.h"
+#include "chinamobilelIOT/include/ChinaMobilelIOTPresenter.h"
/* -------------------------------------------------------------------------- */
#include "secondaryfunction/include/SecondaryFunctionPresenter.h"
#include "secondaryfunction/include/SecondaryFunctionView.h"
{VIEW_SET_TIME_FORMAT, &NativeLauncher::InitSetTimeFormatSlice},
/*画布测试*/
{VIEW_CANVAS_TEST, &NativeLauncher::InitCanvasTestSlice},
+ /*中移物联*/
+ {VIEW_CHINA_MOBILEL_IOT, &NativeLauncher::InitChinamobileIOTSlice},
/* -------------------------------------------------------------------------- */
/*智能助手*/
{VIEW_OFFLINEVOICE, &NativeLauncher::InitOfflineVoice},
}
NativeAbility::GetInstance().AddSliceProxy(VIEW_CANVAS_TEST, t_View);
}
+ /*中移物联*/
+ void NativeLauncher::InitChinamobileIOTSlice(void)
+ {
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitChinamobileIOTSlice");
+ SliceProxy *t_View = new AbilitySliceProxy<ChinaMobilelIOTView, ChinaMobilelIOTPresenter>;
+ if (nullptr == t_View)
+ {
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "View is nullptr");
+ return;
+ }
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_CHINA_MOBILEL_IOT, t_View);
+ }
/*GPSnote*/
void NativeLauncher::InitTraingGPSNoteSlice(void)
#endif
#ifdef SUPPORT_ALIPAY_SEC
{VIEW_MAIN_ALIPAY, PNG_APPLIST_ALIPAY_IMAGE_BIG, PNG_APPLIST_ALIPAY_IMAGE, PNG_APPLIST_DEFAULT_IMG, "支付宝", STR_ALIPAY, nullptr, "Z", "ALIPAY"},
+#endif
+#if defined(CM_IOT)
+ {VIEW_CHINA_MOBILEL_IOT, PNG_APPLIST_CHINAMOBIELIOT_IMAGE_BIG, PNG_APPLIST_WORKWYNC_IMAGE, PNG_APPLIST_DEFAULT_IMG, "中移物联", STR_AI_FAMILY_MEALS, nullptr, "C", "China_Mobilel_IOT"},
#endif
{VIEW_MESSAGE, PNG_APPLIST_MESSAGE_IMAGE_BIG, PNG_APPLIST_MESSAGE_IMAGE, PNG_APPLIST_DEFAULT_IMG, "消息通知", STR_MESSAGE_NOTIFICATION, nullptr, "X", "MESSAGE_NOTIFICATION"},
{VIEW_COMPASS, PNG_APPLIST_COMPASS_IMAGE_BIG, PNG_APPLIST_COMPASS_IMAGE, PNG_APPLIST_DEFAULT_IMG, "指南针", STR_COMPASS, nullptr, "Z", "COMPASS"},
if (CalibrationFlag == 1) // 第一次校准成功
{
CalibrationFlag++;
+ #if defined(BOARD_W9)
ConfigModel::GetInstance()->set_condigData_Int(ConfigModel::CONFIGMODEL_ITEM_BP_CALIBRATION_FIRST_TIME, configValue);
+ #endif
}
else // 第二次校准成功,校准完成
{
+ #if defined(BOARD_W9)
ConfigModel::GetInstance()->set_condigData_Int(ConfigModel::CONFIGMODEL_ITEM_BP_CALIBRATION_SECOND_TIME, configValue);
+ #endif
CalibrationFlag = 0;
}
}
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa5bed1b6400410bbcc55657f2e3d13c93487cdfa1bdf9c56a79b593947697dd
+size 44056
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:63e15c8a7004a1957b4771f7ab5e8eddbb57c98f27634812da8ef606fbe6175c
-size 22424
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:4b6e353d37c4ebb4888b8dff3b303099d5dfeaf0b279324267871d5587054c93
-size 15384
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:d268fe92e6deba5dceddf831b48aede90b44d868fa492de8fd4457ad630b9229
+size 6824
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:4445cfb51c3f7b2a624fd1e2165d6b6f157f5390bb6ce5f30a3424b9a231c20a
+size 5544
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:605e124c050239fc11a9d866c037da02427e157ac9e6ebfe229bce6ad16bee16
+size 20440
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:61e19595478976d9aac704f7f5ccd4284126f16a842ceef1c2256485aabd3dda
+size 32584
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:c8e07ae163f6dea4715827f87cd225ee7e5a19137a45140c2aa64c90db5e807f
+size 48264
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:e5c3290d7d2100683c4cd2d4a9a46e1c63a8ab7e3a2e708d647a99e4b4efb5a6
+size 56344
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:b7c23e3d569a0a25c008825d4550b701319d717f02c4a4b5af810138fe3f2e1f
+size 6168
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:d96f919ce55670d69a0443efee47cf902fc181d62c5369b703b2dfd01d176b58
+size 11288
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:856f395bc24217981fd1a3627e832e9849edf14b43fab2f27c1184c369dbd4ec
+size 56344
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa5bed1b6400410bbcc55657f2e3d13c93487cdfa1bdf9c56a79b593947697dd
+size 44056
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:0cc1781537d080963a4d2ce1375bf6d2c87716b8dfd1bf311025bb35be770225
+size 56344
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:30d9c26fe967d1e1fe631e8439f186a0680235cedce37d41654db7fa7bce6e4d
+size 11640
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d77248be476d4cf85b0a997d93b2988fbd5d0ef20e917305314ec8d3e69d149
+size 2264
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:5d8530812cfec696a53bcb51b8ac89e76b496785d0a85a12268d4493cfc66e66
+size 11288
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:ad802796ae250f378a19cf3b2a62af75d8901f9746ec62fb76b09bc4845d1e65
+size 50808
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:e7ce044679ff9db97e957ea9dccc1854ee35ead8c593dea02eb5d535dfd85b8a
+size 56344