void uapi_add_bind_vote(void);
void uapi_remove_bind_vote(void);
+#ifdef BLE_INSTRUCT
+void ble_watch_first_paired(void);
+#endif
+
#ifdef __cplusplus
#if __cplusplus
}
}
}
+ void HandWatchFirstTimePaired(void)
+ {
+ SendMsgToUIService(UI_HAND_WATCH_FIRST_PAIRED, 0, nullptr, 0);
+ }
+
+
+
#ifdef __cplusplus
extern "C"
{
#endif
#include "input_app.h"
+
+#ifdef BLE_INSTRUCT
+ #include "bleEvent.h"
+ #include "bleInstruct.h"
+ void ble_watch_first_paired(void)
+ {
+ bleInstruct_t.hand_watch_first_time_Paired = HandWatchFirstTimePaired;
+ }
+#endif
+
#ifdef __cplusplus
}
#endif
// swipe_->HorAdd(DetailView);\r
// swipe_->VerAdd(DetailView, UICrossView::VPage::DOWN_PAGE);\r
\r
- swipe_->SetHorCurrentPage(Control_Card::CONTROL); // 设置进入索引 [数据]\r
+ swipe_->SetHorCurrentPage(Control_Card::DATA); // 设置进入索引 [数据]\r
\r
\r
RootView::GetInstance()->SetOnKeyActListener(presenter_);\r
circleProgress->SetCenterPosition(235, 235);
circleProgress->SetRadius(215);
circleProgress->SetStartAngle(215);
- circleProgress->SetEndAngle(505);
+ circleProgress->SetEndAngle(505 + 100);
circleProgress->SetCapType(CAP_ROUND);
- circleProgress->SetValue(0);
- Add(circleProgress);
+ circleProgress->SetValue(100);
+
// 初始化Lable
UIResourceTextId sport_id = TraingModel::GetInstance()->GetSportEvent();
Add(heartlabel);
Add(ubpmlabel);
+ Add(circleProgress);
+
return true;
#if 0
#include "SleepModel.h"
#include "PlayersModel.h"
#include "app_store.h"
+#include "rebootandshutdown/include/RebootAndShutdownModelC.h"
void ble_instruct_init(void)
{
ble_app_store_init();
+ ble_watch_first_paired();
+
}
\ No newline at end of file